// // 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.Linq; /// /// EventSeries contain information on series of events, i.e. thing that /// was/is happening continuously for some time. /// public partial class V1EventSeries { /// /// Initializes a new instance of the V1EventSeries class. /// public V1EventSeries() { CustomInit(); } /// /// Initializes a new instance of the V1EventSeries class. /// /// Number of occurrences in this series up to the /// last heartbeat time /// Time of the last occurrence /// observed /// State of this Series: Ongoing or /// Finished public V1EventSeries(int? count = default(int?), System.DateTime? lastObservedTime = default(System.DateTime?), string state = default(string)) { Count = count; LastObservedTime = lastObservedTime; State = state; CustomInit(); } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); /// /// Gets or sets number of occurrences in this series up to the last /// heartbeat time /// [JsonProperty(PropertyName = "count")] public int? Count { get; set; } /// /// Gets or sets time of the last occurrence observed /// [JsonProperty(PropertyName = "lastObservedTime")] public System.DateTime? LastObservedTime { get; set; } /// /// Gets or sets state of this Series: Ongoing or Finished /// [JsonProperty(PropertyName = "state")] public string State { get; set; } } }