2017-10-19 19:53:02 +00:00
|
|
|
// <auto-generated>
|
|
|
|
|
// Code generated by Microsoft (R) AutoRest Code Generator.
|
2017-06-06 23:02:14 -07:00
|
|
|
// Changes may cause incorrect behavior and will be lost if the code is
|
|
|
|
|
// regenerated.
|
2017-10-19 19:53:02 +00:00
|
|
|
// </auto-generated>
|
2017-06-06 23:02:14 -07:00
|
|
|
|
|
|
|
|
namespace k8s.Models
|
|
|
|
|
{
|
|
|
|
|
using Newtonsoft.Json;
|
2020-12-13 19:55:27 -08:00
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
2017-06-06 23:02:14 -07:00
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ServiceStatus represents the current status of a service.
|
|
|
|
|
/// </summary>
|
2017-11-24 12:10:51 +08:00
|
|
|
public partial class V1ServiceStatus
|
2017-06-06 23:02:14 -07:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2017-11-24 12:10:51 +08:00
|
|
|
/// Initializes a new instance of the V1ServiceStatus class.
|
2017-06-06 23:02:14 -07:00
|
|
|
/// </summary>
|
2017-11-24 12:10:51 +08:00
|
|
|
public V1ServiceStatus()
|
2017-06-06 23:02:14 -07:00
|
|
|
{
|
2017-10-19 19:53:02 +00:00
|
|
|
CustomInit();
|
2017-06-06 23:02:14 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2017-11-24 12:10:51 +08:00
|
|
|
/// Initializes a new instance of the V1ServiceStatus class.
|
2017-06-06 23:02:14 -07:00
|
|
|
/// </summary>
|
2020-12-13 19:55:27 -08:00
|
|
|
/// <param name="conditions">Current service state</param>
|
2017-06-06 23:02:14 -07:00
|
|
|
/// <param name="loadBalancer">LoadBalancer contains the current status
|
|
|
|
|
/// of the load-balancer, if one is present.</param>
|
2020-12-13 19:55:27 -08:00
|
|
|
public V1ServiceStatus(IList<V1Condition> conditions = default(IList<V1Condition>), V1LoadBalancerStatus loadBalancer = default(V1LoadBalancerStatus))
|
2017-06-06 23:02:14 -07:00
|
|
|
{
|
2020-12-13 19:55:27 -08:00
|
|
|
Conditions = conditions;
|
2017-06-06 23:02:14 -07:00
|
|
|
LoadBalancer = loadBalancer;
|
|
|
|
|
CustomInit();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// An initialization method that performs custom operations like setting defaults
|
|
|
|
|
/// </summary>
|
|
|
|
|
partial void CustomInit();
|
|
|
|
|
|
2020-12-13 19:55:27 -08:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets current service state
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "conditions")]
|
|
|
|
|
public IList<V1Condition> Conditions { get; set; }
|
|
|
|
|
|
2017-06-06 23:02:14 -07:00
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets loadBalancer contains the current status of the
|
|
|
|
|
/// load-balancer, if one is present.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonProperty(PropertyName = "loadBalancer")]
|
2017-11-24 12:10:51 +08:00
|
|
|
public V1LoadBalancerStatus LoadBalancer { get; set; }
|
2017-06-06 23:02:14 -07:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|