/* Options: Date: 2026-04-04 08:37:29 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetProjectContacts.* //ExcludeTypes: //InitializeCollections: False //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.* /** * Returns a projects contacts (customer and project connected). */ @Route(Path="/project/{ProjectId}/contacts") @Api(Description="Returns a projects contacts (customer and project connected).") open class GetProjectContacts : IReturn { /** * Guid representing the object that is the project in Eros. */ @ApiMember(DataType="Guid", Description="Guid representing the object that is the project in Eros.", Name="ProjectId", ParameterType="query") open var ProjectId:UUID? = null /** * Guid representing the projects contact customer group Id. */ @ApiMember(DataType="Guid", Description="Guid representing the projects contact customer group Id.", Name="CustomerGroupId", ParameterType="query") open var CustomerGroupId:UUID? = null companion object { private val responseType = ProjectContactModel::class.java } override fun getResponseType(): Any? = GetProjectContacts.responseType } @ApiResponse(Description="List of project contacts and customer contacts.") open class ProjectContactModel { /** * Object containing all details of the project to be inserted or updated. */ @ApiMember(DataType=" List", Description="Object containing all details of the project to be inserted or updated.", Name="ProjectContacts", ParameterType="query") open var ProjectContacts:ArrayList? = null /** * Object containing all details of the project to be inserted or updated. */ @ApiMember(DataType=" List", Description="Object containing all details of the project to be inserted or updated.", Name="CustomerContacts", ParameterType="query") open var CustomerContacts:ArrayList? = null } open class ContactDetailModel { /** * Id of the Contact Method */ @ApiMember(DataType="Guid", Description="Id of the Contact Method", Name="ContactMethodId", ParameterType="body") open var ContactMethodId:UUID? = null /** * Contact Method Name */ @ApiMember(DataType="string", Description="Contact Method Name", Name="ContactMethodName", ParameterType="body") open var ContactMethodName:String? = 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") open var ContactAddress:ContactAddressModel? = 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") open var ContactPhone:PhoneModel? = null /** * Id of the country */ @ApiMember(DataType="Guid?", Description="Id of the country", Name="CountryId", ParameterType="body") open var CountryId:UUID? = null /** * A summary string representing the contact details */ @ApiMember(DataType="string", Description="A summary string representing the contact details", Name="ContactDetails", ParameterType="body") open var ContactDetails:String? = null /** * Notes about the contact details */ @ApiMember(DataType="string", Description="Notes about the contact details", Name="Notes", ParameterType="body") open var Notes:String? = 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") open var ContactDetailsCode:String? = null /** * Order number of the contact method */ @ApiMember(DataType="int", Description="Order number of the contact method", Name="OrderContactMethod", ParameterType="body") open var OrderContactMethod:Int? = 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") open var IsPrimaryContactMethod:Boolean? = 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") open var IsAddress:Boolean? = null } open class ProjectContact { /** * Guid of the contact object within Eros. */ @ApiMember(DataType="Guid", Description="Guid of the contact object within Eros.", Name="ContactId", ParameterType="query") open var ContactId:UUID? = null /** * The unique key that represents the contact on the external system. */ @ApiMember(DataType="string", Description="The unique key that represents the contact on the external system.", IsRequired=true, Name="ContactAlternateKey", ParameterType="query") open var ContactAlternateKey:String? = null /** * Guid of the Role List Item object within Eros. */ @ApiMember(DataType="Guid", Description="Guid of the Role List Item object within Eros.", IsRequired=true, Name="RoleId", ParameterType="query") open var RoleId:UUID? = null /** * Role Name. */ @ApiMember(DataType="string", Description="Role Name.", Name="RoleName", ParameterType="query") open var RoleName:String? = null /** * The unique key that represents the role type on the external system. Note: Use of this is not currently implemented */ @ApiMember(DataType="string", Description="The unique key that represents the role type on the external system. Note: Use of this is not currently implemented", Name="RoleAlternateKey", ParameterType="query") open var RoleAlternateKey:String? = null /** * The object that contains details of the contact */ @ApiMember(DataType="ContactModel", Description="The object that contains details of the contact", Name="Contact", ParameterType="query") open var Contact:SubscriptionContactModel? = null /** * The order this contact is in priority. 1 would be the primary contact, 2 the secondary and so forth. */ @ApiMember(DataType="int", Description="The order this contact is in priority. 1 would be the primary contact, 2 the secondary and so forth.", Name="Index", ParameterType="query") open var Index:Int? = null } open class ContactDetailModel { /** * Contact Method Id */ @ApiMember(DataType="Guid", Description="Contact Method Id", Name="ContactMethodId", ParameterType="query") open var ContactMethodId:UUID? = null /** * Contact Method Name */ @ApiMember(DataType="string", Description="Contact Method Name", Name="ContactMethodName", ParameterType="query") open var ContactMethodName:String? = null /** * Contact Address Details */ @ApiMember(DataType="ContactAddressModel", Description="Contact Address Details", Name="ContactAddress", ParameterType="query") open var ContactAddress:ContactAddressModel? = null /** * Contact Phone Details */ @ApiMember(DataType="PhoneModel", Description="Contact Phone Details", Name="ContactPhone", ParameterType="query") open var ContactPhone:PhoneModel? = null /** * Country id */ @ApiMember(DataType="Guid", Description="Country id", Name="CountryId", ParameterType="query") open var CountryId:UUID? = null /** * Contact Details */ @ApiMember(DataType="string", Description="Contact Details", Name="ContactDetails", ParameterType="query") open var ContactDetails:String? = null /** * Notes */ @ApiMember(DataType="string", Description="Notes", Name="Notes", ParameterType="query") open var Notes:String? = null /** * Contact Details Code */ @ApiMember(DataType="string", Description="Contact Details Code", Name="ContactDetailsCode", ParameterType="query") open var ContactDetailsCode:String? = null /** * Order of Contact Method Id */ @ApiMember(DataType="int", Description="Order of Contact Method Id", Name="OrderContactMethod", ParameterType="query") open var OrderContactMethod:Int? = null /** * Contact Method Id */ @ApiMember(DataType="bool", Description="Contact Method Id", Name="IsPrimaryContactMethod", ParameterType="query") open var IsPrimaryContactMethod:Boolean? = null /** * Is contact details an address */ @ApiMember(DataType="bool", Description="Is contact details an address", Name="IsAddress", ParameterType="query") open var IsAddress:Boolean? = null /** * Contact Contact Detail Id */ @ApiMember(DataType="Guid", Description="Contact Contact Detail Id", Name="ContactContactDetailId", ParameterType="query") open var ContactContactDetailId:UUID? = null /** * Contact Id */ @ApiMember(DataType="Guid", Description="Contact Id", Name="ContactId", ParameterType="query") open var ContactId:UUID? = null /** * Contact Details Id */ @ApiMember(DataType="Guid", Description="Contact Details Id", Name="ContactDetailId", ParameterType="query") open var ContactDetailId:UUID? = null /** * Is contact details a primary location */ @ApiMember(DataType="bool", Description="Is contact details a primary location", Name="IsPrimaryLocation", ParameterType="query") open var IsPrimaryLocation:Boolean? = null /** * Is contact details a registered location */ @ApiMember(DataType="bool", Description="Is contact details a registered location", Name="IsRegisteredLocation", ParameterType="query") open var IsRegisteredLocation:Boolean? = null /** * Is contact details a postal address */ @ApiMember(DataType="bool", Description="Is contact details a postal address", Name="IsPostal", ParameterType="query") open var IsPostal:Boolean? = null /** * Is contact details a phone number */ @ApiMember(DataType="bool", Description="Is contact details a phone number", Name="IsPhone", ParameterType="query") open var IsPhone:Boolean? = null /** * Email Signature Id */ @ApiMember(DataType="Guid", Description="Email Signature Id", Name="EmailSignatureId", ParameterType="query") open var EmailSignatureId:UUID? = null /** * Email Signature HTML */ @ApiMember(DataType="string", Description="Email Signature HTML", Name="EmailSignatureHTML", ParameterType="query") open var EmailSignatureHTML:String? = null /** * Email Signature Text */ @ApiMember(DataType="string", Description="Email Signature Text", Name="EmailSignatureText", ParameterType="query") open var EmailSignatureText:String? = null /** * API Key from Framework */ @ApiMember(DataType="string", Description="API Key from Framework", Name="ApiFrameworkAlternateKey", ParameterType="query") open var ApiFrameworkAlternateKey:String? = null } open class SubscriptionContactModel { /** * Guid of the contact object within PSTPF. */ @ApiMember(DataType="Guid", Description="Guid of the contact object within PSTPF.", Name="ContactId", ParameterType="body") open var ContactId:UUID? = null /** * Guid of the Contact Type List Item object within PSTPF. */ @ApiMember(DataType="Guid", Description="Guid of the Contact Type List Item object within PSTPF.", Name="ContactType", ParameterType="body") open var ContactType:UUID? = null /** * Guid of the Marital Status List Item object within PSTPF. */ @ApiMember(DataType="Guid?", Description="Guid of the Marital Status List Item object within PSTPF.", Name="MaritalStatus", ParameterType="body") open var MaritalStatus:UUID? = null /** * Guid of the Gender List Item object within PSTPF. */ @ApiMember(DataType="Guid?", Description="Guid of the Gender List Item object within PSTPF.", Name="Gender", ParameterType="body") open var Gender:UUID? = null /** * The first given name for the contact. Applies to a person contact type. */ @ApiMember(DataType="string", Description="The first given name for the contact. Applies to a person contact type.", Name="FirstName", ParameterType="body") open var FirstName:String? = null /** * The middle name(s) for the contact. Applies to a person contact type. */ @ApiMember(DataType="string", Description="The middle name(s) for the contact. Applies to a person contact type.", Name="MiddleName", ParameterType="body") open var MiddleName:String? = null /** * The surname for the contact. Applies to a person contact type. */ @ApiMember(DataType="string", Description="The surname for the contact. Applies to a person contact type.", Name="Surname", ParameterType="body") open var Surname:String? = null /** * The full name for the contact. */ @ApiMember(DataType="string", Description="The full name for the contact.", Name="FullName", ParameterType="body") open var FullName:String? = null /** * A short name for the contact. */ @ApiMember(DataType="string", Description="A short name for the contact.", Name="ShortName", ParameterType="body") open var ShortName:String? = null /** * The birth date for the contact. Applies to a person contact type. */ @ApiMember(DataType="DateTime?", Description="The birth date for the contact. Applies to a person contact type.", Name="BirthDate", ParameterType="body") open var BirthDate:Date? = null /** * The title for the contact. Applies to a person contact type. */ @ApiMember(DataType="string", Description="The title for the contact. Applies to a person contact type.", Name="Title", ParameterType="body") open var Title:String? = null /** * A salutation for the contact. */ @ApiMember(DataType="string", Description="A salutation for the contact.", Name="Salutation", ParameterType="body") open var Salutation:String? = null /** * The A.B.N for the contact. */ @ApiMember(DataType="string", Description="The A.B.N for the contact.", Name="Abn", ParameterType="body") open var Abn:String? = null /** * The A.C.N for the contact. */ @ApiMember(DataType="string", Description="The A.C.N for the contact.", Name="Acn", ParameterType="body") open var Acn:String? = null /** * The A.R.B.N for the contact. */ @ApiMember(DataType="string", Description="The A.R.B.N for the contact.", Name="Arbn", ParameterType="body") open var Arbn:String? = null /** * A trading name for the contact. */ @ApiMember(DataType="string", Description="A trading name for the contact.", Name="TradingName", ParameterType="body") open var TradingName:String? = null /** * A legal name for the contact. */ @ApiMember(DataType="string", Description="A legal name for the contact.", Name="LegalName", ParameterType="body") open var LegalName:String? = null /** * Any notes/description for the contact. */ @ApiMember(DataType="string", Description="Any notes/description for the contact.", Name="Notes", ParameterType="body") open var Notes:String? = null /** * Contact Employment Industry. */ @ApiMember(DataType="string", Description="Contact Employment Industry.", Name="EmploymentIndustry", ParameterType="body") open var EmploymentIndustry:String? = null /** * Contact Employment Role. */ @ApiMember(DataType="string", Description="Contact Employment Role.", Name="EmploymentRole", ParameterType="body") open var EmploymentRole:String? = null /** * Contact Employment Geographic Area. */ @ApiMember(DataType="string", Description="Contact Employment Geographic Area.", Name="EmploymentGeographicArea", ParameterType="body") open var EmploymentGeographicArea:String? = null /** * The Contacts Drivers Licence Number */ @ApiMember(DataType="string", Description="The Contacts Drivers Licence Number", Name="DriversLicence", ParameterType="body") open var DriversLicence:String? = null /** * Indicates if the Contact is registered for GST */ @ApiMember(DataType="bool", Description="Indicates if the Contact is registered for GST", Name="GstRegistered", ParameterType="body") open var GstRegistered:Boolean? = null /** * The status of the contact in PSTPF */ @ApiMember(DataType="string", Description="The status of the contact in PSTPF", Name="RecordStatus", ParameterType="body") open var RecordStatus:String? = null /** * A list of roles this contact has. */ @ApiMember(DataType="List", Description="A list of roles this contact has.", Name="ContactRoles", ParameterType="body") open var ContactRoles:ArrayList? = null /** * A list of the contact details for the contact. */ @ApiMember(DataType="List", Description="A list of the contact details for the contact.", Name="ContactDetails", ParameterType="body") open var ContactDetails:ArrayList? = null /** * Custom Content XML for the contact. */ @ApiMember(DataType="string", Description="Custom Content XML for the contact.", Name="CustomContentXML", ParameterType="body") open var CustomContentXML:String? = null /** * URL to the Primary Image. */ @ApiMember(DataType="string", Description="URL to the Primary Image.", Name="BlobImageURLPrimary", ParameterType="body") open var BlobImageURLPrimary:String? = null /** * URL to the Primary Image thumbnail. */ @ApiMember(DataType="string", Description="URL to the Primary Image thumbnail.", Name="BlobImageURLPrimaryThumbnail", ParameterType="body") open var BlobImageURLPrimaryThumbnail:String? = null /** * The primary mobile for the contact. */ @ApiMember(DataType="string", Description="The primary mobile for the contact.", Name="PrimaryMobile", ParameterType="body") open var PrimaryMobile:String? = null /** * The primary email for the contact. */ @ApiMember(DataType="string", Description="The primary email for the contact.", Name="PrimaryEmail", ParameterType="body") open var PrimaryEmail:String? = null } open class ContactRole { /** * Guid of the Role List Item object within PSTPF. */ @ApiMember(DataType="Guid", Description="Guid of the Role List Item object within PSTPF.", Name="RoleId", ParameterType="body") open var RoleId:UUID? = null /** * The unique key that represents the role type on the external system. */ @ApiMember(DataType="string", Description="The unique key that represents the role type on the external system.", Name="AlternateKey", ParameterType="body") open var AlternateKey:String? = null }