/* Options: Date: 2026-11-08 11:31:58 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: CacheStatsRq.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using BH.Caching; using BH.CloudAPI.DTO.Caching.Api.Request; using BH.CloudAPI.DTO.Caching.Api.Response; namespace BH.Caching { public partial class CacheKey { public virtual string Region { get; set; } public virtual string BaseKey { get; set; } public virtual string Key { get; set; } public virtual int ExpirationSeconds { get; set; } } public enum CacheLocation { None = 0, OutOfProcess = 1, InProcess = 2, InContext = 3, } [Flags] public enum CacheResult { None = 0, Miss = 1, Hit = 2, Put = 4, Deleted = 8, Cleared = 16, Added = 32, Updated = 64, Unavailable = 128, Expired = 256, } public partial class CacheResultBase { public virtual CacheResult Result { get; set; } public virtual CacheLocation Location { get; set; } public virtual CacheKey Key { get; set; } } public partial class CacheStat { public virtual string Name { get; set; } public virtual string Value { get; set; } } public partial class CacheStatResult : CacheResultBase { public CacheStatResult() { Statistics = new List{}; } public virtual List Statistics { get; set; } public virtual bool IsHit { get; set; } } } namespace BH.CloudAPI.DTO.Caching.Api.Request { [Route("/devops/api/caches/{location}/stats", "GET")] public partial class CacheStatsRq : IReturn { public virtual string location { get; set; } } } namespace BH.CloudAPI.DTO.Caching.Api.Response { public partial class CacheStatsRs { public virtual CacheStatResult Statistics { get; set; } } }