Files
csharp/src/KubernetesClient/generated/Models/V1TopologySelectorTerm.cs
Boshi Lian 49bb82b15d generate v1.11.0 (#182)
* generate v1.11 -rc3

* add generated watcher

* regenrate with 1.11.0
2018-07-02 07:22:11 -07:00

55 lines
1.9 KiB
C#

// <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>
/// A topology selector term represents the result of label queries. A null
/// or empty topology selector term matches no objects. The requirements of
/// them are ANDed. It provides a subset of functionality as
/// NodeSelectorTerm. This is an alpha feature and may change in the
/// future.
/// </summary>
public partial class V1TopologySelectorTerm
{
/// <summary>
/// Initializes a new instance of the V1TopologySelectorTerm class.
/// </summary>
public V1TopologySelectorTerm()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the V1TopologySelectorTerm class.
/// </summary>
/// <param name="matchLabelExpressions">A list of topology selector
/// requirements by labels.</param>
public V1TopologySelectorTerm(IList<V1TopologySelectorLabelRequirement> matchLabelExpressions = default(IList<V1TopologySelectorLabelRequirement>))
{
MatchLabelExpressions = matchLabelExpressions;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets a list of topology selector requirements by labels.
/// </summary>
[JsonProperty(PropertyName = "matchLabelExpressions")]
public IList<V1TopologySelectorLabelRequirement> MatchLabelExpressions { get; set; }
}
}