// // 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; /// /// JobStatus represents the current state of a Job. /// public partial class V1JobStatus { /// /// Initializes a new instance of the V1JobStatus class. /// public V1JobStatus() { CustomInit(); } /// /// Initializes a new instance of the V1JobStatus class. /// /// The number of actively running pods. /// Represents time when the job was /// completed. It is not guaranteed to be set in happens-before order /// across separate operations. It is represented in RFC3339 form and /// is in UTC. /// The latest available observations of an /// object's current state. More info: /// https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ /// The number of pods which reached phase /// Failed. /// Represents time when the job was /// acknowledged by the job controller. It is not guaranteed to be set /// in happens-before order across separate operations. It is /// represented in RFC3339 form and is in UTC. /// The number of pods which reached phase /// Succeeded. public V1JobStatus(int? active = default(int?), System.DateTime? completionTime = default(System.DateTime?), IList conditions = default(IList), int? failed = default(int?), System.DateTime? startTime = default(System.DateTime?), int? succeeded = default(int?)) { Active = active; CompletionTime = completionTime; Conditions = conditions; Failed = failed; StartTime = startTime; Succeeded = succeeded; CustomInit(); } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); /// /// Gets or sets the number of actively running pods. /// [JsonProperty(PropertyName = "active")] public int? Active { get; set; } /// /// Gets or sets represents time when the job was completed. It is not /// guaranteed to be set in happens-before order across separate /// operations. It is represented in RFC3339 form and is in UTC. /// [JsonProperty(PropertyName = "completionTime")] public System.DateTime? CompletionTime { get; set; } /// /// Gets or sets the latest available observations of an object's /// current state. More info: /// https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ /// [JsonProperty(PropertyName = "conditions")] public IList Conditions { get; set; } /// /// Gets or sets the number of pods which reached phase Failed. /// [JsonProperty(PropertyName = "failed")] public int? Failed { get; set; } /// /// Gets or sets represents time when the job was acknowledged by the /// job controller. It is not guaranteed to be set in happens-before /// order across separate operations. It is represented in RFC3339 form /// and is in UTC. /// [JsonProperty(PropertyName = "startTime")] public System.DateTime? StartTime { get; set; } /// /// Gets or sets the number of pods which reached phase Succeeded. /// [JsonProperty(PropertyName = "succeeded")] public int? Succeeded { get; set; } } }