// // 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; /// /// EventSource contains information for an event. /// public partial class Corev1EventSource { /// /// Initializes a new instance of the Corev1EventSource class. /// public Corev1EventSource() { CustomInit(); } /// /// Initializes a new instance of the Corev1EventSource class. /// /// Component from which the event is /// generated. /// Node name on which the event is /// generated. public Corev1EventSource(string component = default(string), string host = default(string)) { Component = component; Host = host; CustomInit(); } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); /// /// Gets or sets component from which the event is generated. /// [JsonProperty(PropertyName = "component")] public string Component { get; set; } /// /// Gets or sets node name on which the event is generated. /// [JsonProperty(PropertyName = "host")] public string Host { get; set; } } }