// // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // namespace k8s.Models { using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; /// /// PersistentVolumeClaimStatus is the current status of a persistent /// volume claim. /// public partial class V1PersistentVolumeClaimStatus { /// /// Initializes a new instance of the V1PersistentVolumeClaimStatus /// class. /// public V1PersistentVolumeClaimStatus() { CustomInit(); } /// /// Initializes a new instance of the V1PersistentVolumeClaimStatus /// class. /// /// AccessModes contains the actual access /// modes the volume backing the PVC has. More info: /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 /// Represents the actual resources of the /// underlying volume. /// Current Condition of persistent volume /// claim. If underlying persistent volume is being resized then the /// Condition will be set to 'ResizeStarted'. /// Phase represents the current phase of /// PersistentVolumeClaim. public V1PersistentVolumeClaimStatus(IList accessModes = default(IList), IDictionary capacity = default(IDictionary), IList conditions = default(IList), string phase = default(string)) { AccessModes = accessModes; Capacity = capacity; Conditions = conditions; Phase = phase; CustomInit(); } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); /// /// Gets or sets accessModes contains the actual access modes the /// volume backing the PVC has. More info: /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 /// [JsonProperty(PropertyName = "accessModes")] public IList AccessModes { get; set; } /// /// Gets or sets represents the actual resources of the underlying /// volume. /// [JsonProperty(PropertyName = "capacity")] public IDictionary Capacity { get; set; } /// /// Gets or sets current Condition of persistent volume claim. If /// underlying persistent volume is being resized then the Condition /// will be set to 'ResizeStarted'. /// [JsonProperty(PropertyName = "conditions")] public IList Conditions { get; set; } /// /// Gets or sets phase represents the current phase of /// PersistentVolumeClaim. /// [JsonProperty(PropertyName = "phase")] public string Phase { get; set; } } }