/* Options: Date: 2026-04-04 03:17:51 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: GetSuppliersForContact.* //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 suppliers for the specified contact */ @Route(Path="/contacts/{ContactId}/suppliers") @Api(Description="Get suppliers for the specified contact") open class GetSuppliersForContact : IReturn { /** * Contact Id to get suppliers for */ @ApiMember(DataType="Guid", Description="Contact Id to get suppliers for", IsRequired=true, Name="ContactId") open var ContactId:UUID? = null /** * Supplier group id for the contact (if available) */ @ApiMember(DataType="Guid", Description="Supplier group id for the contact (if available)", Name="ContactSupplierGroupId") open var ContactSupplierGroupId:UUID? = null /** * If true we will ignore the check for admin permissions before retrieving suppliers. */ @ApiMember(DataType="Guid", Description="If true we will ignore the check for admin permissions before retrieving suppliers.", Name="IgnoreAdminPermissionChecks") open var IgnoreAdminPermissionChecks:Boolean? = null companion object { private val responseType = GetContactsResponse::class.java } override fun getResponseType(): Any? = GetSuppliersForContact.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 } 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 }