Move projects to subdirectories of /src and /tests (#134)
kubernetes-client/csharp#127
This commit is contained in:
committed by
Brendan Burns
parent
dc97164332
commit
ea62ca00e0
@@ -0,0 +1,63 @@
|
||||
// <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.Linq;
|
||||
|
||||
/// <summary>
|
||||
/// VolumeNodeAffinity defines constraints that limit what nodes this
|
||||
/// volume can be accessed from.
|
||||
/// </summary>
|
||||
public partial class V1VolumeNodeAffinity
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the V1VolumeNodeAffinity class.
|
||||
/// </summary>
|
||||
public V1VolumeNodeAffinity()
|
||||
{
|
||||
CustomInit();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the V1VolumeNodeAffinity class.
|
||||
/// </summary>
|
||||
/// <param name="required">Required specifies hard node constraints
|
||||
/// that must be met.</param>
|
||||
public V1VolumeNodeAffinity(V1NodeSelector required = default(V1NodeSelector))
|
||||
{
|
||||
Required = required;
|
||||
CustomInit();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// An initialization method that performs custom operations like setting defaults
|
||||
/// </summary>
|
||||
partial void CustomInit();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets required specifies hard node constraints that must be
|
||||
/// met.
|
||||
/// </summary>
|
||||
[JsonProperty(PropertyName = "required")]
|
||||
public V1NodeSelector Required { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Validate the object.
|
||||
/// </summary>
|
||||
/// <exception cref="Microsoft.Rest.ValidationException">
|
||||
/// Thrown if validation fails
|
||||
/// </exception>
|
||||
public virtual void Validate()
|
||||
{
|
||||
if (Required != null)
|
||||
{
|
||||
Required.Validate();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user