/* Options: Date: 2024-12-29 02:14:15 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: CRMActivityCreateMultipleRequest.* //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/Activity/Create/Multiple", Verbs="POST") public static class CRMActivityCreateMultipleRequest implements IReturn { public Boolean is_contact = null; public Boolean is_account = null; public Boolean is_event = null; public Boolean is_email = null; public Boolean is_meeting = null; public Boolean is_phonecall = null; public Boolean is_letter = null; public Boolean is_task = null; public String related_username = null; public ArrayList activities = null; public Boolean getIsContact() { return is_contact; } public CRMActivityCreateMultipleRequest setIsContact(Boolean value) { this.is_contact = value; return this; } public Boolean getIsAccount() { return is_account; } public CRMActivityCreateMultipleRequest setIsAccount(Boolean value) { this.is_account = value; return this; } public Boolean getIsEvent() { return is_event; } public CRMActivityCreateMultipleRequest setIsEvent(Boolean value) { this.is_event = value; return this; } public Boolean getIsEmail() { return is_email; } public CRMActivityCreateMultipleRequest setIsEmail(Boolean value) { this.is_email = value; return this; } public Boolean getIsMeeting() { return is_meeting; } public CRMActivityCreateMultipleRequest setIsMeeting(Boolean value) { this.is_meeting = value; return this; } public Boolean getIsPhonecall() { return is_phonecall; } public CRMActivityCreateMultipleRequest setIsPhonecall(Boolean value) { this.is_phonecall = value; return this; } public Boolean getIsLetter() { return is_letter; } public CRMActivityCreateMultipleRequest setIsLetter(Boolean value) { this.is_letter = value; return this; } public Boolean getIsTask() { return is_task; } public CRMActivityCreateMultipleRequest setIsTask(Boolean value) { this.is_task = value; return this; } public String getRelatedUsername() { return related_username; } public CRMActivityCreateMultipleRequest setRelatedUsername(String value) { this.related_username = value; return this; } public ArrayList getActivities() { return activities; } public CRMActivityCreateMultipleRequest setActivities(ArrayList value) { this.activities = value; return this; } private static Object responseType = ResponseStatus.class; public Object getResponseType() { return responseType; } } @Route(Path="/DynamicsCRM/Activity/Create", Verbs="POST") public static class CRMActivityCreateRequest implements IReturn { public Integer regent_id = null; public String lead_guid = null; public Integer import_id = null; public String subject = null; public String description = null; public String phone_email = null; public ArrayList email_cc = null; public String gmail_thread_index = null; public String related_username = null; public Date scheduled_start = null; public Date scheduled_end = null; public String event_location = null; public String event_type = null; public String event_participation = null; public Boolean is_completed = null; public Boolean is_contact = null; public Boolean is_lead = null; public Boolean is_account = null; public Boolean is_email = null; public Boolean is_letter = null; public Boolean is_phonecall = null; public Boolean is_task = null; public Boolean is_meeting = null; public Boolean is_event = null; public Date date_of_occurrence = null; public Date added_date = null; public Integer getRegentId() { return regent_id; } public CRMActivityCreateRequest setRegentId(Integer value) { this.regent_id = value; return this; } public String getLeadGuid() { return lead_guid; } public CRMActivityCreateRequest setLeadGuid(String value) { this.lead_guid = value; return this; } public Integer getImportId() { return import_id; } public CRMActivityCreateRequest setImportId(Integer value) { this.import_id = value; return this; } public String getSubject() { return subject; } public CRMActivityCreateRequest setSubject(String value) { this.subject = value; return this; } public String getDescription() { return description; } public CRMActivityCreateRequest setDescription(String value) { this.description = value; return this; } public String getPhoneEmail() { return phone_email; } public CRMActivityCreateRequest setPhoneEmail(String value) { this.phone_email = value; return this; } public ArrayList getEmailCc() { return email_cc; } public CRMActivityCreateRequest setEmailCc(ArrayList value) { this.email_cc = value; return this; } public String getGmailThreadIndex() { return gmail_thread_index; } public CRMActivityCreateRequest setGmailThreadIndex(String value) { this.gmail_thread_index = value; return this; } public String getRelatedUsername() { return related_username; } public CRMActivityCreateRequest setRelatedUsername(String value) { this.related_username = value; return this; } public Date getScheduledStart() { return scheduled_start; } public CRMActivityCreateRequest setScheduledStart(Date value) { this.scheduled_start = value; return this; } public Date getScheduledEnd() { return scheduled_end; } public CRMActivityCreateRequest setScheduledEnd(Date value) { this.scheduled_end = value; return this; } public String getEventLocation() { return event_location; } public CRMActivityCreateRequest setEventLocation(String value) { this.event_location = value; return this; } public String getEventType() { return event_type; } public CRMActivityCreateRequest setEventType(String value) { this.event_type = value; return this; } public String getEventParticipation() { return event_participation; } public CRMActivityCreateRequest setEventParticipation(String value) { this.event_participation = value; return this; } public Boolean getIsCompleted() { return is_completed; } public CRMActivityCreateRequest setIsCompleted(Boolean value) { this.is_completed = value; return this; } public Boolean getIsContact() { return is_contact; } public CRMActivityCreateRequest setIsContact(Boolean value) { this.is_contact = value; return this; } public Boolean getIsLead() { return is_lead; } public CRMActivityCreateRequest setIsLead(Boolean value) { this.is_lead = value; return this; } public Boolean getIsAccount() { return is_account; } public CRMActivityCreateRequest setIsAccount(Boolean value) { this.is_account = value; return this; } public Boolean getIsEmail() { return is_email; } public CRMActivityCreateRequest setIsEmail(Boolean value) { this.is_email = value; return this; } public Boolean getIsLetter() { return is_letter; } public CRMActivityCreateRequest setIsLetter(Boolean value) { this.is_letter = value; return this; } public Boolean getIsPhonecall() { return is_phonecall; } public CRMActivityCreateRequest setIsPhonecall(Boolean value) { this.is_phonecall = value; return this; } public Boolean getIsTask() { return is_task; } public CRMActivityCreateRequest setIsTask(Boolean value) { this.is_task = value; return this; } public Boolean getIsMeeting() { return is_meeting; } public CRMActivityCreateRequest setIsMeeting(Boolean value) { this.is_meeting = value; return this; } public Boolean getIsEvent() { return is_event; } public CRMActivityCreateRequest setIsEvent(Boolean value) { this.is_event = value; return this; } public Date getDateOfOccurrence() { return date_of_occurrence; } public CRMActivityCreateRequest setDateOfOccurrence(Date value) { this.date_of_occurrence = value; return this; } public Date getAddedDate() { return added_date; } public CRMActivityCreateRequest setAddedDate(Date value) { this.added_date = 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; } } }