/* Options: Date: 2025-05-10 01:07:53 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://active-ewebservice.biz/aeservices30/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: MobileRegistrationRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * MobileRegistrationRequires active-e AIMMobile */ @Route(Path="/MobileRegistration", Verbs="POST") @DataContract public static class MobileRegistrationRequest extends BaseRequest implements IReturn { @DataMember public String Name = null; @DataMember public String Phone = null; @DataMember public String Company = null; @DataMember public String Address1 = null; @DataMember public String Address2 = null; @DataMember public String City = null; @DataMember public String State = null; @DataMember public String Email = null; @DataMember public String Zip = null; @DataMember public String Password = null; /** * Should be Register or Confirm */ @DataMember @ApiMember(DataType="string", Description="Should be Register or Confirm", IsRequired=true, Name="Action", ParameterType="query") public String Action = null; @DataMember public String PasswordToken = null; @DataMember public Boolean OptIn1 = null; @DataMember public Boolean OptIn2 = null; @DataMember public Boolean OptIn3 = null; public String getName() { return Name; } public MobileRegistrationRequest setName(String value) { this.Name = value; return this; } public String getPhone() { return Phone; } public MobileRegistrationRequest setPhone(String value) { this.Phone = value; return this; } public String getCompany() { return Company; } public MobileRegistrationRequest setCompany(String value) { this.Company = value; return this; } public String getAddress1() { return Address1; } public MobileRegistrationRequest setAddress1(String value) { this.Address1 = value; return this; } public String getAddress2() { return Address2; } public MobileRegistrationRequest setAddress2(String value) { this.Address2 = value; return this; } public String getCity() { return City; } public MobileRegistrationRequest setCity(String value) { this.City = value; return this; } public String getState() { return State; } public MobileRegistrationRequest setState(String value) { this.State = value; return this; } public String getEmail() { return Email; } public MobileRegistrationRequest setEmail(String value) { this.Email = value; return this; } public String getZip() { return Zip; } public MobileRegistrationRequest setZip(String value) { this.Zip = value; return this; } public String getPassword() { return Password; } public MobileRegistrationRequest setPassword(String value) { this.Password = value; return this; } public String getAction() { return Action; } public MobileRegistrationRequest setAction(String value) { this.Action = value; return this; } public String getPasswordToken() { return PasswordToken; } public MobileRegistrationRequest setPasswordToken(String value) { this.PasswordToken = value; return this; } public Boolean isOptIn1() { return OptIn1; } public MobileRegistrationRequest setOptIn1(Boolean value) { this.OptIn1 = value; return this; } public Boolean isOptIn2() { return OptIn2; } public MobileRegistrationRequest setOptIn2(Boolean value) { this.OptIn2 = value; return this; } public Boolean isOptIn3() { return OptIn3; } public MobileRegistrationRequest setOptIn3(Boolean value) { this.OptIn3 = value; return this; } private static Object responseType = MobileRegistrationResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class MobileRegistrationResponse extends BaseResponse { } @DataContract public static class BaseRequest { /** * This is your AIM API Key provided by Tri-Tech */ @DataMember @ApiMember(DataType="string", Description="This is your AIM API Key provided by Tri-Tech", IsRequired=true, Name="ApiKey", ParameterType="header") public String ApiKey = null; @DataMember @ApiMember(DataType="string", Name="OAuthToken", ParameterType="header") public String OAuthToken = null; public String getApiKey() { return ApiKey; } public BaseRequest setApiKey(String value) { this.ApiKey = value; return this; } public String getOAuthToken() { return OAuthToken; } public BaseRequest setOAuthToken(String value) { this.OAuthToken = value; return this; } } @DataContract public static class BaseResponse { /** * */ @DataMember @ApiMember(DataType="BaseResponseResult", Description="", Name="Status", ParameterType="body") public BaseResponseResult Status = null; public BaseResponseResult getStatus() { return Status; } public BaseResponse setStatus(BaseResponseResult value) { this.Status = value; return this; } } }