/* Options: Date: 2026-04-04 04:51:13 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: SaveObjectConnection.* //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. */ // @Route("/objects/{FromObjectId}/{ToObjectId}/{RmsTableCtxIdConnectionMethod}", "POST") // @Api(Description="Creates or Updates a new connection between two objects.") public class SaveObjectConnection : IReturn, Codable { public typealias Return = SaveObjectConnectionResponse /** * 'From' object ID in the connection. */ // @ApiMember(DataType="Guid", Description="'From' object ID in the connection.", IsRequired=true, Name="FromObjectId", ParameterType="query") public var fromObjectId:String? /** * 'To' object ID in the connection. */ // @ApiMember(DataType="Guid", Description="'To' object ID in the connection.", IsRequired=true, Name="ToObjectId", ParameterType="query") public var toObjectId:String? /** * Guid representing the Connection Method to use to connect the objects with. */ // @ApiMember(DataType="Guid", Description="Guid representing the Connection Method to use to connect the objects with.", IsRequired=true, Name="RmsTableCtxIdConnectionMethod", ParameterType="query") public var rmsTableCtxIdConnectionMethod:String? required public init(){} } // @ApiResponse(Description="Returns the object connection Id created/modified and success of the save.") public class SaveObjectConnectionResponse : Codable { public var objectConnectionId:String? public var responseStatus:ResponseStatus? required public init(){} }