Пример #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"));
   }
 }