/* Options: Date: 2026-04-04 01:27:05 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SearchContact.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class UserProfileSummaryModel implements IConvertible { /** * User Profile Id */ // @ApiMember(DataType="Guid", Description="User Profile Id", Name="UserProfileId") String? UserProfileId; /** * User linked to the profile */ // @ApiMember(DataType="Guid", Description="User linked to the profile", Name="UserId") String? UserId; /** * Contact linked to the profile */ // @ApiMember(DataType="Guid", Description="Contact linked to the profile", Name="ContactId") String? ContactId; /** * User linked to the profile */ // @ApiMember(DataType="string", Description="User linked to the profile", Name="UserName") String? UserName; /** * User Profile Name */ // @ApiMember(DataType="string", Description="User Profile Name", Name="ProfileName") String? ProfileName; /** * Full name of the contact linked to the profile */ // @ApiMember(DataType="string", Description="Full name of the contact linked to the profile", Name="ContactFullName") String? ContactFullName; /** * Email Address of the contact linked to the profile */ // @ApiMember(DataType="string", Description="Email Address of the contact linked to the profile", Name="EmailAddress") String? EmailAddress; /** * Email signature of the contact linked to the profile */ // @ApiMember(DataType="string", Description="Email signature of the contact linked to the profile", Name="EmailSignature") String? EmailSignature; /** * Mobile number of the contact linked to the profile */ // @ApiMember(DataType="string", Description="Mobile number of the contact linked to the profile", Name="MobileNumber") String? MobileNumber; /** * Phone number of the contact linked to the profile */ // @ApiMember(DataType="string", Description="Phone number of the contact linked to the profile", Name="PhoneNumber") String? PhoneNumber; /** * 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="ContactTypeId") String? ContactTypeId; /** * 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="ContactTypeName") String? ContactTypeName; /** * First name of the contact linked to the profile */ // @ApiMember(DataType="string", Description="First name of the contact linked to the profile", Name="FirstName") String? FirstName; /** * Surname of the contact linked to the profile */ // @ApiMember(DataType="string", Description="Surname of the contact linked to the profile", Name="Surname") String? Surname; /** * Title of contact linked to the profile */ // @ApiMember(DataType="string", Description="Title of contact linked to the profile", Name="Title") String? Title; /** * Legal name of contact linked to the profile */ // @ApiMember(DataType="string", Description="Legal name of contact linked to the profile", Name="LegalName") String? LegalName; /** * Trading name of contact linked to the profile */ // @ApiMember(DataType="string", Description="Trading name of contact linked to the profile", Name="TradingName") String? TradingName; /** * Australian Business Number */ // @ApiMember(DataType="string", Description="Australian Business Number", Name="Abn", ParameterType="query") String? Abn; /** * Australian Company Number */ // @ApiMember(DataType="string", Description="Australian Company Number", Name="Acn", ParameterType="query") String? Acn; /** * Australian Registered Body Number */ // @ApiMember(DataType="string", Description="Australian Registered Body Number", Name="Arbn", ParameterType="query") String? Arbn; /** * Indicates if the Contact is registered for GST. */ // @ApiMember(DataType="bool", Description="Indicates if the Contact is registered for GST.", Name="GstRegistered", ParameterType="query") bool? GstRegistered; /** * True if english is a secondary language for the contact. */ // @ApiMember(DataType="bool", Description="True if english is a secondary language for the contact.", Name="ESL", ParameterType="query") bool? ESL; /** * Language that is the primary language for the contact. */ // @ApiMember(DataType="string", Description="Language that is the primary language for the contact.", Name="Language", ParameterType="query") String? Language; /** * True if an interpreter is required. */ // @ApiMember(DataType="bool", Description="True if an interpreter is required.", Name="InterpreterRequired", ParameterType="query") bool? InterpreterRequired; /** * Licensee specific notes about the contact. */ // @ApiMember(DataType="string", Description="Licensee specific notes about the contact.", Name="LicenseeNotes", ParameterType="query") String? LicenseeNotes; /** * Profile photo of contact linked to the profile */ // @ApiMember(DataType="string", Description="Profile photo of contact linked to the profile", Name="ProfilePhotoUrl") String? ProfilePhotoUrl; /** * Thumbnail photo of contact linked to the profile */ // @ApiMember(DataType="string", Description="Thumbnail photo of contact linked to the profile", Name="ProfilePhotoThumbnailUrl") String? ProfilePhotoThumbnailUrl; /** * Profile photo id of contact linked to the profile */ // @ApiMember(DataType="Guid", Description="Profile photo id of contact linked to the profile", Name="ProfileImageId") String? ProfileImageId; /** * Profile description */ // @ApiMember(DataType="string", Description="Profile description", Name="Description") String? Description; /** * Employment Industry */ // @ApiMember(DataType="string", Description="Employment Industry", Name="EmploymentIndustry") String? EmploymentIndustry; /** * Employment Role */ // @ApiMember(DataType="string", Description="Employment Role", Name="EmploymentRole") String? EmploymentRole; /** * Areas of Work */ // @ApiMember(DataType="string", Description="Areas of Work", Name="EmploymentGeographicArea") String? EmploymentGeographicArea; /** * The contacts timezone. */ // @ApiMember(DataType="Guid", Description="The contacts timezone.", Name="Timezone", ParameterType="query") String? Timezone; /** * Timezone Name */ // @ApiMember(DataType="string", Description="Timezone Name", Name="TimezoneName", ParameterType="query") String? TimezoneName; /** * The primary address of the contact */ // @ApiMember(DataType="string", Description="The primary address of the contact", Name="PrimaryAddress", ParameterType="query") String? PrimaryAddress; /** * Is this an active contact? Or an inactive contact (deleted account)? */ // @ApiMember(DataType="bool", Description="Is this an active contact? Or an inactive contact (deleted account)?", Name="IsActiveContact") bool? IsActiveContact; UserProfileSummaryModel({this.UserProfileId,this.UserId,this.ContactId,this.UserName,this.ProfileName,this.ContactFullName,this.EmailAddress,this.EmailSignature,this.MobileNumber,this.PhoneNumber,this.ContactTypeId,this.ContactTypeName,this.FirstName,this.Surname,this.Title,this.LegalName,this.TradingName,this.Abn,this.Acn,this.Arbn,this.GstRegistered,this.ESL,this.Language,this.InterpreterRequired,this.LicenseeNotes,this.ProfilePhotoUrl,this.ProfilePhotoThumbnailUrl,this.ProfileImageId,this.Description,this.EmploymentIndustry,this.EmploymentRole,this.EmploymentGeographicArea,this.Timezone,this.TimezoneName,this.PrimaryAddress,this.IsActiveContact}); UserProfileSummaryModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { UserProfileId = json['UserProfileId']; UserId = json['UserId']; ContactId = json['ContactId']; UserName = json['UserName']; ProfileName = json['ProfileName']; ContactFullName = json['ContactFullName']; EmailAddress = json['EmailAddress']; EmailSignature = json['EmailSignature']; MobileNumber = json['MobileNumber']; PhoneNumber = json['PhoneNumber']; ContactTypeId = json['ContactTypeId']; ContactTypeName = json['ContactTypeName']; FirstName = json['FirstName']; Surname = json['Surname']; Title = json['Title']; LegalName = json['LegalName']; TradingName = json['TradingName']; Abn = json['Abn']; Acn = json['Acn']; Arbn = json['Arbn']; GstRegistered = json['GstRegistered']; ESL = json['ESL']; Language = json['Language']; InterpreterRequired = json['InterpreterRequired']; LicenseeNotes = json['LicenseeNotes']; ProfilePhotoUrl = json['ProfilePhotoUrl']; ProfilePhotoThumbnailUrl = json['ProfilePhotoThumbnailUrl']; ProfileImageId = json['ProfileImageId']; Description = json['Description']; EmploymentIndustry = json['EmploymentIndustry']; EmploymentRole = json['EmploymentRole']; EmploymentGeographicArea = json['EmploymentGeographicArea']; Timezone = json['Timezone']; TimezoneName = json['TimezoneName']; PrimaryAddress = json['PrimaryAddress']; IsActiveContact = json['IsActiveContact']; return this; } Map toJson() => { 'UserProfileId': UserProfileId, 'UserId': UserId, 'ContactId': ContactId, 'UserName': UserName, 'ProfileName': ProfileName, 'ContactFullName': ContactFullName, 'EmailAddress': EmailAddress, 'EmailSignature': EmailSignature, 'MobileNumber': MobileNumber, 'PhoneNumber': PhoneNumber, 'ContactTypeId': ContactTypeId, 'ContactTypeName': ContactTypeName, 'FirstName': FirstName, 'Surname': Surname, 'Title': Title, 'LegalName': LegalName, 'TradingName': TradingName, 'Abn': Abn, 'Acn': Acn, 'Arbn': Arbn, 'GstRegistered': GstRegistered, 'ESL': ESL, 'Language': Language, 'InterpreterRequired': InterpreterRequired, 'LicenseeNotes': LicenseeNotes, 'ProfilePhotoUrl': ProfilePhotoUrl, 'ProfilePhotoThumbnailUrl': ProfilePhotoThumbnailUrl, 'ProfileImageId': ProfileImageId, 'Description': Description, 'EmploymentIndustry': EmploymentIndustry, 'EmploymentRole': EmploymentRole, 'EmploymentGeographicArea': EmploymentGeographicArea, 'Timezone': Timezone, 'TimezoneName': TimezoneName, 'PrimaryAddress': PrimaryAddress, 'IsActiveContact': IsActiveContact }; getTypeName() => "UserProfileSummaryModel"; TypeContext? context = _ctx; } class ContactDetailModel implements IConvertible { /** * Id of the Contact Method */ // @ApiMember(DataType="Guid", Description="Id of the Contact Method", Name="ContactMethodId", ParameterType="body") String? ContactMethodId; /** * Contact Method Name */ // @ApiMember(DataType="string", Description="Contact Method Name", Name="ContactMethodName", ParameterType="body") String? ContactMethodName; /** * 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") ContactAddressModel? ContactAddress; /** * 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") PhoneModel? ContactPhone; /** * Id of the country */ // @ApiMember(DataType="Guid?", Description="Id of the country", Name="CountryId", ParameterType="body") String? CountryId; /** * A summary string representing the contact details */ // @ApiMember(DataType="string", Description="A summary string representing the contact details", Name="ContactDetails", ParameterType="body") String? ContactDetails; /** * Notes about the contact details */ // @ApiMember(DataType="string", Description="Notes about the contact details", Name="Notes", ParameterType="body") String? Notes; /** * 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") String? ContactDetailsCode; /** * Order number of the contact method */ // @ApiMember(DataType="int", Description="Order number of the contact method", Name="OrderContactMethod", ParameterType="body") int? OrderContactMethod; /** * True if this is the primary contact method */ // @ApiMember(DataType="bool", Description="True if this is the primary contact method", Name="IsPrimaryContactMethod", ParameterType="body") bool? IsPrimaryContactMethod; /** * True if this contact method is an address */ // @ApiMember(DataType="bool", Description="True if this contact method is an address", Name="IsAddress", ParameterType="body") bool? IsAddress; ContactDetailModel({this.ContactMethodId,this.ContactMethodName,this.ContactAddress,this.ContactPhone,this.CountryId,this.ContactDetails,this.Notes,this.ContactDetailsCode,this.OrderContactMethod,this.IsPrimaryContactMethod,this.IsAddress}); ContactDetailModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContactMethodId = json['ContactMethodId']; ContactMethodName = json['ContactMethodName']; ContactAddress = JsonConverters.fromJson(json['ContactAddress'],'ContactAddressModel',context!); ContactPhone = JsonConverters.fromJson(json['ContactPhone'],'PhoneModel',context!); CountryId = json['CountryId']; ContactDetails = json['ContactDetails']; Notes = json['Notes']; ContactDetailsCode = json['ContactDetailsCode']; OrderContactMethod = json['OrderContactMethod']; IsPrimaryContactMethod = json['IsPrimaryContactMethod']; IsAddress = json['IsAddress']; return this; } Map toJson() => { 'ContactMethodId': ContactMethodId, 'ContactMethodName': ContactMethodName, 'ContactAddress': JsonConverters.toJson(ContactAddress,'ContactAddressModel',context!), 'ContactPhone': JsonConverters.toJson(ContactPhone,'PhoneModel',context!), 'CountryId': CountryId, 'ContactDetails': ContactDetails, 'Notes': Notes, 'ContactDetailsCode': ContactDetailsCode, 'OrderContactMethod': OrderContactMethod, 'IsPrimaryContactMethod': IsPrimaryContactMethod, 'IsAddress': IsAddress }; getTypeName() => "ContactDetailModel"; TypeContext? context = _ctx; } class ContactDetailModel implements IConvertible { /** * Contact Method Id */ // @ApiMember(DataType="Guid", Description="Contact Method Id", Name="ContactMethodId", ParameterType="query") String? ContactMethodId; /** * Contact Method Name */ // @ApiMember(DataType="string", Description="Contact Method Name", Name="ContactMethodName", ParameterType="query") String? ContactMethodName; /** * Contact Address Details */ // @ApiMember(DataType="ContactAddressModel", Description="Contact Address Details", Name="ContactAddress", ParameterType="query") ContactAddressModel? ContactAddress; /** * Contact Phone Details */ // @ApiMember(DataType="PhoneModel", Description="Contact Phone Details", Name="ContactPhone", ParameterType="query") PhoneModel? ContactPhone; /** * Country id */ // @ApiMember(DataType="Guid", Description="Country id", Name="CountryId", ParameterType="query") String? CountryId; /** * Contact Details */ // @ApiMember(DataType="string", Description="Contact Details", Name="ContactDetails", ParameterType="query") String? ContactDetails; /** * Notes */ // @ApiMember(DataType="string", Description="Notes", Name="Notes", ParameterType="query") String? Notes; /** * Contact Details Code */ // @ApiMember(DataType="string", Description="Contact Details Code", Name="ContactDetailsCode", ParameterType="query") String? ContactDetailsCode; /** * Order of Contact Method Id */ // @ApiMember(DataType="int", Description="Order of Contact Method Id", Name="OrderContactMethod", ParameterType="query") int? OrderContactMethod; /** * Contact Method Id */ // @ApiMember(DataType="bool", Description="Contact Method Id", Name="IsPrimaryContactMethod", ParameterType="query") bool? IsPrimaryContactMethod; /** * Is contact details an address */ // @ApiMember(DataType="bool", Description="Is contact details an address", Name="IsAddress", ParameterType="query") bool? IsAddress; /** * Contact Contact Detail Id */ // @ApiMember(DataType="Guid", Description="Contact Contact Detail Id", Name="ContactContactDetailId", ParameterType="query") String? ContactContactDetailId; /** * Contact Id */ // @ApiMember(DataType="Guid", Description="Contact Id", Name="ContactId", ParameterType="query") String? ContactId; /** * Contact Details Id */ // @ApiMember(DataType="Guid", Description="Contact Details Id", Name="ContactDetailId", ParameterType="query") String? ContactDetailId; /** * Is contact details a primary location */ // @ApiMember(DataType="bool", Description="Is contact details a primary location", Name="IsPrimaryLocation", ParameterType="query") bool? IsPrimaryLocation; /** * Is contact details a registered location */ // @ApiMember(DataType="bool", Description="Is contact details a registered location", Name="IsRegisteredLocation", ParameterType="query") bool? IsRegisteredLocation; /** * Is contact details a postal address */ // @ApiMember(DataType="bool", Description="Is contact details a postal address", Name="IsPostal", ParameterType="query") bool? IsPostal; /** * Is contact details a phone number */ // @ApiMember(DataType="bool", Description="Is contact details a phone number", Name="IsPhone", ParameterType="query") bool? IsPhone; /** * Email Signature Id */ // @ApiMember(DataType="Guid", Description="Email Signature Id", Name="EmailSignatureId", ParameterType="query") String? EmailSignatureId; /** * Email Signature HTML */ // @ApiMember(DataType="string", Description="Email Signature HTML", Name="EmailSignatureHTML", ParameterType="query") String? EmailSignatureHTML; /** * Email Signature Text */ // @ApiMember(DataType="string", Description="Email Signature Text", Name="EmailSignatureText", ParameterType="query") String? EmailSignatureText; /** * API Key from Framework */ // @ApiMember(DataType="string", Description="API Key from Framework", Name="ApiFrameworkAlternateKey", ParameterType="query") String? ApiFrameworkAlternateKey; ContactDetailModel({this.ContactMethodId,this.ContactMethodName,this.ContactAddress,this.ContactPhone,this.CountryId,this.ContactDetails,this.Notes,this.ContactDetailsCode,this.OrderContactMethod,this.IsPrimaryContactMethod,this.IsAddress,this.ContactContactDetailId,this.ContactId,this.ContactDetailId,this.IsPrimaryLocation,this.IsRegisteredLocation,this.IsPostal,this.IsPhone,this.EmailSignatureId,this.EmailSignatureHTML,this.EmailSignatureText,this.ApiFrameworkAlternateKey}); ContactDetailModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContactMethodId = json['ContactMethodId']; ContactMethodName = json['ContactMethodName']; ContactAddress = JsonConverters.fromJson(json['ContactAddress'],'ContactAddressModel',context!); ContactPhone = JsonConverters.fromJson(json['ContactPhone'],'PhoneModel',context!); CountryId = json['CountryId']; ContactDetails = json['ContactDetails']; Notes = json['Notes']; ContactDetailsCode = json['ContactDetailsCode']; OrderContactMethod = json['OrderContactMethod']; IsPrimaryContactMethod = json['IsPrimaryContactMethod']; IsAddress = json['IsAddress']; ContactContactDetailId = json['ContactContactDetailId']; ContactId = json['ContactId']; ContactDetailId = json['ContactDetailId']; IsPrimaryLocation = json['IsPrimaryLocation']; IsRegisteredLocation = json['IsRegisteredLocation']; IsPostal = json['IsPostal']; IsPhone = json['IsPhone']; EmailSignatureId = json['EmailSignatureId']; EmailSignatureHTML = json['EmailSignatureHTML']; EmailSignatureText = json['EmailSignatureText']; ApiFrameworkAlternateKey = json['ApiFrameworkAlternateKey']; return this; } Map toJson() => { 'ContactMethodId': ContactMethodId, 'ContactMethodName': ContactMethodName, 'ContactAddress': JsonConverters.toJson(ContactAddress,'ContactAddressModel',context!), 'ContactPhone': JsonConverters.toJson(ContactPhone,'PhoneModel',context!), 'CountryId': CountryId, 'ContactDetails': ContactDetails, 'Notes': Notes, 'ContactDetailsCode': ContactDetailsCode, 'OrderContactMethod': OrderContactMethod, 'IsPrimaryContactMethod': IsPrimaryContactMethod, 'IsAddress': IsAddress, 'ContactContactDetailId': ContactContactDetailId, 'ContactId': ContactId, 'ContactDetailId': ContactDetailId, 'IsPrimaryLocation': IsPrimaryLocation, 'IsRegisteredLocation': IsRegisteredLocation, 'IsPostal': IsPostal, 'IsPhone': IsPhone, 'EmailSignatureId': EmailSignatureId, 'EmailSignatureHTML': EmailSignatureHTML, 'EmailSignatureText': EmailSignatureText, 'ApiFrameworkAlternateKey': ApiFrameworkAlternateKey }; getTypeName() => "ContactDetailModel"; TypeContext? context = _ctx; } class UserProfileModel extends UserProfileSummaryModel implements IConvertible { /** * Contact Date of Birth (when person type) */ // @ApiMember(DataType="DateTime?", Description="Contact Date of Birth (when person type)", Name="BirthDate", ParameterType="query") DateTime? BirthDate; /** * Contact marital status (when person type) */ // @ApiMember(DataType="string", Description="Contact marital status (when person type)", Name="MaritalStatusName", ParameterType="query") String? MaritalStatusName; /** * Contact gender (when person type) */ // @ApiMember(DataType="string", Description="Contact gender (when person type)", Name="GenderName", ParameterType="query") String? GenderName; /** * The Gender Guid of the contact. */ // @ApiMember(DataType="Guid", Description="The Gender Guid of the contact.", Name="GenderId", ParameterType="query") String? GenderId; /** * All contact details of the contact */ // @ApiMember(DataType="List", Description="All contact details of the contact", Name="ContactDetails", ParameterType="query") List? ContactDetails; /** * Primary Street Address */ // @ApiMember(DataType="ContactDetail", Description="Primary Street Address", Name="PrimaryStreetAddress ") ContactDetailModel? PrimaryStreetAddress; /** * Primary Postal Address */ // @ApiMember(DataType="ContactDetail", Description="Primary Postal Address", Name="PrimaryPostalAddress ") ContactDetailModel? PrimaryPostalAddress; /** * Primary Registered Address */ // @ApiMember(DataType="ContactDetail", Description="Primary Registered Address", Name="PrimaryRegisteredAddress ") ContactDetailModel? PrimaryRegisteredAddress; /** * Primary Email Address */ // @ApiMember(DataType="ContactDetail", Description="Primary Email Address", Name="PrimaryEmail ") ContactDetailModel? PrimaryEmail; /** * Primary Mobile Number */ // @ApiMember(DataType="ContactDetail", Description="Primary Mobile Number", Name="PrimaryMobile") ContactDetailModel? PrimaryMobile; /** * Primary Non-Mobile Number */ // @ApiMember(DataType="ContactDetail", Description="Primary Non-Mobile Number", Name="PrimaryPhone") ContactDetailModel? PrimaryPhone; /** * Primary Fax Number */ // @ApiMember(DataType="ContactDetail", Description="Primary Fax Number", Name="PrimaryFax") ContactDetailModel? PrimaryFax; /** * Primary Web Address */ // @ApiMember(DataType="ContactDetail", Description="Primary Web Address", Name="PrimaryWeb") ContactDetailModel? PrimaryWeb; /** * Social Media Twitter */ // @ApiMember(DataType="ContactDetail", Description="Social Media Twitter", Name="SocialMediaTwitter") ContactDetailModel? SocialMediaTwitter; /** * Social Media Facebook */ // @ApiMember(DataType="ContactDetail", Description="Social Media Facebook", Name="SocialMediaFacebook") ContactDetailModel? SocialMediaFacebook; /** * Social Media Instagram */ // @ApiMember(DataType="ContactDetail", Description="Social Media Instagram", Name="SocialMediaInstagram") ContactDetailModel? SocialMediaInstagram; /** * Have all connections to the contact been removed? */ // @ApiMember(DataType="bool", Description="Have all connections to the contact been removed?", Name="IsRemovedContact") bool? IsRemovedContact; /** * True if this is the users default profile. */ // @ApiMember(DataType="bool", Description="True if this is the users default profile.", Name="IsDefault", ParameterType="query") bool? IsDefault; /** * 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") bool? IsEmailEditable; /** * 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") String? PrimaryImageContent; /** * 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") String? PrimaryImageContentType; /** * Primary image file name */ // @ApiMember(DataType="string", Description="Primary image file name", Name="PrimaryImageFileName") String? PrimaryImageFileName; UserProfileModel({this.BirthDate,this.MaritalStatusName,this.GenderName,this.GenderId,this.ContactDetails,this.PrimaryStreetAddress,this.PrimaryPostalAddress,this.PrimaryRegisteredAddress,this.PrimaryEmail,this.PrimaryMobile,this.PrimaryPhone,this.PrimaryFax,this.PrimaryWeb,this.SocialMediaTwitter,this.SocialMediaFacebook,this.SocialMediaInstagram,this.IsRemovedContact,this.IsDefault,this.IsEmailEditable,this.PrimaryImageContent,this.PrimaryImageContentType,this.PrimaryImageFileName}); UserProfileModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); BirthDate = JsonConverters.fromJson(json['BirthDate'],'DateTime',context!); MaritalStatusName = json['MaritalStatusName']; GenderName = json['GenderName']; GenderId = json['GenderId']; ContactDetails = JsonConverters.fromJson(json['ContactDetails'],'List',context!); PrimaryStreetAddress = JsonConverters.fromJson(json['PrimaryStreetAddress'],'ContactDetailModel',context!); PrimaryPostalAddress = JsonConverters.fromJson(json['PrimaryPostalAddress'],'ContactDetailModel',context!); PrimaryRegisteredAddress = JsonConverters.fromJson(json['PrimaryRegisteredAddress'],'ContactDetailModel',context!); PrimaryEmail = JsonConverters.fromJson(json['PrimaryEmail'],'ContactDetailModel',context!); PrimaryMobile = JsonConverters.fromJson(json['PrimaryMobile'],'ContactDetailModel',context!); PrimaryPhone = JsonConverters.fromJson(json['PrimaryPhone'],'ContactDetailModel',context!); PrimaryFax = JsonConverters.fromJson(json['PrimaryFax'],'ContactDetailModel',context!); PrimaryWeb = JsonConverters.fromJson(json['PrimaryWeb'],'ContactDetailModel',context!); SocialMediaTwitter = JsonConverters.fromJson(json['SocialMediaTwitter'],'ContactDetailModel',context!); SocialMediaFacebook = JsonConverters.fromJson(json['SocialMediaFacebook'],'ContactDetailModel',context!); SocialMediaInstagram = JsonConverters.fromJson(json['SocialMediaInstagram'],'ContactDetailModel',context!); IsRemovedContact = json['IsRemovedContact']; IsDefault = json['IsDefault']; IsEmailEditable = json['IsEmailEditable']; PrimaryImageContent = json['PrimaryImageContent']; PrimaryImageContentType = json['PrimaryImageContentType']; PrimaryImageFileName = json['PrimaryImageFileName']; return this; } Map toJson() => super.toJson()..addAll({ 'BirthDate': JsonConverters.toJson(BirthDate,'DateTime',context!), 'MaritalStatusName': MaritalStatusName, 'GenderName': GenderName, 'GenderId': GenderId, 'ContactDetails': JsonConverters.toJson(ContactDetails,'List',context!), 'PrimaryStreetAddress': JsonConverters.toJson(PrimaryStreetAddress,'ContactDetailModel',context!), 'PrimaryPostalAddress': JsonConverters.toJson(PrimaryPostalAddress,'ContactDetailModel',context!), 'PrimaryRegisteredAddress': JsonConverters.toJson(PrimaryRegisteredAddress,'ContactDetailModel',context!), 'PrimaryEmail': JsonConverters.toJson(PrimaryEmail,'ContactDetailModel',context!), 'PrimaryMobile': JsonConverters.toJson(PrimaryMobile,'ContactDetailModel',context!), 'PrimaryPhone': JsonConverters.toJson(PrimaryPhone,'ContactDetailModel',context!), 'PrimaryFax': JsonConverters.toJson(PrimaryFax,'ContactDetailModel',context!), 'PrimaryWeb': JsonConverters.toJson(PrimaryWeb,'ContactDetailModel',context!), 'SocialMediaTwitter': JsonConverters.toJson(SocialMediaTwitter,'ContactDetailModel',context!), 'SocialMediaFacebook': JsonConverters.toJson(SocialMediaFacebook,'ContactDetailModel',context!), 'SocialMediaInstagram': JsonConverters.toJson(SocialMediaInstagram,'ContactDetailModel',context!), 'IsRemovedContact': IsRemovedContact, 'IsDefault': IsDefault, 'IsEmailEditable': IsEmailEditable, 'PrimaryImageContent': PrimaryImageContent, 'PrimaryImageContentType': PrimaryImageContentType, 'PrimaryImageFileName': PrimaryImageFileName }); getTypeName() => "UserProfileModel"; TypeContext? context = _ctx; } /** * Returns a list of Contact Profiles matching the search criteria provided. */ // @Api(Description="Returns a list of Contact Profiles matching the search criteria provided.") class SearchContact implements IReturn>, IConvertible, IGet { /** * Email Address to search for the contact on. */ // @ApiMember(DataType="string", Description="Email Address to search for the contact on.", IsRequired=true, Name="EmailAddress", ParameterType="query") String? EmailAddress; SearchContact({this.EmailAddress}); SearchContact.fromJson(Map json) { fromMap(json); } fromMap(Map json) { EmailAddress = json['EmailAddress']; return this; } Map toJson() => { 'EmailAddress': EmailAddress }; createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "SearchContact"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'pfapi.pstpf.com.au', types: { 'UserProfileSummaryModel': TypeInfo(TypeOf.Class, create:() => UserProfileSummaryModel()), 'ContactDetailModel': TypeInfo(TypeOf.Class, create:() => ContactDetailModel()), 'ContactAddressModel': TypeInfo(TypeOf.Class, create:() => ContactAddressModel()), 'PhoneModel': TypeInfo(TypeOf.Class, create:() => PhoneModel()), 'UserProfileModel': TypeInfo(TypeOf.Class, create:() => UserProfileModel()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SearchContact': TypeInfo(TypeOf.Class, create:() => SearchContact()), });