/* Options: Date: 2026-04-04 01:02:05 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: ConnectionStatusUpdate.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } // @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); } } export class ConnectionStatusUpdateResponse { public ResponseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Update the status of the specified connection */ // @Route("/connections/{ConnectionId}/cancel") // @Route("/connections/{ConnectionId}/remove") // @Api(Description="Update the status of the specified connection") export class ConnectionStatusUpdate implements IReturn { /** @description Connection to be updated */ // @ApiMember(Description="Connection to be updated", IsRequired=true, Name="ConnectionId") public ConnectionId: string; /** @description Id of the contact linked to the connection */ // @ApiMember(Description="Id of the contact linked to the connection", IsRequired=true, Name="ContactId") public ContactId: string; /** @description Type of contact being connected with. For e.g. Real Person, Virtual Person etc. */ // @ApiMember(DataType="Guid", Description="Type of contact being connected with. For e.g. Real Person, Virtual Person etc.", IsRequired=true, Name="ContactTypeId") public ContactTypeId: string; /** @description Role Id linked to the connection request */ // @ApiMember(Description="Role Id linked to the connection request", IsRequired=true, Name="RoleId") public RoleId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'ConnectionStatusUpdate'; } public getMethod() { return 'PUT'; } public createResponse() { return new ConnectionStatusUpdateResponse(); } }