/* Options: Date: 2025-04-05 01:42:37 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: CreateCompanyCommentSuperAdminUser.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/superadmin/company/{CompanyId}/comments", Verbs="POST") @ApiResponse(Description="", StatusCode=400) // @ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401) open class CreateCompanyCommentSuperAdminUser : IReturn, ICompany { /** * Enter the companyId for the customer */ @ApiMember(Description="Enter the companyId for the customer", IsRequired=true, ParameterType="query") var CompanyId:UUID? = null @ApiMember(IsRequired=true) var Comment:String? = null @ApiMember(IsRequired=true) var CommentType:CommentsType? = null companion object { private val responseType = CompanyCommentsResponse::class.java } override fun getResponseType(): Any? = CreateCompanyCommentSuperAdminUser.responseType } open class CompanyCommentsResponse { @ApiMember() var CompanyId:UUID? = null @ApiMember() var Id:Int? = null @ApiMember(IsRequired=true) var Comment:String? = null @ApiMember(IsRequired=true) var CommentTypeId:CommentsType? = null @ApiMember(IsRequired=true) var CommentType:CommentsTypeResponse? = null /** * The updated date */ @ApiMember(Description="The updated date") var Updated:Date? = null /** * The created date */ @ApiMember(Description="The created date") var Created:Date? = null /** * The created by */ @ApiMember(Description="The created by") var CreatedBy:String? = null } open interface ICompany { var CompanyId:UUID? } enum class CommentsType(val value:Int) { NormalComment(1), CallBackPhoneComment(2), CallBackEmailComment(3), CallBackMeetingBookedComment(4), CallBackNotInterestedComment(5), } open class CommentsType : BaseModel() { var Id:Int? = null var Name:String? = null var Description:String? = null var ModifiedDate:Date? = null } open class CommentsTypeResponse { var Id:Int? = null var Name:String? = null var Description:String? = null }