/* Options: Date: 2026-11-08 11:30:56 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CacheClearRq.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/devops/api/caches/{location}", Verbs="DELETE") public static class CacheClearRq implements IReturn { public String location = null; public String getLocation() { return location; } public CacheClearRq setLocation(String value) { this.location = value; return this; } private static Object responseType = CacheClearRs.class; public Object getResponseType() { return responseType; } } public static class CacheClearRs { public CacheClearResult Result = null; public CacheStatResult BeforeStatistics = null; public CacheStatResult AfterStatistics = null; public CacheClearResult getResult() { return Result; } public CacheClearRs setResult(CacheClearResult value) { this.Result = value; return this; } public CacheStatResult getBeforeStatistics() { return BeforeStatistics; } public CacheClearRs setBeforeStatistics(CacheStatResult value) { this.BeforeStatistics = value; return this; } public CacheStatResult getAfterStatistics() { return AfterStatistics; } public CacheClearRs setAfterStatistics(CacheStatResult value) { this.AfterStatistics = value; return this; } } public static class CacheClearResult extends CacheResultBase { public Boolean IsCleared = null; public Boolean getIsCleared() { return IsCleared; } public CacheClearResult setIsCleared(Boolean value) { this.IsCleared = value; return this; } } public static class CacheStatResult extends CacheResultBase { public ArrayList Statistics = null; public Boolean IsHit = null; public ArrayList getStatistics() { return Statistics; } public CacheStatResult setStatistics(ArrayList value) { this.Statistics = value; return this; } public Boolean getIsHit() { return IsHit; } public CacheStatResult setIsHit(Boolean value) { this.IsHit = value; return this; } } @Flags() public static enum CacheResult { @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); private final int value; CacheResult(final int intValue) { value = intValue; } public int getValue() { return value; } } public static enum CacheLocation { @SerializedName("0") None(0), @SerializedName("1") OutOfProcess(1), @SerializedName("2") InProcess(2), @SerializedName("3") InContext(3); private final int value; CacheLocation(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class CacheKey { public String Region = null; public String BaseKey = null; public String Key = null; public Integer ExpirationSeconds = null; public String getRegion() { return Region; } public CacheKey setRegion(String value) { this.Region = value; return this; } public String getBaseKey() { return BaseKey; } public CacheKey setBaseKey(String value) { this.BaseKey = value; return this; } public String getKey() { return Key; } public CacheKey setKey(String value) { this.Key = value; return this; } public Integer getExpirationSeconds() { return ExpirationSeconds; } public CacheKey setExpirationSeconds(Integer value) { this.ExpirationSeconds = value; return this; } } public static class CacheResultBase { public CacheResult Result = null; public CacheLocation Location = null; public CacheKey Key = null; public CacheResult getResult() { return Result; } public CacheResultBase setResult(CacheResult value) { this.Result = value; return this; } public CacheLocation getLocation() { return Location; } public CacheResultBase setLocation(CacheLocation value) { this.Location = value; return this; } public CacheKey getKey() { return Key; } public CacheResultBase setKey(CacheKey value) { this.Key = value; return this; } } public static class CacheStat { public String Name = null; public String Value = null; public String getName() { return Name; } public CacheStat setName(String value) { this.Name = value; return this; } public String getValue() { return Value; } public CacheStat setValue(String value) { this.Value = value; return this; } } }