コード例 #1
0
 /**
  * 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"));
   }
 }
コード例 #2
0
 /**
  * Retrieves the DepartmentObjectData passed into the constructor
  *
  * @return Simulated response
  */
 public DepartmentObjectData getOutput() {
   return DepartmentObjectHelper.fromMap(outputMap, "Department");
 }