/* Options: Date: 2026-04-04 01:06:23 SwiftVersion: 6.0 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: InviteContact.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/contacts/{ContactId}/invite/contact") // @Route("/contacts/{ContactId}/invite/{ToContactId}") public class InviteContact : IReturn, Codable { public typealias Return = AddContactResponse /** * Contact Id inviting the contact */ // @ApiMember(DataType="Guid", Description="Contact Id inviting the contact", IsRequired=true, Name="ContactId") public var contactId:String? /** * Contact Id of the virtual contact invited to be real. */ // @ApiMember(DataType="Guid", Description="Contact Id of the virtual contact invited to be real.", Name="ToContactId") public var toContactId:String? /** * Email Address of the real/ virtual contact to be invited. */ // @ApiMember(DataType="string", Description="Email Address of the real/ virtual contact to be invited.", IsRequired=true, Name="EmailAddress") public var emailAddress:String? /** * List of roles to invite the contact */ // @ApiMember(DataType="List", Description="List of roles to invite the contact", IsRequired=true, Name="Roles") public var roles:[String] = [] required public init(){} } // @ApiResponse(Description="Contact Id of the newly invited/ created contact") public class AddContactResponse : Codable { public var contactId:String? public var responseStatus:ResponseStatus? required public init(){} }