* V1PodTemplateSpec implements IMetadata interface This will allow using the ModelExteions methods over V1PodTemplateSpec * Typo
30 lines
859 B
C#
30 lines
859 B
C#
namespace k8s.Models
|
|
{
|
|
public class PodMetricsList : IMetadata<V1ObjectMeta>
|
|
{
|
|
/// <summary>
|
|
/// Defines the versioned schema of this representation of an object.
|
|
/// </summary>
|
|
[JsonPropertyName("apiVersion")]
|
|
public string ApiVersion { get; set; }
|
|
|
|
/// <summary>
|
|
/// Defines the REST resource this object represents.
|
|
/// </summary>
|
|
[JsonPropertyName("kind")]
|
|
public string Kind { get; set; }
|
|
|
|
/// <summary>
|
|
/// The kubernetes standard object's metadata.
|
|
/// </summary>
|
|
[JsonPropertyName("metadata")]
|
|
public V1ObjectMeta Metadata { get; set; }
|
|
|
|
/// <summary>
|
|
/// The list of pod metrics.
|
|
/// </summary>
|
|
[JsonPropertyName("items")]
|
|
public IEnumerable<PodMetrics> Items { get; set; }
|
|
}
|
|
}
|