/* Options: Date: 2026-11-08 12:02:24 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CacheClearRq.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/devops/api/caches/{location}", Verbs="DELETE") open class CacheClearRq : IReturn { var location:String? = null companion object { private val responseType = CacheClearRs::class.java } override fun getResponseType(): Any? = CacheClearRq.responseType } open class CacheClearRs { var Result:CacheClearResult? = null var BeforeStatistics:CacheStatResult? = null var AfterStatistics:CacheStatResult? = null } open class CacheClearResult : CacheResultBase() { var IsCleared:Boolean? = null } open class CacheStatResult : CacheResultBase() { var Statistics:ArrayList = ArrayList() var IsHit:Boolean? = null } @Flags() enum class CacheResult(val value:Int) { @SerializedName("0") None(0), @SerializedName("1") Miss(1), @SerializedName("2") Hit(2), @SerializedName("4") Put(4), @SerializedName("8") Deleted(8), @SerializedName("16") Cleared(16), @SerializedName("32") Added(32), @SerializedName("64") Updated(64), @SerializedName("128") Unavailable(128), @SerializedName("256") Expired(256), } enum class CacheLocation(val value:Int) { @SerializedName("0") None(0), @SerializedName("1") OutOfProcess(1), @SerializedName("2") InProcess(2), @SerializedName("3") InContext(3), } open class CacheKey { var Region:String? = null var BaseKey:String? = null var Key:String? = null var ExpirationSeconds:Int? = null } open class CacheResultBase { var Result:CacheResult? = null var Location:CacheLocation? = null var Key:CacheKey? = null } open class CacheStat { var Name:String? = null var Value:String? = null }