Esempio n. 1
0
 /**
  * Constructor to create a ItemCreateRequest
  *
  * @param id Unique request name
  * @param ItemCreateIn ItemObjectData for ItemCreateRequest
  */
 @JsonCreator
 public ItemCreateRequest(
     @JsonProperty("RequestId") String id, @JsonProperty("Item") ItemObjectData ItemCreateIn) {
   super(id, "ItemCreate");
   if (ItemCreateIn != null) {
     addInput("Item", ItemObjectHelper.toMap(ItemCreateIn, new HashMap(), "Item").get("Item"));
   }
 }
 /**
  * Retrieves the ItemObjectData passed into the constructor
  *
  * @return Simulated response
  */
 public ItemObjectData getOutput() {
   return ItemObjectHelper.fromMap(outputMap, "Item");
 }
 /**
  * Constructor to create a ItemCreateNoOpRequest
  *
  * @param id Unique request name
  * @param noOpIn Simulated response object
  */
 public ItemCreateNoOpRequest(String id, ItemObjectData noOpIn) {
   super(id, "ItemCreateNoOpRequest");
   if (noOpIn != null) {
     addInput("Item", ItemObjectHelper.toMap(noOpIn, new HashMap(), "Item").get("Item"));
   }
 }