Files
csharp/src/KubernetesClient/generated/Models/V1ServiceStatus.cs
Boshi Lian c0e96f516b deprecate net452 + generate model based on v1.20.0 (#536)
* remove most net452 related code

* first net4 remove

* migrate test proj to net5 base

* fix format

* update sta xunit to fix platform not support

* Squashed commit of the following:

commit 16e1f819058ad281e1571b356c10d4d6ce77cf38
Author: Boshi Lian <farmer1992@gmail.com>
Date:   Tue Dec 8 22:42:57 2020 -0800

    temp disable some version converter

commit 7d1a651f4e7d27d1e61c91f46f73ac8d04ea8ab9
Author: Boshi Lian <farmer1992@gmail.com>
Date:   Tue Dec 8 20:55:44 2020 -0800

    add missing watcher generator files

commit 3f3199aad269bf89406ea71d0bc63f1a7ec23245
Author: Boshi Lian <farmer1992@gmail.com>
Date:   Tue Dec 8 22:14:47 2020 +0000

    gen v1.20.0

* bump version to 4.0

* support empty spec

* fix version converter for generator

* add generated header

* fix warning

* rerun generator
2020-12-13 19:55:27 -08:00

60 lines
2.0 KiB
C#
Generated

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