예제 #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"));
   }
 }
예제 #2
0
 /**
  * Retrieves the ItemObjectData passed into the constructor
  *
  * @return Simulated response
  */
 public ItemObjectData getOutput() {
   return ItemObjectHelper.fromMap(outputMap, "Item");
 }
예제 #3
0
 /**
  * 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"));
   }
 }