/** * Retrieves the ZoneObjectData passed into the constructor * * @return Simulated response */ public ZoneObjectData getOutput() { return ZoneObjectHelper.fromMap(outputMap, "Zone"); }
/** * 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")); } }