/* Options: Date: 2026-04-04 04:52:46 SwiftVersion: 6.0 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pfapi.pstpf.com.au/api //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: AddComment.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Add a comment to the specified object. */ // @Route("/comment", "POST") // @Api(Description="Add a comment to the specified object.") public class AddComment : IReturn, Codable { public typealias Return = SendCommunicationResponse /** * Object linked to the comment. */ // @ApiMember(DataType="Guid", Description="Object linked to the comment.", IsRequired=true, Name="ConnectedObjectId") public var connectedObjectId:String? /** * Comment content */ // @ApiMember(DataType="string", Description="Comment content", IsRequired=true, Name="Comment") public var comment:String? /** * The comment suite id */ // @ApiMember(DataType="Guid", Description="The comment suite id", Name="SuiteId") public var suiteId:String? required public init(){} } // @ApiResponse(Description="Returns the communication id and response status.") public class SendCommunicationResponse : Codable { public var communicationId:String? public var responseStatus:ResponseStatus? required public init(){} }