/* Options: Date: 2026-04-04 01:20:15 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: GetObjectConnections.* //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.* /** * Get object connections for the specified object and connection method. */ @Route(Path="/objects/{RmsTableCtxIdConnectionMethod}/connectionsFrom/{FromObjectId}", Verbs="GET") // @Route(Path="/objects/{RmsTableCtxIdConnectionMethod}/connectionsTo/{ToObjectId}", Verbs="GET") @Api(Description="Get object connections for the specified object and connection method.") open class GetObjectConnections : 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 /** * Status of object Connections to retrieve, if not specified active connections are retrieved by default. */ @ApiMember(DataType="string", Description="Status of object Connections to retrieve, if not specified active connections are retrieved by default.", Name="RecordStatus", ParameterType="query") open var RecordStatus:String? = null companion object { private val responseType = GetObjectConnectionsResponse::class.java } override fun getResponseType(): Any? = GetObjectConnections.responseType } @ApiResponse(Description="Returns the connections for the specified object.") open class GetObjectConnectionsResponse { open var ObjectConnections:ArrayList? = null open var ResponseStatus:ResponseStatus? = null } open class ObjectConnectionModel { open var ObjectConnectionId:UUID? = null open var ObjectIdFrom:UUID? = null open var ObjectFromReference:String? = null open var ObjectToReference:String? = null open var ObjectIdTo:UUID? = null open var ConnectionMethodId:UUID? = null open var ObjectFromName:String? = null open var ObjectToName:String? = null open var RecordStatus:String? = null }