using Newtonsoft.Json; using System.Collections.Generic; namespace k8s.Models { /// /// Describes the resource usage metrics of a container pull from metrics server API. /// public class ContainerMetrics { /// /// Defines container name corresponding to the one from pod.spec.containers. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// /// The resource usage. /// [JsonProperty(PropertyName = "usage")] public IDictionary Usage { get; set; } } }