/* Options: Date: 2026-04-04 02:55:32 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SaveUserProfile.* //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 { /** * Updates a Users Profile information' */ @Api(Description="Updates a Users Profile information'") public static class SaveUserProfile implements IReturn { /** * The users profile Guid. */ @ApiMember(DataType="Guid", Description="The users profile Guid.", IsRequired=true, Name="UserProfileId", ParameterType="query") public UUID UserProfileId = null; /** * The users Guid. This is used for validation to ensure the user in the session is only changing his own user information. */ @ApiMember(DataType="Guid", Description="The users Guid. This is used for validation to ensure the user in the session is only changing his own user information.", IsRequired=true, Name="UserId", ParameterType="query") public UUID UserId = null; /** * The users contact Guid. */ @ApiMember(DataType="Guid", Description="The users contact Guid.", IsRequired=true, Name="ContactId", ParameterType="query") public UUID ContactId = null; /** * The users profile name. */ @ApiMember(DataType="string", Description="The users profile name.", IsRequired=true, Name="ProfileName", ParameterType="query") public String ProfileName = null; /** * The users (contact) title. */ @ApiMember(DataType="string", Description="The users (contact) title.", Name="Title", ParameterType="query") public String Title = null; /** * The users (contact) first name(s). */ @ApiMember(DataType="string", Description="The users (contact) first name(s).", IsRequired=true, Name="FirstName", ParameterType="query") public String FirstName = null; /** * The users (contact) surname. */ @ApiMember(DataType="string", Description="The users (contact) surname.", IsRequired=true, Name="Surname", ParameterType="query") public String Surname = null; /** * The contact profile description. */ @ApiMember(DataType="string", Description="The contact profile description.", Name="Description", ParameterType="query") public String Description = null; /** * The contacts profession/trade/industry details. */ @ApiMember(DataType="string", Description="The contacts profession/trade/industry details.", Name="EmploymentIndustry", ParameterType="query") public String EmploymentIndustry = null; /** * The contact details of who they work/subcontract for. */ @ApiMember(DataType="string", Description="The contact details of who they work/subcontract for.", Name="EmploymentRole", ParameterType="query") public String EmploymentRole = null; /** * The contacts work area/suburbs. */ @ApiMember(DataType="string", Description="The contacts work area/suburbs.", Name="EmploymentGeographicArea", ParameterType="query") public String EmploymentGeographicArea = null; /** * The contacts timezone. */ @ApiMember(DataType="Guid", Description="The contacts timezone.", Name="Timezone", ParameterType="query") public UUID Timezone = null; /** * A list of the contact details for the contact. Note: an email must always be set for a business. */ @ApiMember(DataType="List", Description="A list of the contact details for the contact. Note: an email must always be set for a business.", IsRequired=true, Name="ContactDetails", ParameterType="query") public ArrayList ContactDetails = new ArrayList(); /** * Type of contact (person, organisation etc.) linked to the profile */ @ApiMember(DataType="string", Description="Type of contact (person, organisation etc.) linked to the profile", Name="ContactType") public UUID ContactType = null; /** * Legal name of contact linked to the profile */ @ApiMember(DataType="string", Description="Legal name of contact linked to the profile", Name="LegalName") public String LegalName = null; /** * Trading name of contact linked to the profile */ @ApiMember(DataType="string", Description="Trading name of contact linked to the profile", Name="TradingName") public String TradingName = null; /** * Abn of contact linked to the profile */ @ApiMember(DataType="string", Description="Abn of contact linked to the profile", Name="Abn") public String Abn = null; /** * Acn of contact linked to the profile */ @ApiMember(DataType="string", Description="Acn of contact linked to the profile", Name="Acn") public String Acn = null; /** * Arbn of contact linked to the profile */ @ApiMember(DataType="string", Description="Arbn of contact linked to the profile", Name="Arbn") public String Arbn = null; /** * Indicates if the Contact is registered for GST. */ @ApiMember(DataType="bool", Description="Indicates if the Contact is registered for GST.", Name="GstRegistered", ParameterType="query") public Boolean GstRegistered = null; /** * The Gender Guid of the contact. */ @ApiMember(DataType="Guid", Description="The Gender Guid of the contact.", Name="GenderId", ParameterType="query") public UUID GenderId = null; public UUID getUserProfileId() { return UserProfileId; } public SaveUserProfile setUserProfileId(UUID value) { this.UserProfileId = value; return this; } public UUID getUserId() { return UserId; } public SaveUserProfile setUserId(UUID value) { this.UserId = value; return this; } public UUID getContactId() { return ContactId; } public SaveUserProfile setContactId(UUID value) { this.ContactId = value; return this; } public String getProfileName() { return ProfileName; } public SaveUserProfile setProfileName(String value) { this.ProfileName = value; return this; } public String getTitle() { return Title; } public SaveUserProfile setTitle(String value) { this.Title = value; return this; } public String getFirstName() { return FirstName; } public SaveUserProfile setFirstName(String value) { this.FirstName = value; return this; } public String getSurname() { return Surname; } public SaveUserProfile setSurname(String value) { this.Surname = value; return this; } public String getDescription() { return Description; } public SaveUserProfile setDescription(String value) { this.Description = value; return this; } public String getEmploymentIndustry() { return EmploymentIndustry; } public SaveUserProfile setEmploymentIndustry(String value) { this.EmploymentIndustry = value; return this; } public String getEmploymentRole() { return EmploymentRole; } public SaveUserProfile setEmploymentRole(String value) { this.EmploymentRole = value; return this; } public String getEmploymentGeographicArea() { return EmploymentGeographicArea; } public SaveUserProfile setEmploymentGeographicArea(String value) { this.EmploymentGeographicArea = value; return this; } public UUID getTimezone() { return Timezone; } public SaveUserProfile setTimezone(UUID value) { this.Timezone = value; return this; } public ArrayList getContactDetails() { return ContactDetails; } public SaveUserProfile setContactDetails(ArrayList value) { this.ContactDetails = value; return this; } public UUID getContactType() { return ContactType; } public SaveUserProfile setContactType(UUID value) { this.ContactType = value; return this; } public String getLegalName() { return LegalName; } public SaveUserProfile setLegalName(String value) { this.LegalName = value; return this; } public String getTradingName() { return TradingName; } public SaveUserProfile setTradingName(String value) { this.TradingName = value; return this; } public String getAbn() { return Abn; } public SaveUserProfile setAbn(String value) { this.Abn = value; return this; } public String getAcn() { return Acn; } public SaveUserProfile setAcn(String value) { this.Acn = value; return this; } public String getArbn() { return Arbn; } public SaveUserProfile setArbn(String value) { this.Arbn = value; return this; } public Boolean isGstRegistered() { return GstRegistered; } public SaveUserProfile setGstRegistered(Boolean value) { this.GstRegistered = value; return this; } public UUID getGenderId() { return GenderId; } public SaveUserProfile setGenderId(UUID value) { this.GenderId = 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; } } public static class ContactDetailModel { /** * Id of the Contact Method */ @ApiMember(DataType="Guid", Description="Id of the Contact Method", Name="ContactMethodId", ParameterType="body") public UUID ContactMethodId = null; /** * Contact Method Name */ @ApiMember(DataType="string", Description="Contact Method Name", Name="ContactMethodName", ParameterType="body") public String ContactMethodName = null; /** * If the contact method is an address, this will contain the address details. */ @ApiMember(DataType="ContactAddressModel", Description="If the contact method is an address, this will contain the address details.", Name="ContactAddress", ParameterType="body") public ContactAddressModel ContactAddress = null; /** * If the contact method is a phone, this will contain the phone details */ @ApiMember(DataType="PhoneModel", Description="If the contact method is a phone, this will contain the phone details", Name="ContactPhone", ParameterType="body") public PhoneModel ContactPhone = null; /** * Id of the country */ @ApiMember(DataType="Guid?", Description="Id of the country", Name="CountryId", ParameterType="body") public UUID CountryId = null; /** * A summary string representing the contact details */ @ApiMember(DataType="string", Description="A summary string representing the contact details", Name="ContactDetails", ParameterType="body") public String ContactDetails = null; /** * Notes about the contact details */ @ApiMember(DataType="string", Description="Notes about the contact details", Name="Notes", ParameterType="body") public String Notes = null; /** * Area Code if contact details are a phone number */ @ApiMember(DataType="string", Description="Area Code if contact details are a phone number", Name="ContactDetailsCode", ParameterType="body") public String ContactDetailsCode = null; /** * Order number of the contact method */ @ApiMember(DataType="int", Description="Order number of the contact method", Name="OrderContactMethod", ParameterType="body") public Integer OrderContactMethod = null; /** * True if this is the primary contact method */ @ApiMember(DataType="bool", Description="True if this is the primary contact method", Name="IsPrimaryContactMethod", ParameterType="body") public Boolean IsPrimaryContactMethod = null; /** * True if this contact method is an address */ @ApiMember(DataType="bool", Description="True if this contact method is an address", Name="IsAddress", ParameterType="body") public Boolean IsAddress = null; public UUID getContactMethodId() { return ContactMethodId; } public ContactDetailModel setContactMethodId(UUID value) { this.ContactMethodId = value; return this; } public String getContactMethodName() { return ContactMethodName; } public ContactDetailModel setContactMethodName(String value) { this.ContactMethodName = value; return this; } public ContactAddressModel getContactAddress() { return ContactAddress; } public ContactDetailModel setContactAddress(ContactAddressModel value) { this.ContactAddress = value; return this; } public PhoneModel getContactPhone() { return ContactPhone; } public ContactDetailModel setContactPhone(PhoneModel value) { this.ContactPhone = value; return this; } public UUID getCountryId() { return CountryId; } public ContactDetailModel setCountryId(UUID value) { this.CountryId = value; return this; } public String getContactDetails() { return ContactDetails; } public ContactDetailModel setContactDetails(String value) { this.ContactDetails = value; return this; } public String getNotes() { return Notes; } public ContactDetailModel setNotes(String value) { this.Notes = value; return this; } public String getContactDetailsCode() { return ContactDetailsCode; } public ContactDetailModel setContactDetailsCode(String value) { this.ContactDetailsCode = value; return this; } public Integer getOrderContactMethod() { return OrderContactMethod; } public ContactDetailModel setOrderContactMethod(Integer value) { this.OrderContactMethod = value; return this; } public Boolean getIsPrimaryContactMethod() { return IsPrimaryContactMethod; } public ContactDetailModel setIsPrimaryContactMethod(Boolean value) { this.IsPrimaryContactMethod = value; return this; } public Boolean getIsAddress() { return IsAddress; } public ContactDetailModel setIsAddress(Boolean value) { this.IsAddress = value; return this; } } public static class ContactDetailModel { /** * Contact Method Id */ @ApiMember(DataType="Guid", Description="Contact Method Id", Name="ContactMethodId", ParameterType="query") public UUID ContactMethodId = null; /** * Contact Method Name */ @ApiMember(DataType="string", Description="Contact Method Name", Name="ContactMethodName", ParameterType="query") public String ContactMethodName = null; /** * Contact Address Details */ @ApiMember(DataType="ContactAddressModel", Description="Contact Address Details", Name="ContactAddress", ParameterType="query") public ContactAddressModel ContactAddress = null; /** * Contact Phone Details */ @ApiMember(DataType="PhoneModel", Description="Contact Phone Details", Name="ContactPhone", ParameterType="query") public PhoneModel ContactPhone = null; /** * Country id */ @ApiMember(DataType="Guid", Description="Country id", Name="CountryId", ParameterType="query") public UUID CountryId = null; /** * Contact Details */ @ApiMember(DataType="string", Description="Contact Details", Name="ContactDetails", ParameterType="query") public String ContactDetails = null; /** * Notes */ @ApiMember(DataType="string", Description="Notes", Name="Notes", ParameterType="query") public String Notes = null; /** * Contact Details Code */ @ApiMember(DataType="string", Description="Contact Details Code", Name="ContactDetailsCode", ParameterType="query") public String ContactDetailsCode = null; /** * Order of Contact Method Id */ @ApiMember(DataType="int", Description="Order of Contact Method Id", Name="OrderContactMethod", ParameterType="query") public Integer OrderContactMethod = null; /** * Contact Method Id */ @ApiMember(DataType="bool", Description="Contact Method Id", Name="IsPrimaryContactMethod", ParameterType="query") public Boolean IsPrimaryContactMethod = null; /** * Is contact details an address */ @ApiMember(DataType="bool", Description="Is contact details an address", Name="IsAddress", ParameterType="query") public Boolean IsAddress = null; /** * Contact Contact Detail Id */ @ApiMember(DataType="Guid", Description="Contact Contact Detail Id", Name="ContactContactDetailId", ParameterType="query") public UUID ContactContactDetailId = null; /** * Contact Id */ @ApiMember(DataType="Guid", Description="Contact Id", Name="ContactId", ParameterType="query") public UUID ContactId = null; /** * Contact Details Id */ @ApiMember(DataType="Guid", Description="Contact Details Id", Name="ContactDetailId", ParameterType="query") public UUID ContactDetailId = null; /** * Is contact details a primary location */ @ApiMember(DataType="bool", Description="Is contact details a primary location", Name="IsPrimaryLocation", ParameterType="query") public Boolean IsPrimaryLocation = null; /** * Is contact details a registered location */ @ApiMember(DataType="bool", Description="Is contact details a registered location", Name="IsRegisteredLocation", ParameterType="query") public Boolean IsRegisteredLocation = null; /** * Is contact details a postal address */ @ApiMember(DataType="bool", Description="Is contact details a postal address", Name="IsPostal", ParameterType="query") public Boolean IsPostal = null; /** * Is contact details a phone number */ @ApiMember(DataType="bool", Description="Is contact details a phone number", Name="IsPhone", ParameterType="query") public Boolean IsPhone = null; /** * Email Signature Id */ @ApiMember(DataType="Guid", Description="Email Signature Id", Name="EmailSignatureId", ParameterType="query") public UUID EmailSignatureId = null; /** * Email Signature HTML */ @ApiMember(DataType="string", Description="Email Signature HTML", Name="EmailSignatureHTML", ParameterType="query") public String EmailSignatureHTML = null; /** * Email Signature Text */ @ApiMember(DataType="string", Description="Email Signature Text", Name="EmailSignatureText", ParameterType="query") public String EmailSignatureText = null; /** * API Key from Framework */ @ApiMember(DataType="string", Description="API Key from Framework", Name="ApiFrameworkAlternateKey", ParameterType="query") public String ApiFrameworkAlternateKey = null; public UUID getContactMethodId() { return ContactMethodId; } public ContactDetailModel setContactMethodId(UUID value) { this.ContactMethodId = value; return this; } public String getContactMethodName() { return ContactMethodName; } public ContactDetailModel setContactMethodName(String value) { this.ContactMethodName = value; return this; } public ContactAddressModel getContactAddress() { return ContactAddress; } public ContactDetailModel setContactAddress(ContactAddressModel value) { this.ContactAddress = value; return this; } public PhoneModel getContactPhone() { return ContactPhone; } public ContactDetailModel setContactPhone(PhoneModel value) { this.ContactPhone = value; return this; } public UUID getCountryId() { return CountryId; } public ContactDetailModel setCountryId(UUID value) { this.CountryId = value; return this; } public String getContactDetails() { return ContactDetails; } public ContactDetailModel setContactDetails(String value) { this.ContactDetails = value; return this; } public String getNotes() { return Notes; } public ContactDetailModel setNotes(String value) { this.Notes = value; return this; } public String getContactDetailsCode() { return ContactDetailsCode; } public ContactDetailModel setContactDetailsCode(String value) { this.ContactDetailsCode = value; return this; } public Integer getOrderContactMethod() { return OrderContactMethod; } public ContactDetailModel setOrderContactMethod(Integer value) { this.OrderContactMethod = value; return this; } public Boolean getIsPrimaryContactMethod() { return IsPrimaryContactMethod; } public ContactDetailModel setIsPrimaryContactMethod(Boolean value) { this.IsPrimaryContactMethod = value; return this; } public Boolean getIsAddress() { return IsAddress; } public ContactDetailModel setIsAddress(Boolean value) { this.IsAddress = value; return this; } public UUID getContactContactDetailId() { return ContactContactDetailId; } public ContactDetailModel setContactContactDetailId(UUID value) { this.ContactContactDetailId = value; return this; } public UUID getContactId() { return ContactId; } public ContactDetailModel setContactId(UUID value) { this.ContactId = value; return this; } public UUID getContactDetailId() { return ContactDetailId; } public ContactDetailModel setContactDetailId(UUID value) { this.ContactDetailId = value; return this; } public Boolean getIsPrimaryLocation() { return IsPrimaryLocation; } public ContactDetailModel setIsPrimaryLocation(Boolean value) { this.IsPrimaryLocation = value; return this; } public Boolean getIsRegisteredLocation() { return IsRegisteredLocation; } public ContactDetailModel setIsRegisteredLocation(Boolean value) { this.IsRegisteredLocation = value; return this; } public Boolean getIsPostal() { return IsPostal; } public ContactDetailModel setIsPostal(Boolean value) { this.IsPostal = value; return this; } public Boolean getIsPhone() { return IsPhone; } public ContactDetailModel setIsPhone(Boolean value) { this.IsPhone = value; return this; } public UUID getEmailSignatureId() { return EmailSignatureId; } public ContactDetailModel setEmailSignatureId(UUID value) { this.EmailSignatureId = value; return this; } public String getEmailSignatureHTML() { return EmailSignatureHTML; } public ContactDetailModel setEmailSignatureHTML(String value) { this.EmailSignatureHTML = value; return this; } public String getEmailSignatureText() { return EmailSignatureText; } public ContactDetailModel setEmailSignatureText(String value) { this.EmailSignatureText = value; return this; } public String getApiFrameworkAlternateKey() { return ApiFrameworkAlternateKey; } public ContactDetailModel setApiFrameworkAlternateKey(String value) { this.ApiFrameworkAlternateKey = value; return this; } } }