/* Options: Date: 2025-09-13 18:02:49 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddSupportCaseComment.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/support/cases/{Id}/comments", Verbs="POST") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403) @ValidateRequest(Validator="IsAuthenticated") open class AddSupportCaseComment : IReturn, ISupportCase { /** * Enter the company id, if blank company id and you are an admin, your company id will be used. */ @ApiMember(Description="Enter the company id, if blank company id and you are an admin, your company id will be used.") open var CompanyId:UUID? = null /** * The support case id */ @ApiMember(Description="The support case id", IsRequired=true, ParameterType="path") override var Id:Int? = null /** * The case comment. */ @ApiMember(Description="The case comment.") open var Comment:String? = null companion object { private val responseType = SupportCaseCommentsResponse::class.java } override fun getResponseType(): Any? = AddSupportCaseComment.responseType } open class SupportCaseCommentsResponse { /** * The case id */ @ApiMember(Description="The case id") open var SupportCaseId:Int? = null /** * The comments id */ @ApiMember(Description="The comments id") open var Id:Int? = null /** * The case comment */ @ApiMember(Description="The case comment") open var Comment:String? = null /** * The case comment created by */ @ApiMember(Description="The case comment created by") open var CreatedBy:String? = null /** * The case comment created date */ @ApiMember(Description="The case comment created date") open var Created:Date? = null } interface ICompany { var CompanyId:UUID? } interface ISupportCase : ICompany { var Id:Int? }