コード例 #1
0
 /**
  * Retrieves the ZoneObjectData passed into the constructor
  *
  * @return Simulated response
  */
 public ZoneObjectData getOutput() {
   return ZoneObjectHelper.fromMap(outputMap, "Zone");
 }
コード例 #2
0
 /**
  * Constructor to create a ZoneGetNoOpRequest
  *
  * @param id Unique request name
  * @param noOpIn Simulated response object
  */
 public ZoneGetNoOpRequest(String id, ZoneObjectData noOpIn) {
   super(id, "ZoneGetNoOpRequest");
   if (noOpIn != null) {
     addInput("Zone", ZoneObjectHelper.toMap(noOpIn, new HashMap(), "Zone").get("Zone"));
   }
 }