Files
csharp/src/KubernetesClient/generated/Models/V1VolumeAttachmentSource.cs
Boshi Lian 1600e44b00 generate for 1.13 (#223)
* generate for 1.13 and bump ver to 1.4

* fix examples for 1.13

* update outdated cert
2018-12-11 21:10:39 -08:00

52 lines
1.7 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.Linq;
/// <summary>
/// VolumeAttachmentSource represents a volume that should be attached.
/// Right now only PersistenVolumes can be attached via external attacher,
/// in future we may allow also inline volumes in pods. Exactly one member
/// can be set.
/// </summary>
public partial class V1VolumeAttachmentSource
{
/// <summary>
/// Initializes a new instance of the V1VolumeAttachmentSource class.
/// </summary>
public V1VolumeAttachmentSource()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the V1VolumeAttachmentSource class.
/// </summary>
/// <param name="persistentVolumeName">Name of the persistent volume to
/// attach.</param>
public V1VolumeAttachmentSource(string persistentVolumeName = default(string))
{
PersistentVolumeName = persistentVolumeName;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets name of the persistent volume to attach.
/// </summary>
[JsonProperty(PropertyName = "persistentVolumeName")]
public string PersistentVolumeName { get; set; }
}
}