2020-08-03 06:53:42 +02:00
|
|
|
namespace k8s.Models
|
|
|
|
|
{
|
2022-09-12 09:47:24 +02:00
|
|
|
public class PodMetricsList : IMetadata<V1ObjectMeta>
|
2020-08-03 06:53:42 +02:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Defines the versioned schema of this representation of an object.
|
|
|
|
|
/// </summary>
|
2021-12-13 07:31:59 -08:00
|
|
|
[JsonPropertyName("apiVersion")]
|
2020-08-03 06:53:42 +02:00
|
|
|
public string ApiVersion { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Defines the REST resource this object represents.
|
|
|
|
|
/// </summary>
|
2021-12-13 07:31:59 -08:00
|
|
|
[JsonPropertyName("kind")]
|
2020-08-03 06:53:42 +02:00
|
|
|
public string Kind { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The kubernetes standard object's metadata.
|
|
|
|
|
/// </summary>
|
2021-12-13 07:31:59 -08:00
|
|
|
[JsonPropertyName("metadata")]
|
2020-08-03 06:53:42 +02:00
|
|
|
public V1ObjectMeta Metadata { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The list of pod metrics.
|
|
|
|
|
/// </summary>
|
2021-12-13 07:31:59 -08:00
|
|
|
[JsonPropertyName("items")]
|
2020-08-03 06:53:42 +02:00
|
|
|
public IEnumerable<PodMetrics> Items { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|