/* Options: Date: 2024-11-21 12:18:32 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CustomerQuery.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/customers", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") public static class CustomerQuery extends QueryDb implements IReturn> { /** * Enter the company and id you want to see the information for a customer, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown */ @ApiMember(Description="Enter the company and id you want to see the information for a customer, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ", IsRequired=true, ParameterType="query") public UUID CompanyId = null; /** * Enter the customer id you want to see the information for a customer. Only admins are allowed to see all customers on their company, users can only see their own customer info. */ @ApiMember(Description="Enter the customer id you want to see the information for a customer. Only admins are allowed to see all customers on their company, users can only see their own customer info.", ParameterType="query") public UUID CustomerId = null; /** * Enter the user id you want to see the information for a customer. Only admins are allowed to see all customers on their company, users can only see their own customer info. User Id is the userprofile */ @ApiMember(Description="Enter the user id you want to see the information for a customer. Only admins are allowed to see all customers on their company, users can only see their own customer info. User Id is the userprofile", ParameterType="query") public UUID UserId = null; /** * Will search by any customer name,phone or email that contains the searchstring provided. */ @ApiMember(Description="Will search by any customer name,phone or email that contains the searchstring provided.", ParameterType="query") public String Search = null; /** * If you want to filter on visible customers. */ @ApiMember(Description="If you want to filter on visible customers.", ParameterType="query") public Boolean Visible = null; /** * If you want to include the connected custom fields */ @ApiMember(DataType="boolean", Description="If you want to include the connected custom fields", ParameterType="query") public Boolean IncludeCustomFieldValues = null; /** * If you want to include the connected custom fields */ @ApiMember(DataType="boolean", Description="If you want to include the connected custom fields", ParameterType="query") public Boolean IncludeCustomFields = null; /** * If you want to include the comments on the customer */ @ApiMember(DataType="boolean", Description="If you want to include the comments on the customer", ParameterType="query") public Boolean IncludeComments = null; /** * If you want to include the accesskeys */ @ApiMember(Description="If you want to include the accesskeys") public Boolean IncludeAccessKeys = null; /** * If you want to include invoice address */ @ApiMember(Description="If you want to include invoice address") public Boolean IncludeInvoiceAddress = null; public UUID getCompanyId() { return CompanyId; } public CustomerQuery setCompanyId(UUID value) { this.CompanyId = value; return this; } public UUID getCustomerId() { return CustomerId; } public CustomerQuery setCustomerId(UUID value) { this.CustomerId = value; return this; } public UUID getUserId() { return UserId; } public CustomerQuery setUserId(UUID value) { this.UserId = value; return this; } public String getSearch() { return Search; } public CustomerQuery setSearch(String value) { this.Search = value; return this; } public Boolean isVisible() { return Visible; } public CustomerQuery setVisible(Boolean value) { this.Visible = value; return this; } public Boolean isIncludeCustomFieldValues() { return IncludeCustomFieldValues; } public CustomerQuery setIncludeCustomFieldValues(Boolean value) { this.IncludeCustomFieldValues = value; return this; } public Boolean isIncludeCustomFields() { return IncludeCustomFields; } public CustomerQuery setIncludeCustomFields(Boolean value) { this.IncludeCustomFields = value; return this; } public Boolean isIncludeComments() { return IncludeComments; } public CustomerQuery setIncludeComments(Boolean value) { this.IncludeComments = value; return this; } public Boolean isIncludeAccessKeys() { return IncludeAccessKeys; } public CustomerQuery setIncludeAccessKeys(Boolean value) { this.IncludeAccessKeys = value; return this; } public Boolean isIncludeInvoiceAddress() { return IncludeInvoiceAddress; } public CustomerQuery setIncludeInvoiceAddress(Boolean value) { this.IncludeInvoiceAddress = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @DataContract public static class QueryResponse { @DataMember(Order=1) public Integer Offset = null; @DataMember(Order=2) public Integer Total = null; @DataMember(Order=3) public ArrayList Results = null; @DataMember(Order=4) public HashMap Meta = null; @DataMember(Order=5) public ResponseStatus ResponseStatus = null; public Integer getOffset() { return Offset; } public QueryResponse setOffset(Integer value) { this.Offset = value; return this; } public Integer getTotal() { return Total; } public QueryResponse setTotal(Integer value) { this.Total = value; return this; } public ArrayList getResults() { return Results; } public QueryResponse setResults(ArrayList value) { this.Results = value; return this; } public HashMap getMeta() { return Meta; } public QueryResponse setMeta(HashMap value) { this.Meta = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public QueryResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class QueryDb extends QueryBase { } public static class Customer extends BaseModel implements IUser, ICustomFieldTable { public Integer IdentityId = null; public UUID Id = null; @Ignore() public UUID CustomerId = null; @Ignore() public IList AccessKeys = null; public String Email = null; @Ignore() public IList ExternalReferences = null; @Ignore() public Company Company = null; @Ignore() public IList CustomFieldsConfig = null; @Ignore() public IList CustomFieldsData = null; @Ignore() public IList Comments = null; @Ignore() public IList RebateCodes = null; public String Firstname = null; @Ignore() public String ImageUrl = null; @Required() public Boolean Active = null; public String FacebookUsername = null; @Required() public Date Updated = null; @Required() public Date Created = null; public String IpAddress = null; public Date ModifiedDate = null; public String TextField1 = null; public String TextField2 = null; public String TextField3 = null; public String TextField4 = null; public String TextField5 = null; public String TextField6 = null; public String TextField7 = null; public String TextField8 = null; public String TextField9 = null; public String TextField10 = null; public String TextField11 = null; public String TextField12 = null; public String TextField13 = null; public String TextField14 = null; public String TextField15 = null; public String TextField16 = null; public String TextField17 = null; public String TextField18 = null; public String TextField19 = null; public String TextField20 = null; public UUID UserId = null; public String Lastname = null; public String Phone = null; public String CorporateIdentityNumber = null; public String InvoiceAddress1 = null; public String InvoiceAddress2 = null; public String InvoiceCity = null; public String InvoicePostalCode = null; public String InvoiceCountryCode = null; @Required() public UUID CompanyId = null; public Boolean SubscribedToNewsletter = null; public Integer getIdentityId() { return IdentityId; } public Customer setIdentityId(Integer value) { this.IdentityId = value; return this; } public UUID getId() { return Id; } public Customer setId(UUID value) { this.Id = value; return this; } public UUID getCustomerId() { return CustomerId; } public Customer setCustomerId(UUID value) { this.CustomerId = value; return this; } public IList getAccessKeys() { return AccessKeys; } public Customer setAccessKeys(IList value) { this.AccessKeys = value; return this; } public String getEmail() { return Email; } public Customer setEmail(String value) { this.Email = value; return this; } public IList getExternalReferences() { return ExternalReferences; } public Customer setExternalReferences(IList value) { this.ExternalReferences = value; return this; } public Company getCompany() { return Company; } public Customer setCompany(Company value) { this.Company = value; return this; } public IList getCustomFieldsConfig() { return CustomFieldsConfig; } public Customer setCustomFieldsConfig(IList value) { this.CustomFieldsConfig = value; return this; } public IList getCustomFieldsData() { return CustomFieldsData; } public Customer setCustomFieldsData(IList value) { this.CustomFieldsData = value; return this; } public IList getComments() { return Comments; } public Customer setComments(IList value) { this.Comments = value; return this; } public IList getRebateCodes() { return RebateCodes; } public Customer setRebateCodes(IList value) { this.RebateCodes = value; return this; } public String getFirstname() { return Firstname; } public Customer setFirstname(String value) { this.Firstname = value; return this; } public String getImageUrl() { return ImageUrl; } public Customer setImageUrl(String value) { this.ImageUrl = value; return this; } public Boolean isActive() { return Active; } public Customer setActive(Boolean value) { this.Active = value; return this; } public String getFacebookUsername() { return FacebookUsername; } public Customer setFacebookUsername(String value) { this.FacebookUsername = value; return this; } public Date getUpdated() { return Updated; } public Customer setUpdated(Date value) { this.Updated = value; return this; } public Date getCreated() { return Created; } public Customer setCreated(Date value) { this.Created = value; return this; } public String getIpAddress() { return IpAddress; } public Customer setIpAddress(String value) { this.IpAddress = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public Customer setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public String getTextField1() { return TextField1; } public Customer setTextField1(String value) { this.TextField1 = value; return this; } public String getTextField2() { return TextField2; } public Customer setTextField2(String value) { this.TextField2 = value; return this; } public String getTextField3() { return TextField3; } public Customer setTextField3(String value) { this.TextField3 = value; return this; } public String getTextField4() { return TextField4; } public Customer setTextField4(String value) { this.TextField4 = value; return this; } public String getTextField5() { return TextField5; } public Customer setTextField5(String value) { this.TextField5 = value; return this; } public String getTextField6() { return TextField6; } public Customer setTextField6(String value) { this.TextField6 = value; return this; } public String getTextField7() { return TextField7; } public Customer setTextField7(String value) { this.TextField7 = value; return this; } public String getTextField8() { return TextField8; } public Customer setTextField8(String value) { this.TextField8 = value; return this; } public String getTextField9() { return TextField9; } public Customer setTextField9(String value) { this.TextField9 = value; return this; } public String getTextField10() { return TextField10; } public Customer setTextField10(String value) { this.TextField10 = value; return this; } public String getTextField11() { return TextField11; } public Customer setTextField11(String value) { this.TextField11 = value; return this; } public String getTextField12() { return TextField12; } public Customer setTextField12(String value) { this.TextField12 = value; return this; } public String getTextField13() { return TextField13; } public Customer setTextField13(String value) { this.TextField13 = value; return this; } public String getTextField14() { return TextField14; } public Customer setTextField14(String value) { this.TextField14 = value; return this; } public String getTextField15() { return TextField15; } public Customer setTextField15(String value) { this.TextField15 = value; return this; } public String getTextField16() { return TextField16; } public Customer setTextField16(String value) { this.TextField16 = value; return this; } public String getTextField17() { return TextField17; } public Customer setTextField17(String value) { this.TextField17 = value; return this; } public String getTextField18() { return TextField18; } public Customer setTextField18(String value) { this.TextField18 = value; return this; } public String getTextField19() { return TextField19; } public Customer setTextField19(String value) { this.TextField19 = value; return this; } public String getTextField20() { return TextField20; } public Customer setTextField20(String value) { this.TextField20 = value; return this; } public UUID getUserId() { return UserId; } public Customer setUserId(UUID value) { this.UserId = value; return this; } public String getLastname() { return Lastname; } public Customer setLastname(String value) { this.Lastname = value; return this; } public String getPhone() { return Phone; } public Customer setPhone(String value) { this.Phone = value; return this; } public String getCorporateIdentityNumber() { return CorporateIdentityNumber; } public Customer setCorporateIdentityNumber(String value) { this.CorporateIdentityNumber = value; return this; } public String getInvoiceAddress1() { return InvoiceAddress1; } public Customer setInvoiceAddress1(String value) { this.InvoiceAddress1 = value; return this; } public String getInvoiceAddress2() { return InvoiceAddress2; } public Customer setInvoiceAddress2(String value) { this.InvoiceAddress2 = value; return this; } public String getInvoiceCity() { return InvoiceCity; } public Customer setInvoiceCity(String value) { this.InvoiceCity = value; return this; } public String getInvoicePostalCode() { return InvoicePostalCode; } public Customer setInvoicePostalCode(String value) { this.InvoicePostalCode = value; return this; } public String getInvoiceCountryCode() { return InvoiceCountryCode; } public Customer setInvoiceCountryCode(String value) { this.InvoiceCountryCode = value; return this; } public UUID getCompanyId() { return CompanyId; } public Customer setCompanyId(UUID value) { this.CompanyId = value; return this; } public Boolean isSubscribedToNewsletter() { return SubscribedToNewsletter; } public Customer setSubscribedToNewsletter(Boolean value) { this.SubscribedToNewsletter = value; return this; } } public static class InvoiceAddress { public String CorporateIdentityNumber = null; public String InvoiceAddress1 = null; public String InvoiceAddress2 = null; public String InvoiceCity = null; public String InvoicePostalCode = null; public String InvoiceCountryCode = null; public String getCorporateIdentityNumber() { return CorporateIdentityNumber; } public InvoiceAddress setCorporateIdentityNumber(String value) { this.CorporateIdentityNumber = value; return this; } public String getInvoiceAddress1() { return InvoiceAddress1; } public InvoiceAddress setInvoiceAddress1(String value) { this.InvoiceAddress1 = value; return this; } public String getInvoiceAddress2() { return InvoiceAddress2; } public InvoiceAddress setInvoiceAddress2(String value) { this.InvoiceAddress2 = value; return this; } public String getInvoiceCity() { return InvoiceCity; } public InvoiceAddress setInvoiceCity(String value) { this.InvoiceCity = value; return this; } public String getInvoicePostalCode() { return InvoicePostalCode; } public InvoiceAddress setInvoicePostalCode(String value) { this.InvoicePostalCode = value; return this; } public String getInvoiceCountryCode() { return InvoiceCountryCode; } public InvoiceAddress setInvoiceCountryCode(String value) { this.InvoiceCountryCode = value; return this; } } public static class CustomFieldConfigData { /** * Custom field id */ @ApiMember(Description="Custom field id") public Integer Id = null; /** * Configuration name. Example: 'Number of persons'. */ @ApiMember(Description="Configuration name. Example: 'Number of persons'.") public String Name = null; /** * Custom field description. Example: 'For how many persons is this booking?' */ @ApiMember(Description="Custom field description. Example: 'For how many persons is this booking?'") public String Description = null; /** * Field width. Example: 20 for 20px */ @ApiMember(Description="Field width. Example: 20 for 20px") public Integer Width = null; /** * Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox' */ @ApiMember(Description="Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'") public String DataType = null; /** * Default value of the field. Example: '3' */ @ApiMember(Description="Default value of the field. Example: '3'") public String DefaultValue = null; /** * Determines if the field is required to have a value or not */ @ApiMember(Description="Determines if the field is required to have a value or not") public Boolean IsMandatory = null; /** * Error message shown to the user if the field data is required but not entered */ @ApiMember(Description="Error message shown to the user if the field data is required but not entered") public String MandatoryErrorMessage = null; /** * Max lenght of the field */ @ApiMember(Description="Max lenght of the field") public Integer MaxLength = null; /** * If the field should have multiple lines */ @ApiMember(Description="If the field should have multiple lines") public Boolean MultipleLineText = null; /** * Regular expression used for validation of the field */ @ApiMember(Description="Regular expression used for validation of the field") public String RegEx = null; /** * Error message shown if the regular expression validation failed */ @ApiMember(Description="Error message shown if the regular expression validation failed") public String RegExErrorMessage = null; /** * The values to select from if Datatype is DropDown for this custom field */ @ApiMember(Description="The values to select from if Datatype is DropDown for this custom field") public ArrayList Values = null; public Integer getId() { return Id; } public CustomFieldConfigData setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public CustomFieldConfigData setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public CustomFieldConfigData setDescription(String value) { this.Description = value; return this; } public Integer getWidth() { return Width; } public CustomFieldConfigData setWidth(Integer value) { this.Width = value; return this; } public String getDataType() { return DataType; } public CustomFieldConfigData setDataType(String value) { this.DataType = value; return this; } public String getDefaultValue() { return DefaultValue; } public CustomFieldConfigData setDefaultValue(String value) { this.DefaultValue = value; return this; } public Boolean getIsMandatory() { return IsMandatory; } public CustomFieldConfigData setIsMandatory(Boolean value) { this.IsMandatory = value; return this; } public String getMandatoryErrorMessage() { return MandatoryErrorMessage; } public CustomFieldConfigData setMandatoryErrorMessage(String value) { this.MandatoryErrorMessage = value; return this; } public Integer getMaxLength() { return MaxLength; } public CustomFieldConfigData setMaxLength(Integer value) { this.MaxLength = value; return this; } public Boolean isMultipleLineText() { return MultipleLineText; } public CustomFieldConfigData setMultipleLineText(Boolean value) { this.MultipleLineText = value; return this; } public String getRegEx() { return RegEx; } public CustomFieldConfigData setRegEx(String value) { this.RegEx = value; return this; } public String getRegExErrorMessage() { return RegExErrorMessage; } public CustomFieldConfigData setRegExErrorMessage(String value) { this.RegExErrorMessage = value; return this; } public ArrayList getValues() { return Values; } public CustomFieldConfigData setValues(ArrayList value) { this.Values = value; return this; } } public static class CustomFieldDataResponse { public Integer Id = null; public String Column = null; public String Name = null; public String Description = null; public String Value = null; /** * Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox' */ @ApiMember(Description="Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'") public String DataType = null; public Integer getId() { return Id; } public CustomFieldDataResponse setId(Integer value) { this.Id = value; return this; } public String getColumn() { return Column; } public CustomFieldDataResponse setColumn(String value) { this.Column = value; return this; } public String getName() { return Name; } public CustomFieldDataResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public CustomFieldDataResponse setDescription(String value) { this.Description = value; return this; } public String getValue() { return Value; } public CustomFieldDataResponse setValue(String value) { this.Value = value; return this; } public String getDataType() { return DataType; } public CustomFieldDataResponse setDataType(String value) { this.DataType = value; return this; } } public static class UserAccessKeys extends BaseModel { @Required() public UUID CompanyId = null; @Required() public Integer AccessKeyTypeId = null; @Required() public String Value = null; @Required() public UUID CustomerId = null; public String Description = null; @Required() public UUID Id = null; public UUID getCompanyId() { return CompanyId; } public UserAccessKeys setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getAccessKeyTypeId() { return AccessKeyTypeId; } public UserAccessKeys setAccessKeyTypeId(Integer value) { this.AccessKeyTypeId = value; return this; } public String getValue() { return Value; } public UserAccessKeys setValue(String value) { this.Value = value; return this; } public UUID getCustomerId() { return CustomerId; } public UserAccessKeys setCustomerId(UUID value) { this.CustomerId = value; return this; } public String getDescription() { return Description; } public UserAccessKeys setDescription(String value) { this.Description = value; return this; } public UUID getId() { return Id; } public UserAccessKeys setId(UUID value) { this.Id = value; return this; } } @DataContract public static class QueryBase { /** * Skip over a given number of elements in a sequence and then return the remainder. Use this when you need paging.

Example:
?skip=10&orderBy=Id */ @DataMember(Order=1) public Integer Skip = null; /** * Return a given number of elements in a sequence and then skip over the remainder. Use this when you need paging.

Example:
?take=20 */ @DataMember(Order=2) public Integer Take = null; /** * Comma separated list of fields to order by. Prefix the field name with a minus if you wan't to invert the sort for that field.

Example:
?orderBy=Id,-Age,FirstName */ @DataMember(Order=3) public String OrderBy = null; /** * Comma separated list of fields to order by in descending order. Prefix the field name with a minus if you wan't to invert the sort for that field.

Example:
?orderByDesc=Id,-Age,FirstName */ @DataMember(Order=4) public String OrderByDesc = null; /** * Include any of the aggregates AVG, COUNT, FIRST, LAST, MAX, MIN, SUM in your result set. The results will be returned in the meta field.

Example:
?include=COUNT(*) as Total

or multiple fields with
?include=Count(*) Total, Min(Age), AVG(Age) AverageAge

or unique with
?include=COUNT(DISTINCT LivingStatus) as UniqueStatus */ @DataMember(Order=5) public String Include = null; @DataMember(Order=6) public String Fields = null; @DataMember(Order=7) public HashMap Meta = null; public Integer getSkip() { return Skip; } public QueryBase setSkip(Integer value) { this.Skip = value; return this; } public Integer getTake() { return Take; } public QueryBase setTake(Integer value) { this.Take = value; return this; } public String getOrderBy() { return OrderBy; } public QueryBase setOrderBy(String value) { this.OrderBy = value; return this; } public String getOrderByDesc() { return OrderByDesc; } public QueryBase setOrderByDesc(String value) { this.OrderByDesc = value; return this; } public String getInclude() { return Include; } public QueryBase setInclude(String value) { this.Include = value; return this; } public String getFields() { return Fields; } public QueryBase setFields(String value) { this.Fields = value; return this; } public HashMap getMeta() { return Meta; } public QueryBase setMeta(HashMap value) { this.Meta = value; return this; } } public static class BaseModel { } public static class CustomFieldValueResponse { public String Value = null; public String getValue() { return Value; } public CustomFieldValueResponse setValue(String value) { this.Value = value; return this; } } public static class Customer { public String City = null; public String CountryCode = null; public String IdentityNumber = null; public String Email = null; public String FirstName = null; public String LastName = null; public String Phone = null; public String PostalCode = null; public String Street = null; public String Reference = null; public CustomerType Type = null; public String getCity() { return City; } public Customer setCity(String value) { this.City = value; return this; } public String getCountryCode() { return CountryCode; } public Customer setCountryCode(String value) { this.CountryCode = value; return this; } public String getIdentityNumber() { return IdentityNumber; } public Customer setIdentityNumber(String value) { this.IdentityNumber = value; return this; } public String getEmail() { return Email; } public Customer setEmail(String value) { this.Email = value; return this; } public String getFirstName() { return FirstName; } public Customer setFirstName(String value) { this.FirstName = value; return this; } public String getLastName() { return LastName; } public Customer setLastName(String value) { this.LastName = value; return this; } public String getPhone() { return Phone; } public Customer setPhone(String value) { this.Phone = value; return this; } public String getPostalCode() { return PostalCode; } public Customer setPostalCode(String value) { this.PostalCode = value; return this; } public String getStreet() { return Street; } public Customer setStreet(String value) { this.Street = value; return this; } public String getReference() { return Reference; } public Customer setReference(String value) { this.Reference = value; return this; } public CustomerType getType() { return Type; } public Customer setType(CustomerType value) { this.Type = value; return this; } } public static class CustomerQueryResponse { public UUID Id = null; public String Firstname = null; public String Lastname = null; public String Email = null; public String Phone = null; public String ImageUrl = null; public ArrayList CustomFields = null; public ArrayList CustomFieldValues = null; public ArrayList Comments = null; public ArrayList AccessKeys = null; public Date Updated = null; public Date Created = null; public Object ResponseStatus = null; public Boolean SubscribedToNewsletter = null; public InvoiceAddress InvoiceAddress = null; public UUID getId() { return Id; } public CustomerQueryResponse setId(UUID value) { this.Id = value; return this; } public String getFirstname() { return Firstname; } public CustomerQueryResponse setFirstname(String value) { this.Firstname = value; return this; } public String getLastname() { return Lastname; } public CustomerQueryResponse setLastname(String value) { this.Lastname = value; return this; } public String getEmail() { return Email; } public CustomerQueryResponse setEmail(String value) { this.Email = value; return this; } public String getPhone() { return Phone; } public CustomerQueryResponse setPhone(String value) { this.Phone = value; return this; } public String getImageUrl() { return ImageUrl; } public CustomerQueryResponse setImageUrl(String value) { this.ImageUrl = value; return this; } public ArrayList getCustomFields() { return CustomFields; } public CustomerQueryResponse setCustomFields(ArrayList value) { this.CustomFields = value; return this; } public ArrayList getCustomFieldValues() { return CustomFieldValues; } public CustomerQueryResponse setCustomFieldValues(ArrayList value) { this.CustomFieldValues = value; return this; } public ArrayList getComments() { return Comments; } public CustomerQueryResponse setComments(ArrayList value) { this.Comments = value; return this; } public ArrayList getAccessKeys() { return AccessKeys; } public CustomerQueryResponse setAccessKeys(ArrayList value) { this.AccessKeys = value; return this; } public Date getUpdated() { return Updated; } public CustomerQueryResponse setUpdated(Date value) { this.Updated = value; return this; } public Date getCreated() { return Created; } public CustomerQueryResponse setCreated(Date value) { this.Created = value; return this; } public Object getResponseStatus() { return ResponseStatus; } public CustomerQueryResponse setResponseStatus(Object value) { this.ResponseStatus = value; return this; } public Boolean isSubscribedToNewsletter() { return SubscribedToNewsletter; } public CustomerQueryResponse setSubscribedToNewsletter(Boolean value) { this.SubscribedToNewsletter = value; return this; } public InvoiceAddress getInvoiceAddress() { return InvoiceAddress; } public CustomerQueryResponse setInvoiceAddress(InvoiceAddress value) { this.InvoiceAddress = value; return this; } } public static class CustomerCommentsResponse { public Integer Id = null; public UUID CustomerId = null; public String Comments = null; public Date Updated = null; public Date Created = null; public Uri ImageUrl = null; public Integer getId() { return Id; } public CustomerCommentsResponse setId(Integer value) { this.Id = value; return this; } public UUID getCustomerId() { return CustomerId; } public CustomerCommentsResponse setCustomerId(UUID value) { this.CustomerId = value; return this; } public String getComments() { return Comments; } public CustomerCommentsResponse setComments(String value) { this.Comments = value; return this; } public Date getUpdated() { return Updated; } public CustomerCommentsResponse setUpdated(Date value) { this.Updated = value; return this; } public Date getCreated() { return Created; } public CustomerCommentsResponse setCreated(Date value) { this.Created = value; return this; } public Uri getImageUrl() { return ImageUrl; } public CustomerCommentsResponse setImageUrl(Uri value) { this.ImageUrl = value; return this; } } }