/* Options: Date: 2024-12-29 02:27:52 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: CRMContactCreateMultipleRequest.* //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/Contact/Create/Multiple", Verbs="POST") public static class CRMContactCreateMultipleRequest implements IReturn { public ArrayList contacts = null; public ArrayList getContacts() { return contacts; } public CRMContactCreateMultipleRequest setContacts(ArrayList value) { this.contacts = value; return this; } private static Object responseType = ResponseStatus.class; public Object getResponseType() { return responseType; } } @Route(Path="/DynamicsCRM/Contact/Create", Verbs="POST") public static class CRMContactCreateRequest implements IReturn { public Integer regent_id = null; public String first_name = null; public String last_name = null; public String middle_name = null; public String preferred_name = null; public String prefix = null; public String addressee = null; public String primary_salutation = null; public String former_name = null; public String spouse_name = null; public Boolean spouse_is_main_contact = null; public String addr1 = null; public String addr2 = null; public String city = null; public String state = null; public String country = null; public String code = null; public Date dob = null; public Date deceased_date = null; public String citizenship = null; public String citizenship_other = null; public String permanent_resident = null; public String denomination = null; public String connection_to_regent = null; public String student_segment = null; public String reason_added = null; public String gender = null; public String marital_status = null; public Boolean financial_aid_received = null; public Boolean is_applicant = null; public String solicitation_method = null; public String solicitation_exceptions = null; public Boolean campaign_monitor_optin = null; public Boolean campaign_monitor_suppressed = null; public String campaign_monitor_lists = null; public String email = null; public String email_secondary = null; public String phone_home = null; public String phone_bus = null; public String phone_cell = null; public Boolean no_mail = null; public Boolean no_email = null; public Boolean no_bulk_email = null; public Boolean no_phone = null; public Boolean no_marketing_materials = null; public Boolean prefers_email = null; public Boolean prefers_phone = null; public Date last_credit_class = null; public Date last_audit_class = null; public Date last_oncampus_class = null; public Date last_distance_education_class = null; public Date last_evening_weekend_class = null; public Date last_summer_class = null; public Date last_marketplace_class = null; public Date last_anglican_studies_class = null; public String image_base64 = null; public String owning_username = null; public Integer getRegentId() { return regent_id; } public CRMContactCreateRequest setRegentId(Integer value) { this.regent_id = value; return this; } public String getFirstName() { return first_name; } public CRMContactCreateRequest setFirstName(String value) { this.first_name = value; return this; } public String getLastName() { return last_name; } public CRMContactCreateRequest setLastName(String value) { this.last_name = value; return this; } public String getMiddleName() { return middle_name; } public CRMContactCreateRequest setMiddleName(String value) { this.middle_name = value; return this; } public String getPreferredName() { return preferred_name; } public CRMContactCreateRequest setPreferredName(String value) { this.preferred_name = value; return this; } public String getPrefix() { return prefix; } public CRMContactCreateRequest setPrefix(String value) { this.prefix = value; return this; } public String getAddressee() { return addressee; } public CRMContactCreateRequest setAddressee(String value) { this.addressee = value; return this; } public String getPrimarySalutation() { return primary_salutation; } public CRMContactCreateRequest setPrimarySalutation(String value) { this.primary_salutation = value; return this; } public String getFormerName() { return former_name; } public CRMContactCreateRequest setFormerName(String value) { this.former_name = value; return this; } public String getSpouseName() { return spouse_name; } public CRMContactCreateRequest setSpouseName(String value) { this.spouse_name = value; return this; } public Boolean isSpouseIsMainContact() { return spouse_is_main_contact; } public CRMContactCreateRequest setSpouseIsMainContact(Boolean value) { this.spouse_is_main_contact = value; return this; } public String getAddr1() { return addr1; } public CRMContactCreateRequest setAddr1(String value) { this.addr1 = value; return this; } public String getAddr2() { return addr2; } public CRMContactCreateRequest setAddr2(String value) { this.addr2 = value; return this; } public String getCity() { return city; } public CRMContactCreateRequest setCity(String value) { this.city = value; return this; } public String getState() { return state; } public CRMContactCreateRequest setState(String value) { this.state = value; return this; } public String getCountry() { return country; } public CRMContactCreateRequest setCountry(String value) { this.country = value; return this; } public String getCode() { return code; } public CRMContactCreateRequest setCode(String value) { this.code = value; return this; } public Date getDob() { return dob; } public CRMContactCreateRequest setDob(Date value) { this.dob = value; return this; } public Date getDeceasedDate() { return deceased_date; } public CRMContactCreateRequest setDeceasedDate(Date value) { this.deceased_date = value; return this; } public String getCitizenship() { return citizenship; } public CRMContactCreateRequest setCitizenship(String value) { this.citizenship = value; return this; } public String getCitizenshipOther() { return citizenship_other; } public CRMContactCreateRequest setCitizenshipOther(String value) { this.citizenship_other = value; return this; } public String getPermanentResident() { return permanent_resident; } public CRMContactCreateRequest setPermanentResident(String value) { this.permanent_resident = value; return this; } public String getDenomination() { return denomination; } public CRMContactCreateRequest setDenomination(String value) { this.denomination = value; return this; } public String getConnectionToRegent() { return connection_to_regent; } public CRMContactCreateRequest setConnectionToRegent(String value) { this.connection_to_regent = value; return this; } public String getStudentSegment() { return student_segment; } public CRMContactCreateRequest setStudentSegment(String value) { this.student_segment = value; return this; } public String getReasonAdded() { return reason_added; } public CRMContactCreateRequest setReasonAdded(String value) { this.reason_added = value; return this; } public String getGender() { return gender; } public CRMContactCreateRequest setGender(String value) { this.gender = value; return this; } public String getMaritalStatus() { return marital_status; } public CRMContactCreateRequest setMaritalStatus(String value) { this.marital_status = value; return this; } public Boolean isFinancialAidReceived() { return financial_aid_received; } public CRMContactCreateRequest setFinancialAidReceived(Boolean value) { this.financial_aid_received = value; return this; } public Boolean getIsApplicant() { return is_applicant; } public CRMContactCreateRequest setIsApplicant(Boolean value) { this.is_applicant = value; return this; } public String getSolicitationMethod() { return solicitation_method; } public CRMContactCreateRequest setSolicitationMethod(String value) { this.solicitation_method = value; return this; } public String getSolicitationExceptions() { return solicitation_exceptions; } public CRMContactCreateRequest setSolicitationExceptions(String value) { this.solicitation_exceptions = value; return this; } public Boolean isCampaignMonitorOptin() { return campaign_monitor_optin; } public CRMContactCreateRequest setCampaignMonitorOptin(Boolean value) { this.campaign_monitor_optin = value; return this; } public Boolean isCampaignMonitorSuppressed() { return campaign_monitor_suppressed; } public CRMContactCreateRequest setCampaignMonitorSuppressed(Boolean value) { this.campaign_monitor_suppressed = value; return this; } public String getCampaignMonitorLists() { return campaign_monitor_lists; } public CRMContactCreateRequest setCampaignMonitorLists(String value) { this.campaign_monitor_lists = value; return this; } public String getEmail() { return email; } public CRMContactCreateRequest setEmail(String value) { this.email = value; return this; } public String getEmailSecondary() { return email_secondary; } public CRMContactCreateRequest setEmailSecondary(String value) { this.email_secondary = value; return this; } public String getPhoneHome() { return phone_home; } public CRMContactCreateRequest setPhoneHome(String value) { this.phone_home = value; return this; } public String getPhoneBus() { return phone_bus; } public CRMContactCreateRequest setPhoneBus(String value) { this.phone_bus = value; return this; } public String getPhoneCell() { return phone_cell; } public CRMContactCreateRequest setPhoneCell(String value) { this.phone_cell = value; return this; } public Boolean isNoMail() { return no_mail; } public CRMContactCreateRequest setNoMail(Boolean value) { this.no_mail = value; return this; } public Boolean isNoEmail() { return no_email; } public CRMContactCreateRequest setNoEmail(Boolean value) { this.no_email = value; return this; } public Boolean isNoBulkEmail() { return no_bulk_email; } public CRMContactCreateRequest setNoBulkEmail(Boolean value) { this.no_bulk_email = value; return this; } public Boolean isNoPhone() { return no_phone; } public CRMContactCreateRequest setNoPhone(Boolean value) { this.no_phone = value; return this; } public Boolean isNoMarketingMaterials() { return no_marketing_materials; } public CRMContactCreateRequest setNoMarketingMaterials(Boolean value) { this.no_marketing_materials = value; return this; } public Boolean isPrefersEmail() { return prefers_email; } public CRMContactCreateRequest setPrefersEmail(Boolean value) { this.prefers_email = value; return this; } public Boolean isPrefersPhone() { return prefers_phone; } public CRMContactCreateRequest setPrefersPhone(Boolean value) { this.prefers_phone = value; return this; } public Date getLastCreditClass() { return last_credit_class; } public CRMContactCreateRequest setLastCreditClass(Date value) { this.last_credit_class = value; return this; } public Date getLastAuditClass() { return last_audit_class; } public CRMContactCreateRequest setLastAuditClass(Date value) { this.last_audit_class = value; return this; } public Date getLastOncampusClass() { return last_oncampus_class; } public CRMContactCreateRequest setLastOncampusClass(Date value) { this.last_oncampus_class = value; return this; } public Date getLastDistanceEducationClass() { return last_distance_education_class; } public CRMContactCreateRequest setLastDistanceEducationClass(Date value) { this.last_distance_education_class = value; return this; } public Date getLastEveningWeekendClass() { return last_evening_weekend_class; } public CRMContactCreateRequest setLastEveningWeekendClass(Date value) { this.last_evening_weekend_class = value; return this; } public Date getLastSummerClass() { return last_summer_class; } public CRMContactCreateRequest setLastSummerClass(Date value) { this.last_summer_class = value; return this; } public Date getLastMarketplaceClass() { return last_marketplace_class; } public CRMContactCreateRequest setLastMarketplaceClass(Date value) { this.last_marketplace_class = value; return this; } public Date getLastAnglicanStudiesClass() { return last_anglican_studies_class; } public CRMContactCreateRequest setLastAnglicanStudiesClass(Date value) { this.last_anglican_studies_class = value; return this; } public String getImageBase64() { return image_base64; } public CRMContactCreateRequest setImageBase64(String value) { this.image_base64 = value; return this; } public String getOwningUsername() { return owning_username; } public CRMContactCreateRequest setOwningUsername(String value) { this.owning_username = 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; } } }