/* Options: Date: 2026-04-04 08:39: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: InviteContact.* //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.* @Route(Path="/contacts/{ContactId}/invite/contact") // @Route(Path="/contacts/{ContactId}/invite/{ToContactId}") open class InviteContact : IReturn { /** * Contact Id inviting the contact */ @ApiMember(DataType="Guid", Description="Contact Id inviting the contact", IsRequired=true, Name="ContactId") open var ContactId:UUID? = null /** * 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") open var ToContactId:UUID? = null /** * 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") open var EmailAddress:String? = null /** * List of roles to invite the contact */ @ApiMember(DataType="List", Description="List of roles to invite the contact", IsRequired=true, Name="Roles") open var Roles:ArrayList = ArrayList() companion object { private val responseType = AddContactResponse::class.java } override fun getResponseType(): Any? = InviteContact.responseType } @ApiResponse(Description="Contact Id of the newly invited/ created contact") open class AddContactResponse { open var ContactId:UUID? = null open var ResponseStatus:ResponseStatus? = null }