/* Options: Date: 2025-09-13 18:32:19 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: SuperAdminUpdateSupportCase.* //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="/superadmin/support/cases/{Id}", Verbs="PUT") @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 SuperAdminUpdateSupportCase : 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.", IsRequired=true) open var CompanyId:UUID? = null /** * The support case id */ @ApiMember(Description="The support case id", ParameterType="path") override var Id:Int? = null /** * The case title. */ @ApiMember(Description="The case title.") open var Title:String? = null /** * The case description. */ @ApiMember(Description="The case description.") open var Description:String? = null /** * If the case type id. */ @ApiMember(Description="If the case type id.") open var CaseTypeId:Int? = null /** * If the case area id. */ @ApiMember(Description="If the case area id.") open var CaseAreaId:Int? = null companion object { private val responseType = SupportCaseQueryResponse::class.java } override fun getResponseType(): Any? = SuperAdminUpdateSupportCase.responseType } open class SupportCaseQueryResponse { /** * The support case id */ @ApiMember(Description="The support case id") open var Id:Int? = null /** * The company user id */ @ApiMember(Description="The company user id") open var CompanyUserId:UUID? = null /** * The case title. */ @ApiMember(Description="The case title.") open var Title:String? = null /** * The case description. */ @ApiMember(Description="The case description.") open var Description:String? = null /** * The case status id. */ @ApiMember(Description="The case status id.") open var CaseStatusId:Int? = null /** * If the case type id. */ @ApiMember(Description="If the case type id.") open var CaseTypeId:Int? = null /** * If the case area id. */ @ApiMember(Description="If the case area id.") open var CaseAreaId:Int? = null /** * The case created by. */ @ApiMember(Description="The case created by.") open var CreatedBy:String? = null /** * The case updated by. */ @ApiMember(Description="The case updated by.") open var UpdatedBy:String? = null /** * The case solved by. */ @ApiMember(Description="The case solved by.") open var SolvedBy:String? = null /** * If case updated date. */ @ApiMember(Description="If case updated date.") open var Updated:Date? = null /** * If case created date. */ @ApiMember(Description="If case created date.") open var Created:Date? = null /** * Who owns the support case. */ @ApiMember(Description="Who owns the support case.") open var CaseOwner:String? = null /** * The case status information. */ @ApiMember(Description="The case status information.") open var CaseStatus:SupportCaseStatusResponse? = null /** * The case type information. */ @ApiMember(Description="The case type information.") open var CaseType:SupportCaseTypeResponse? = null /** * The case area information. */ @ApiMember(Description="The case area information.") open var CaseArea:SupportCaseAreaResponse? = null /** * The case comments. */ @ApiMember(Description="The case comments.") open var Comments:ArrayList? = null /** * The case attachments. */ @ApiMember(Description="The case attachments.") open var Attachments:ArrayList? = null /** * The case status options to select from. */ @ApiMember(Description="The case status options to select from.") open var CaseStatusOptions:ArrayList? = null /** * The case type options to select from. */ @ApiMember(Description="The case type options to select from.") open var CaseTypeOptions:ArrayList? = null /** * The case area options to select from. */ @ApiMember(Description="The case area options to select from.") open var CaseAreaOptions:ArrayList? = null } interface ICompany { var CompanyId:UUID? } open class SupportCaseStatusResponse { /** * The status id */ @ApiMember(Description="The status id") open var Id:Int? = null /** * The status name */ @ApiMember(Description="The status name") open var Name:String? = null /** * The status description */ @ApiMember(Description="The status description") open var Description:String? = null /** * The status icon */ @ApiMember(Description="The status icon") open var Icon:String? = null /** * The status color */ @ApiMember(Description="The status color") open var Color:String? = null } open class SupportCaseTypeResponse { /** * The type id */ @ApiMember(Description="The type id") open var Id:Int? = null /** * The type name */ @ApiMember(Description="The type name") open var Name:String? = null /** * The type description */ @ApiMember(Description="The type description") open var Description:String? = null } open class SupportCaseAreaResponse { /** * The area id */ @ApiMember(Description="The area id") open var Id:Int? = null /** * The area name */ @ApiMember(Description="The area name") open var Name:String? = null /** * The area description */ @ApiMember(Description="The area description") open var Description:String? = null } interface ISupportCase : ICompany { var Id:Int? } 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 } open class SupportCaseAttachmentResponse { /** * The attachment id */ @ApiMember(Description="The attachment id") open var Id:Int? = null /** * The attachment file url */ @ApiMember(Description="The attachment file url") open var FileUrl:String? = null }