//
// 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;
///
/// DaemonEndpoint contains information about a single Daemon endpoint.
///
public partial class V1DaemonEndpoint
{
///
/// Initializes a new instance of the V1DaemonEndpoint class.
///
public V1DaemonEndpoint()
{
CustomInit();
}
///
/// Initializes a new instance of the V1DaemonEndpoint class.
///
/// Port number of the given endpoint.
public V1DaemonEndpoint(int port)
{
Port = port;
CustomInit();
}
///
/// An initialization method that performs custom operations like setting defaults
///
partial void CustomInit();
///
/// Gets or sets port number of the given endpoint.
///
[JsonProperty(PropertyName = "Port")]
public int Port { get; set; }
///
/// Validate the object.
///
///
/// Thrown if validation fails
///
public virtual void Validate()
{
//Nothing to validate
}
}
}