/* Options: Date: 2026-04-04 08:41:16 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: GetStaffForContact.* //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.* /** * Get staff for the specified contact */ @Route(Path="/contacts/{ContactId}/staff") // @Route(Path="/contacts/{ContactId}/staff/linkedtolicensee") @Api(Description="Get staff for the specified contact") open class GetStaffForContact : PagedModel(), IReturn { /** * Organisation contact Id to get staff for */ @ApiMember(DataType="Guid", Description="Organisation contact Id to get staff for", IsRequired=true, Name="ContactId") open var ContactId:UUID? = null /** * Organisation Contact Type Id - Real or Virtual Organisation */ @ApiMember(DataType="Guid", Description="Organisation Contact Type Id - Real or Virtual Organisation", IsRequired=true, Name="ContactTypeId") open var ContactTypeId:UUID? = null /** * Staff group id for the contact (if available) */ @ApiMember(DataType="Guid", Description="Staff group id for the contact (if available)", Name="ContactStaffGroupId") open var ContactStaffGroupId:UUID? = null /** * Return all connections or paged results? */ @ApiMember(Description="Return all connections or paged results?", Name="IsPagedMode") open var IsPagedMode:Boolean? = null companion object { private val responseType = GetContactsResponse::class.java } override fun getResponseType(): Any? = GetStaffForContact.responseType } @ApiResponse(Description="Contacts connected to contact by criteria and response status") open class GetContactsResponse { open var Contacts:ArrayList? = null open var TotalContacts:Int? = null open var ResponseStatus:ResponseStatus? = null } enum class SortOrder { Ascending, Descending, } open class PagedModel { /** * Page Number to retrieve */ @ApiMember(DataType="int", Description="Page Number to retrieve", Name="PageNumber") open var PageNumber:Int? = null /** * Number of records to retrieve */ @ApiMember(DataType="int", Description="Number of records to retrieve", Name="PageSize") open var PageSize:Int? = null /** * Index of field to sort results by */ @ApiMember(DataType="int", Description="Index of field to sort results by", Name="SortIndex") open var SortIndex:Int? = null /** * Sort Order - Ascending or Descending */ @ApiMember(DataType="int", Description="Sort Order - Ascending or Descending", Name="SortOrder") open var SortOrder:SortOrder? = null } open class UserProfileModel : UserProfileSummaryModel() { /** * Contact Date of Birth (when person type) */ @ApiMember(DataType="DateTime?", Description="Contact Date of Birth (when person type)", Name="BirthDate", ParameterType="query") open var BirthDate:Date? = null /** * Contact marital status (when person type) */ @ApiMember(DataType="string", Description="Contact marital status (when person type)", Name="MaritalStatusName", ParameterType="query") open var MaritalStatusName:String? = null /** * Contact gender (when person type) */ @ApiMember(DataType="string", Description="Contact gender (when person type)", Name="GenderName", ParameterType="query") open var GenderName:String? = null /** * The Gender Guid of the contact. */ @ApiMember(DataType="Guid", Description="The Gender Guid of the contact.", Name="GenderId", ParameterType="query") open var GenderId:UUID? = null /** * All contact details of the contact */ @ApiMember(DataType="List", Description="All contact details of the contact", Name="ContactDetails", ParameterType="query") open var ContactDetails:ArrayList? = null /** * Primary Street Address */ @ApiMember(DataType="ContactDetail", Description="Primary Street Address", Name="PrimaryStreetAddress ") open var PrimaryStreetAddress:ContactDetailModel? = null /** * Primary Postal Address */ @ApiMember(DataType="ContactDetail", Description="Primary Postal Address", Name="PrimaryPostalAddress ") open var PrimaryPostalAddress:ContactDetailModel? = null /** * Primary Registered Address */ @ApiMember(DataType="ContactDetail", Description="Primary Registered Address", Name="PrimaryRegisteredAddress ") open var PrimaryRegisteredAddress:ContactDetailModel? = null /** * Primary Email Address */ @ApiMember(DataType="ContactDetail", Description="Primary Email Address", Name="PrimaryEmail ") open var PrimaryEmail:ContactDetailModel? = null /** * Primary Mobile Number */ @ApiMember(DataType="ContactDetail", Description="Primary Mobile Number", Name="PrimaryMobile") open var PrimaryMobile:ContactDetailModel? = null /** * Primary Non-Mobile Number */ @ApiMember(DataType="ContactDetail", Description="Primary Non-Mobile Number", Name="PrimaryPhone") open var PrimaryPhone:ContactDetailModel? = null /** * Primary Fax Number */ @ApiMember(DataType="ContactDetail", Description="Primary Fax Number", Name="PrimaryFax") open var PrimaryFax:ContactDetailModel? = null /** * Primary Web Address */ @ApiMember(DataType="ContactDetail", Description="Primary Web Address", Name="PrimaryWeb") open var PrimaryWeb:ContactDetailModel? = null /** * Social Media Twitter */ @ApiMember(DataType="ContactDetail", Description="Social Media Twitter", Name="SocialMediaTwitter") open var SocialMediaTwitter:ContactDetailModel? = null /** * Social Media Facebook */ @ApiMember(DataType="ContactDetail", Description="Social Media Facebook", Name="SocialMediaFacebook") open var SocialMediaFacebook:ContactDetailModel? = null /** * Social Media Instagram */ @ApiMember(DataType="ContactDetail", Description="Social Media Instagram", Name="SocialMediaInstagram") open var SocialMediaInstagram:ContactDetailModel? = null /** * Have all connections to the contact been removed? */ @ApiMember(DataType="bool", Description="Have all connections to the contact been removed?", Name="IsRemovedContact") open var IsRemovedContact:Boolean? = null /** * True if this is the users default profile. */ @ApiMember(DataType="bool", Description="True if this is the users default profile.", Name="IsDefault", ParameterType="query") open var IsDefault:Boolean? = null /** * True if the users email on this profile can be edited. */ @ApiMember(DataType="bool", Description="True if the users email on this profile can be edited.", Name="IsEmailEditable", ParameterType="query") open var IsEmailEditable:Boolean? = null /** * Primary image Content sent as a file stream contents (if not attached to the request) */ @ApiMember(DataType="string", Description="Primary image Content sent as a file stream contents (if not attached to the request)", Name="PrimaryImageContent") open var PrimaryImageContent:String? = null /** * Primary image Content type sent as a file stream contents (if not attached to the request) */ @ApiMember(DataType="string", Description="Primary image Content type sent as a file stream contents (if not attached to the request)", Name="PrimaryImageContentType") open var PrimaryImageContentType:String? = null /** * Primary image file name */ @ApiMember(DataType="string", Description="Primary image file name", Name="PrimaryImageFileName") open var PrimaryImageFileName:String? = null }