/* Options: Date: 2026-04-04 01:02:34 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: InviteContact.* //ExcludeTypes: //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.*; public class dtos { @Route(Path="/contacts/{ContactId}/invite/contact") // @Route(Path="/contacts/{ContactId}/invite/{ToContactId}") public static class InviteContact implements IReturn { /** * Contact Id inviting the contact */ @ApiMember(DataType="Guid", Description="Contact Id inviting the contact", IsRequired=true, Name="ContactId") public UUID ContactId = 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") public UUID ToContactId = 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") public String EmailAddress = null; /** * List of roles to invite the contact */ @ApiMember(DataType="List", Description="List of roles to invite the contact", IsRequired=true, Name="Roles") public ArrayList Roles = new ArrayList(); public UUID getContactId() { return ContactId; } public InviteContact setContactId(UUID value) { this.ContactId = value; return this; } public UUID getToContactId() { return ToContactId; } public InviteContact setToContactId(UUID value) { this.ToContactId = value; return this; } public String getEmailAddress() { return EmailAddress; } public InviteContact setEmailAddress(String value) { this.EmailAddress = value; return this; } public ArrayList getRoles() { return Roles; } public InviteContact setRoles(ArrayList value) { this.Roles = value; return this; } private static Object responseType = AddContactResponse.class; public Object getResponseType() { return responseType; } } @ApiResponse(Description="Contact Id of the newly invited/ created contact") public static class AddContactResponse { public UUID ContactId = null; public ResponseStatus ResponseStatus = null; public UUID getContactId() { return ContactId; } public AddContactResponse setContactId(UUID value) { this.ContactId = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public AddContactResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } }