/* Options: Date: 2024-10-06 10:33:35 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://data.regent-college.edu //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CRMConnectionCreateRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/DynamicsCRM/Connection/Create", Verbs="POST") public static class CRMConnectionCreateRequest implements IReturn { public Integer first_regent_id = null; public Integer second_regent_id = null; public Boolean is_contact_to_account = null; public Boolean is_contact_to_contact = null; public Boolean is_account_to_account = null; public Boolean is_account_to_contact = null; public String first_role = null; public String second_role = null; public String connection_category = null; public String description = null; public Integer getFirstRegentId() { return first_regent_id; } public CRMConnectionCreateRequest setFirstRegentId(Integer value) { this.first_regent_id = value; return this; } public Integer getSecondRegentId() { return second_regent_id; } public CRMConnectionCreateRequest setSecondRegentId(Integer value) { this.second_regent_id = value; return this; } public Boolean getIsContactToAccount() { return is_contact_to_account; } public CRMConnectionCreateRequest setIsContactToAccount(Boolean value) { this.is_contact_to_account = value; return this; } public Boolean getIsContactToContact() { return is_contact_to_contact; } public CRMConnectionCreateRequest setIsContactToContact(Boolean value) { this.is_contact_to_contact = value; return this; } public Boolean getIsAccountToAccount() { return is_account_to_account; } public CRMConnectionCreateRequest setIsAccountToAccount(Boolean value) { this.is_account_to_account = value; return this; } public Boolean getIsAccountToContact() { return is_account_to_contact; } public CRMConnectionCreateRequest setIsAccountToContact(Boolean value) { this.is_account_to_contact = value; return this; } public String getFirstRole() { return first_role; } public CRMConnectionCreateRequest setFirstRole(String value) { this.first_role = value; return this; } public String getSecondRole() { return second_role; } public CRMConnectionCreateRequest setSecondRole(String value) { this.second_role = value; return this; } public String getConnectionCategory() { return connection_category; } public CRMConnectionCreateRequest setConnectionCategory(String value) { this.connection_category = value; return this; } public String getDescription() { return description; } public CRMConnectionCreateRequest setDescription(String value) { this.description = value; return this; } private static Object responseType = ResponseStatus.class; public Object getResponseType() { return responseType; } } @DataContract public static class ResponseStatus { @DataMember(Order=1) public String errorCode = null; @DataMember(Order=2) public String message = null; @DataMember(Order=3) public String stackTrace = null; @DataMember(Order=4) public ArrayList errors = null; @DataMember(Order=5) public HashMap meta = null; public String getErrorCode() { return errorCode; } public ResponseStatus setErrorCode(String value) { this.errorCode = value; return this; } public String getMessage() { return message; } public ResponseStatus setMessage(String value) { this.message = value; return this; } public String getStackTrace() { return stackTrace; } public ResponseStatus setStackTrace(String value) { this.stackTrace = value; return this; } public ArrayList getErrors() { return errors; } public ResponseStatus setErrors(ArrayList value) { this.errors = value; return this; } public HashMap getMeta() { return meta; } public ResponseStatus setMeta(HashMap value) { this.meta = value; return this; } } }