/** * Constructor to create a DepartmentCreateNoOpRequest * * @param id Unique request name * @param noOpIn Simulated response object */ public DepartmentCreateNoOpRequest(String id, DepartmentObjectData noOpIn) { super(id, "DepartmentCreateNoOpRequest"); if (noOpIn != null) { addInput( "Department", DepartmentObjectHelper.toMap(noOpIn, new HashMap(), "Department").get("Department")); } }
/** * Retrieves the DepartmentObjectData passed into the constructor * * @return Simulated response */ public DepartmentObjectData getOutput() { return DepartmentObjectHelper.fromMap(outputMap, "Department"); }