/** * Constructor to create a ContactUpdateNoOpRequest * * @param id Unique request name * @param noOpIn Simulated response object */ public ContactUpdateNoOpRequest(String id, ContactObjectData noOpIn) { super(id, "ContactUpdateNoOpRequest"); if (noOpIn != null) { addInput( "Contact", ContactObjectHelper.toMap(noOpIn, new HashMap(), "Contact").get("Contact")); } }
/** * Retrieves the ContactObjectData passed into the constructor * * @return Simulated response */ public ContactObjectData getOutput() { return ContactObjectHelper.fromMap(outputMap, "Contact"); }