Files
csharp/src/KubernetesClient/PodMetricsList.cs

33 lines
935 B
C#
Raw Normal View History

using Newtonsoft.Json;
using System.Collections.Generic;
namespace k8s.Models
{
public class PodMetricsList
{
/// <summary>
/// Defines the versioned schema of this representation of an object.
/// </summary>
[JsonProperty(PropertyName = "apiVersion")]
public string ApiVersion { get; set; }
/// <summary>
/// Defines the REST resource this object represents.
/// </summary>
[JsonProperty(PropertyName = "kind")]
public string Kind { get; set; }
/// <summary>
/// The kubernetes standard object's metadata.
/// </summary>
[JsonProperty(PropertyName = "metadata")]
public V1ObjectMeta Metadata { get; set; }
/// <summary>
/// The list of pod metrics.
/// </summary>
[JsonProperty(PropertyName = "items")]
public IEnumerable<PodMetrics> Items { get; set; }
}
}