/* Options: Date: 2024-06-26 04:19:12 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddSupportCaseComment.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* 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.") var CompanyId:UUID? = null /** * The support case id */ @ApiMember(Description="The support case id", IsRequired=true, ParameterType="path") var Id:Int? = null /** * The case comment. */ @ApiMember(Description="The case comment.") 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") var SupportCaseId:Int? = null /** * The comments id */ @ApiMember(Description="The comments id") var Id:Int? = null /** * The case comment */ @ApiMember(Description="The case comment") var Comment:String? = null /** * The case comment created by */ @ApiMember(Description="The case comment created by") var CreatedBy:String? = null /** * The case comment created date */ @ApiMember(Description="The case comment created date") var Created:Date? = null } open interface ICompany { var CompanyId:UUID? } open interface ISupportCase : ICompany { var Id:Int? }