/* Options: Date: 2026-04-04 02:55:35 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: SaveObjectConnectionForRoles.* //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 { /** * Creates or Updates a new connection between two objects with connection type as link to associated role. */ @Route(Path="/roles/{FromRoleId}/associatedroles/safetystaff/{ToRoleId}", Verbs="POST") // @Route(Path="/roles/{FromRoleId}/associatedroles/organisation/{ToRoleId}", Verbs="POST") @Api(Description="Creates or Updates a new connection between two objects with connection type as link to associated role.") public static class SaveObjectConnectionForRoles implements IReturn { /** * 'From' object ID in the connection. */ @ApiMember(DataType="Guid", Description="'From' object ID in the connection.", IsRequired=true, Name="FromRoleId", ParameterType="query") public UUID FromRoleId = null; /** * 'To' object ID in the connection. */ @ApiMember(DataType="Guid", Description="'To' object ID in the connection.", IsRequired=true, Name="ToRoleId", ParameterType="query") public UUID ToRoleId = null; public UUID getFromRoleId() { return FromRoleId; } public SaveObjectConnectionForRoles setFromRoleId(UUID value) { this.FromRoleId = value; return this; } public UUID getToRoleId() { return ToRoleId; } public SaveObjectConnectionForRoles setToRoleId(UUID value) { this.ToRoleId = value; return this; } private static Object responseType = SaveObjectConnectionForRolesResponse.class; public Object getResponseType() { return responseType; } } @ApiResponse(Description="Returns the object connection Id created/modified and success of the save.") public static class SaveObjectConnectionForRolesResponse { public ResponseStatus ResponseStatus = null; public ResponseStatus getResponseStatus() { return ResponseStatus; } public SaveObjectConnectionForRolesResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } }