/* Options: Date: 2024-12-29 03:39:09 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: CRMSubscriptionUpsertRequest.* //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/Subscription/Upsert", Verbs="POST") public static class CRMSubscriptionUpsertRequest implements IReturn { public Integer regent_id = null; public String name = null; public Boolean optin = null; public Boolean optout = null; public Boolean is_contact = null; public Boolean is_account = null; public Date added_date = null; public Integer getRegentId() { return regent_id; } public CRMSubscriptionUpsertRequest setRegentId(Integer value) { this.regent_id = value; return this; } public String getName() { return name; } public CRMSubscriptionUpsertRequest setName(String value) { this.name = value; return this; } public Boolean isOptin() { return optin; } public CRMSubscriptionUpsertRequest setOptin(Boolean value) { this.optin = value; return this; } public Boolean isOptout() { return optout; } public CRMSubscriptionUpsertRequest setOptout(Boolean value) { this.optout = value; return this; } public Boolean getIsContact() { return is_contact; } public CRMSubscriptionUpsertRequest setIsContact(Boolean value) { this.is_contact = value; return this; } public Boolean getIsAccount() { return is_account; } public CRMSubscriptionUpsertRequest setIsAccount(Boolean value) { this.is_account = value; return this; } public Date getAddedDate() { return added_date; } public CRMSubscriptionUpsertRequest 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; } } }