/* Options: Date: 2026-04-04 01:02:10 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: AddComment.* //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); } } // @ApiResponse(Description="Returns the communication id and response status.") export class SendCommunicationResponse { public CommunicationId: string; public ResponseStatus: ResponseStatus; public constructor(init?: Partial) { (Object as any).assign(this, init); } } /** @description Add a comment to the specified object. */ // @Route("/comment", "POST") // @Api(Description="Add a comment to the specified object.") export class AddComment implements IReturn { /** @description Object linked to the comment. */ // @ApiMember(DataType="Guid", Description="Object linked to the comment.", IsRequired=true, Name="ConnectedObjectId") public ConnectedObjectId: string; /** @description Comment content */ // @ApiMember(DataType="string", Description="Comment content", IsRequired=true, Name="Comment") public Comment: string; /** @description The comment suite id */ // @ApiMember(DataType="Guid", Description="The comment suite id", Name="SuiteId") public SuiteId: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'AddComment'; } public getMethod() { return 'POST'; } public createResponse() { return new SendCommunicationResponse(); } }