/* Options: Date: 2026-04-04 08:36:37 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetObjectConnections.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export class ObjectConnectionModel { public ObjectConnectionId: string; public ObjectIdFrom: string; public ObjectFromReference: string; public ObjectToReference: string; public ObjectIdTo: string; public ConnectionMethodId: string; public ObjectFromName: string; public ObjectToName: string; public RecordStatus: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @DataContract export class ResponseStatus { // @DataMember(Order=1) public ErrorCode: string; // @DataMember(Order=2) public Message: string; // @DataMember(Order=3) public StackTrace: string; // @DataMember(Order=4) public Errors: ResponseError[]; // @DataMember(Order=5) public Meta: { [index:string]: string; }; public constructor(init?: Partial) { (Object as any).assign(this, init); } } // @ApiResponse(Description="Returns the connections for the specified object.") export class GetObjectConnectionsResponse { public ObjectConnections: ObjectConnectionModel[]; public ResponseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Get object connections for the specified object and connection method. */ // @Route("/objects/{RmsTableCtxIdConnectionMethod}/connectionsFrom/{FromObjectId}", "GET") // @Route("/objects/{RmsTableCtxIdConnectionMethod}/connectionsTo/{ToObjectId}", "GET") // @Api(Description="Get object connections for the specified object and connection method.") export class GetObjectConnections implements IReturn { /** @description 'From' object ID in the connection. */ // @ApiMember(DataType="Guid", Description="'From' object ID in the connection.", IsRequired=true, Name="FromObjectId", ParameterType="query") public FromObjectId: string; /** @description 'To' object ID in the connection. */ // @ApiMember(DataType="Guid", Description="'To' object ID in the connection.", IsRequired=true, Name="ToObjectId", ParameterType="query") public ToObjectId: string; /** @description 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 RmsTableCtxIdConnectionMethod: string; /** @description 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") public RecordStatus: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetObjectConnections'; } public getMethod() { return 'GET'; } public createResponse() { return new GetObjectConnectionsResponse(); } }