""" Options: Date: 2026-04-04 02:56:28 Version: 8.52 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: AddComment.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum # @ApiResponse(Description="Returns the communication id and response status.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class SendCommunicationResponse: communication_id: Optional[str] = None response_status: Optional[ResponseStatus] = None # @Route("/comment", "POST") # @Api(Description="Add a comment to the specified object.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class AddComment(IReturn[SendCommunicationResponse]): """ Add a comment to the specified object. """ # @ApiMember(DataType="Guid", Description="Object linked to the comment.", IsRequired=true, Name="ConnectedObjectId") connected_object_id: Optional[str] = None """ Object linked to the comment. """ # @ApiMember(DataType="string", Description="Comment content", IsRequired=true, Name="Comment") comment: Optional[str] = None """ Comment content """ # @ApiMember(DataType="Guid", Description="The comment suite id", Name="SuiteId") suite_id: Optional[str] = None """ The comment suite id """