//
// 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 V1EventSource
{
///
/// Initializes a new instance of the V1EventSource class.
///
public V1EventSource()
{
CustomInit();
}
///
/// Initializes a new instance of the V1EventSource class.
///
/// Component from which the event is
/// generated.
/// Node name on which the event is
/// generated.
public V1EventSource(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; }
}
}