/** * 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")); } }
/** * 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")); } }