/* Options: Date: 2026-04-04 03:04:26 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: SaveObjectConnectionForRoles.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Creates or Updates a new connection between two objects with connection type as link to associated role. */ // @Route("/roles/{FromRoleId}/associatedroles/safetystaff/{ToRoleId}", "POST") // @Route("/roles/{FromRoleId}/associatedroles/organisation/{ToRoleId}", "POST") // @Api(Description="Creates or Updates a new connection between two objects with connection type as link to associated role.") public class SaveObjectConnectionForRoles : IReturn, Codable { public typealias Return = SaveObjectConnectionForRolesResponse /** * 'From' object ID in the connection. */ // @ApiMember(DataType="Guid", Description="'From' object ID in the connection.", IsRequired=true, Name="FromRoleId", ParameterType="query") public var fromRoleId:String? /** * 'To' object ID in the connection. */ // @ApiMember(DataType="Guid", Description="'To' object ID in the connection.", IsRequired=true, Name="ToRoleId", ParameterType="query") public var toRoleId:String? required public init(){} } // @ApiResponse(Description="Returns the object connection Id created/modified and success of the save.") public class SaveObjectConnectionForRolesResponse : Codable { public var responseStatus:ResponseStatus? required public init(){} }