/* Options: Date: 2025-10-28 01:24:44 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SaveCampaignActionClientCustomForm.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/campaign/inbox/customform", Verbs="PUT POST") public static class SaveCampaignActionClientCustomForm implements IReturn { public UUID CommsGuid = null; public Long CampaignActionsRequestsId = null; public HashMap CustomFormResults = null; public UUID getCommsGuid() { return CommsGuid; } public SaveCampaignActionClientCustomForm setCommsGuid(UUID value) { this.CommsGuid = value; return this; } public Long getCampaignActionsRequestsId() { return CampaignActionsRequestsId; } public SaveCampaignActionClientCustomForm setCampaignActionsRequestsId(Long value) { this.CampaignActionsRequestsId = value; return this; } public HashMap getCustomFormResults() { return CustomFormResults; } public SaveCampaignActionClientCustomForm setCustomFormResults(HashMap value) { this.CustomFormResults = value; return this; } private static Object responseType = SaveCampaignActionClientFormResponse.class; public Object getResponseType() { return responseType; } } public static class SaveCampaignActionClientFormResponse { public CampaignActionsFormResponses CampaignActionsFormResponses = null; public ResponseStatus ResponseStatus = null; public CampaignActionsFormResponses getCampaignActionsFormResponses() { return CampaignActionsFormResponses; } public SaveCampaignActionClientFormResponse setCampaignActionsFormResponses(CampaignActionsFormResponses value) { this.CampaignActionsFormResponses = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public SaveCampaignActionClientFormResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class CampaignActionFile { public String Name = null; public String FileType = null; public String FileSize = null; public String Extension = null; public String UploadUrl = null; public String getName() { return Name; } public CampaignActionFile setName(String value) { this.Name = value; return this; } public String getFileType() { return FileType; } public CampaignActionFile setFileType(String value) { this.FileType = value; return this; } public String getFileSize() { return FileSize; } public CampaignActionFile setFileSize(String value) { this.FileSize = value; return this; } public String getExtension() { return Extension; } public CampaignActionFile setExtension(String value) { this.Extension = value; return this; } public String getUploadUrl() { return UploadUrl; } public CampaignActionFile setUploadUrl(String value) { this.UploadUrl = value; return this; } } public static class Segments { @DataMember(Order=1) @Required() public Long Id = null; @DataMember(Order=2) @Required() @References(Type=Tenants.class) public Integer TenantsId = null; @DataMember(Order=3) @Required() public String Name = null; @DataMember(Order=4) public Boolean IsCustom = null; public Long getId() { return Id; } public Segments setId(Long value) { this.Id = value; return this; } public Integer getTenantsId() { return TenantsId; } public Segments setTenantsId(Integer value) { this.TenantsId = value; return this; } public String getName() { return Name; } public Segments setName(String value) { this.Name = value; return this; } public Boolean getIsCustom() { return IsCustom; } public Segments setIsCustom(Boolean value) { this.IsCustom = value; return this; } } public static class Customers { @DataMember(Order=1) @Required() public Long Id = null; @DataMember(Order=2) @Required() @References(Type=Tenants.class) public Integer TenantsId = null; @DataMember(Order=3) @References(Type=AppUser.class) public Integer UserAuthId = null; @DataMember(Order=4) @Required() @References(Type=Segments.class) public Long SegmentsId = null; @DataMember(Order=5) @References(Type=Companies.class) public Long CompaniesId = null; @DataMember(Order=6) public Integer CurrenciesId = null; @DataMember(Order=7) public String Address = null; @DataMember(Order=8) public Integer Age = null; @DataMember(Order=9) public String City = null; @DataMember(Order=10) public String ContactNumber = null; @DataMember(Order=11) public String Email = null; @DataMember(Order=12) public String EthnicGroup = null; @DataMember(Order=13) public String FirstName = null; @DataMember(Order=14) public String Gender = null; @DataMember(Order=15) public String HomeLanguage = null; @DataMember(Order=16) public String IdNumber = null; @DataMember(Order=17) public String LastName = null; @DataMember(Order=18) public String PostalCode = null; @DataMember(Order=19) public String Region = null; @DataMember(Order=20) public String Suburb = null; @DataMember(Order=21) public String UniqueIdentifier = null; @DataMember(Order=22) public Date BirthDate = null; @DataMember(Order=23) public HashMap Classifications = null; @DataMember(Order=24) public String Country = null; @DataMember(Order=25) public String PassportNumber = null; @DataMember(Order=26) @Required() @References(Type=StatusCodes.class) public Long StatusCodesId = null; @DataMember(Order=27) public String Reason = null; @DataMember(Order=28) public Boolean VulnerabilityFlag = null; @DataMember(Order=29) public HashMap Meta = null; @DataMember(Order=31) @Computed() public UUID PublicAccessGuid = null; @DataMember(Order=32) public String CustomField1 = null; @DataMember(Order=33) public String CustomField2 = null; @DataMember(Order=34) public String CustomField3 = null; @DataMember(Order=35) public String CustomField4 = null; @DataMember(Order=36) public String CustomField5 = null; @DataMember(Order=37) public String CustomField6 = null; @DataMember(Order=38) public String CustomField7 = null; @DataMember(Order=39) public String CustomField8 = null; @DataMember(Order=40) public String CustomField9 = null; @DataMember(Order=41) public String CustomField10 = null; public Long getId() { return Id; } public Customers setId(Long value) { this.Id = value; return this; } public Integer getTenantsId() { return TenantsId; } public Customers setTenantsId(Integer value) { this.TenantsId = value; return this; } public Integer getUserAuthId() { return UserAuthId; } public Customers setUserAuthId(Integer value) { this.UserAuthId = value; return this; } public Long getSegmentsId() { return SegmentsId; } public Customers setSegmentsId(Long value) { this.SegmentsId = value; return this; } public Long getCompaniesId() { return CompaniesId; } public Customers setCompaniesId(Long value) { this.CompaniesId = value; return this; } public Integer getCurrenciesId() { return CurrenciesId; } public Customers setCurrenciesId(Integer value) { this.CurrenciesId = value; return this; } public String getAddress() { return Address; } public Customers setAddress(String value) { this.Address = value; return this; } public Integer getAge() { return Age; } public Customers setAge(Integer value) { this.Age = value; return this; } public String getCity() { return City; } public Customers setCity(String value) { this.City = value; return this; } public String getContactNumber() { return ContactNumber; } public Customers setContactNumber(String value) { this.ContactNumber = value; return this; } public String getEmail() { return Email; } public Customers setEmail(String value) { this.Email = value; return this; } public String getEthnicGroup() { return EthnicGroup; } public Customers setEthnicGroup(String value) { this.EthnicGroup = value; return this; } public String getFirstName() { return FirstName; } public Customers setFirstName(String value) { this.FirstName = value; return this; } public String getGender() { return Gender; } public Customers setGender(String value) { this.Gender = value; return this; } public String getHomeLanguage() { return HomeLanguage; } public Customers setHomeLanguage(String value) { this.HomeLanguage = value; return this; } public String getIdNumber() { return IdNumber; } public Customers setIdNumber(String value) { this.IdNumber = value; return this; } public String getLastName() { return LastName; } public Customers setLastName(String value) { this.LastName = value; return this; } public String getPostalCode() { return PostalCode; } public Customers setPostalCode(String value) { this.PostalCode = value; return this; } public String getRegion() { return Region; } public Customers setRegion(String value) { this.Region = value; return this; } public String getSuburb() { return Suburb; } public Customers setSuburb(String value) { this.Suburb = value; return this; } public String getUniqueIdentifier() { return UniqueIdentifier; } public Customers setUniqueIdentifier(String value) { this.UniqueIdentifier = value; return this; } public Date getBirthDate() { return BirthDate; } public Customers setBirthDate(Date value) { this.BirthDate = value; return this; } public HashMap getClassifications() { return Classifications; } public Customers setClassifications(HashMap value) { this.Classifications = value; return this; } public String getCountry() { return Country; } public Customers setCountry(String value) { this.Country = value; return this; } public String getPassportNumber() { return PassportNumber; } public Customers setPassportNumber(String value) { this.PassportNumber = value; return this; } public Long getStatusCodesId() { return StatusCodesId; } public Customers setStatusCodesId(Long value) { this.StatusCodesId = value; return this; } public String getReason() { return Reason; } public Customers setReason(String value) { this.Reason = value; return this; } public Boolean isVulnerabilityFlag() { return VulnerabilityFlag; } public Customers setVulnerabilityFlag(Boolean value) { this.VulnerabilityFlag = value; return this; } public HashMap getMeta() { return Meta; } public Customers setMeta(HashMap value) { this.Meta = value; return this; } public UUID getPublicAccessGuid() { return PublicAccessGuid; } public Customers setPublicAccessGuid(UUID value) { this.PublicAccessGuid = value; return this; } public String getCustomField1() { return CustomField1; } public Customers setCustomField1(String value) { this.CustomField1 = value; return this; } public String getCustomField2() { return CustomField2; } public Customers setCustomField2(String value) { this.CustomField2 = value; return this; } public String getCustomField3() { return CustomField3; } public Customers setCustomField3(String value) { this.CustomField3 = value; return this; } public String getCustomField4() { return CustomField4; } public Customers setCustomField4(String value) { this.CustomField4 = value; return this; } public String getCustomField5() { return CustomField5; } public Customers setCustomField5(String value) { this.CustomField5 = value; return this; } public String getCustomField6() { return CustomField6; } public Customers setCustomField6(String value) { this.CustomField6 = value; return this; } public String getCustomField7() { return CustomField7; } public Customers setCustomField7(String value) { this.CustomField7 = value; return this; } public String getCustomField8() { return CustomField8; } public Customers setCustomField8(String value) { this.CustomField8 = value; return this; } public String getCustomField9() { return CustomField9; } public Customers setCustomField9(String value) { this.CustomField9 = value; return this; } public String getCustomField10() { return CustomField10; } public Customers setCustomField10(String value) { this.CustomField10 = value; return this; } } public static class CampaignActionsFormResponses { @DataMember(Order=1) @Required() public Long Id = null; @DataMember(Order=2) @Required() @References(Type=CampaignActions.class) public Long CampaignActionsId = null; @DataMember(Order=3) @References(Type=Customers.class) public Long CustomersId = null; @DataMember(Order=4) @Required() @Computed() public Date ActionTimestamp = null; @DataMember(Order=5) public CampaignActionFormResults FormMetaResponses = null; @DataMember(Order=6) public HashMap FormMetaCustomResponses = null; @DataMember(Order=7) public Long CampaignInstanceCommsId = null; @DataMember(Order=8) public ArrayList FormMetaFilesResponses = null; @DataMember(Order=9) public String FormMetaComments = null; @DataMember(Order=10) public Integer StatusCodesId = null; @DataMember(Order=11) public String SentToEmailAddress = null; @DataMember(Order=12) public Integer VersionNumber = null; public Long getId() { return Id; } public CampaignActionsFormResponses setId(Long value) { this.Id = value; return this; } public Long getCampaignActionsId() { return CampaignActionsId; } public CampaignActionsFormResponses setCampaignActionsId(Long value) { this.CampaignActionsId = value; return this; } public Long getCustomersId() { return CustomersId; } public CampaignActionsFormResponses setCustomersId(Long value) { this.CustomersId = value; return this; } public Date getActionTimestamp() { return ActionTimestamp; } public CampaignActionsFormResponses setActionTimestamp(Date value) { this.ActionTimestamp = value; return this; } public CampaignActionFormResults getFormMetaResponses() { return FormMetaResponses; } public CampaignActionsFormResponses setFormMetaResponses(CampaignActionFormResults value) { this.FormMetaResponses = value; return this; } public HashMap getFormMetaCustomResponses() { return FormMetaCustomResponses; } public CampaignActionsFormResponses setFormMetaCustomResponses(HashMap value) { this.FormMetaCustomResponses = value; return this; } public Long getCampaignInstanceCommsId() { return CampaignInstanceCommsId; } public CampaignActionsFormResponses setCampaignInstanceCommsId(Long value) { this.CampaignInstanceCommsId = value; return this; } public ArrayList getFormMetaFilesResponses() { return FormMetaFilesResponses; } public CampaignActionsFormResponses setFormMetaFilesResponses(ArrayList value) { this.FormMetaFilesResponses = value; return this; } public String getFormMetaComments() { return FormMetaComments; } public CampaignActionsFormResponses setFormMetaComments(String value) { this.FormMetaComments = value; return this; } public Integer getStatusCodesId() { return StatusCodesId; } public CampaignActionsFormResponses setStatusCodesId(Integer value) { this.StatusCodesId = value; return this; } public String getSentToEmailAddress() { return SentToEmailAddress; } public CampaignActionsFormResponses setSentToEmailAddress(String value) { this.SentToEmailAddress = value; return this; } public Integer getVersionNumber() { return VersionNumber; } public CampaignActionsFormResponses setVersionNumber(Integer value) { this.VersionNumber = value; return this; } } public static class CampaignActionFormResults { public String CustomFormResults = null; public String Comments = null; public ArrayList CampaignActionFiles = null; public String getCustomFormResults() { return CustomFormResults; } public CampaignActionFormResults setCustomFormResults(String value) { this.CustomFormResults = value; return this; } public String getComments() { return Comments; } public CampaignActionFormResults setComments(String value) { this.Comments = value; return this; } public ArrayList getCampaignActionFiles() { return CampaignActionFiles; } public CampaignActionFormResults setCampaignActionFiles(ArrayList value) { this.CampaignActionFiles = value; return this; } } public static class CampaignActions { @DataMember(Order=1) @Required() public Long Id = null; @DataMember(Order=2) @Required() @References(Type=Campaigns.class) public Long CampaignsId = null; @DataMember(Order=3) @References(Type=Actions.class) public Long ActionsId = null; @DataMember(Order=4) public String ButtonName = null; @DataMember(Order=5) @References(Type=ActionTypes.class) public Integer ActionTypesId = null; @DataMember(Order=6) public String Description = null; @DataMember(Order=7) public Short OfferOrder = null; @DataMember(Order=8) public Boolean StandOut = null; @DataMember(Order=9) @Required() public UUID PublicAccessGuid = null; @DataMember(Order=10) public ArrayList FormMeta = null; @DataMember(Order=11) public ArrayList Files = null; @DataMember(Order=12) public String SentToEmailAddress = null; @DataMember(Order=13) public String CcEmailAddress = null; public Long getId() { return Id; } public CampaignActions setId(Long value) { this.Id = value; return this; } public Long getCampaignsId() { return CampaignsId; } public CampaignActions setCampaignsId(Long value) { this.CampaignsId = value; return this; } public Long getActionsId() { return ActionsId; } public CampaignActions setActionsId(Long value) { this.ActionsId = value; return this; } public String getButtonName() { return ButtonName; } public CampaignActions setButtonName(String value) { this.ButtonName = value; return this; } public Integer getActionTypesId() { return ActionTypesId; } public CampaignActions setActionTypesId(Integer value) { this.ActionTypesId = value; return this; } public String getDescription() { return Description; } public CampaignActions setDescription(String value) { this.Description = value; return this; } public Short getOfferOrder() { return OfferOrder; } public CampaignActions setOfferOrder(Short value) { this.OfferOrder = value; return this; } public Boolean isStandOut() { return StandOut; } public CampaignActions setStandOut(Boolean value) { this.StandOut = value; return this; } public UUID getPublicAccessGuid() { return PublicAccessGuid; } public CampaignActions setPublicAccessGuid(UUID value) { this.PublicAccessGuid = value; return this; } public ArrayList getFormMeta() { return FormMeta; } public CampaignActions setFormMeta(ArrayList value) { this.FormMeta = value; return this; } public ArrayList getFiles() { return Files; } public CampaignActions setFiles(ArrayList value) { this.Files = value; return this; } public String getSentToEmailAddress() { return SentToEmailAddress; } public CampaignActions setSentToEmailAddress(String value) { this.SentToEmailAddress = value; return this; } public String getCcEmailAddress() { return CcEmailAddress; } public CampaignActions setCcEmailAddress(String value) { this.CcEmailAddress = value; return this; } } }