Files
csharp/src/KubernetesClient/generated/Models/V1ScopeSelector.cs

53 lines
1.7 KiB
C#
Raw Normal View History

// <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 scope selector represents the AND of the selectors represented by the
/// scoped-resource selector requirements.
/// </summary>
public partial class V1ScopeSelector
{
/// <summary>
/// Initializes a new instance of the V1ScopeSelector class.
/// </summary>
public V1ScopeSelector()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the V1ScopeSelector class.
/// </summary>
/// <param name="matchExpressions">A list of scope selector
/// requirements by scope of the resources.</param>
public V1ScopeSelector(IList<V1ScopedResourceSelectorRequirement> matchExpressions = default(IList<V1ScopedResourceSelectorRequirement>))
{
MatchExpressions = matchExpressions;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets a list of scope selector requirements by scope of the
/// resources.
/// </summary>
[JsonProperty(PropertyName = "matchExpressions")]
public IList<V1ScopedResourceSelectorRequirement> MatchExpressions { get; set; }
}
}