/* Options: Date: 2026-04-04 08:36:27 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: SaveObjectConnection.* //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.* /** * Creates or Updates a new connection between two objects. */ @Route(Path="/objects/{FromObjectId}/{ToObjectId}/{RmsTableCtxIdConnectionMethod}", Verbs="POST") @Api(Description="Creates or Updates a new connection between two objects.") open class SaveObjectConnection : IReturn { /** * 'From' object ID in the connection. */ @ApiMember(DataType="Guid", Description="'From' object ID in the connection.", IsRequired=true, Name="FromObjectId", ParameterType="query") open var FromObjectId:UUID? = null /** * 'To' object ID in the connection. */ @ApiMember(DataType="Guid", Description="'To' object ID in the connection.", IsRequired=true, Name="ToObjectId", ParameterType="query") open var ToObjectId:UUID? = null /** * 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") open var RmsTableCtxIdConnectionMethod:UUID? = null companion object { private val responseType = SaveObjectConnectionResponse::class.java } override fun getResponseType(): Any? = SaveObjectConnection.responseType } @ApiResponse(Description="Returns the object connection Id created/modified and success of the save.") open class SaveObjectConnectionResponse { open var ObjectConnectionId:UUID? = null open var ResponseStatus:ResponseStatus? = null }