// // 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.Collections; using System.Collections.Generic; using System.Linq; /// /// 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. /// public partial class V1TopologySelectorTerm { /// /// Initializes a new instance of the V1TopologySelectorTerm class. /// public V1TopologySelectorTerm() { CustomInit(); } /// /// Initializes a new instance of the V1TopologySelectorTerm class. /// /// A list of topology selector /// requirements by labels. public V1TopologySelectorTerm(IList matchLabelExpressions = default(IList)) { MatchLabelExpressions = matchLabelExpressions; CustomInit(); } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); /// /// Gets or sets a list of topology selector requirements by labels. /// [JsonProperty(PropertyName = "matchLabelExpressions")] public IList MatchLabelExpressions { get; set; } } }