// <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>
    /// Represents a Flocker volume mounted by the Flocker agent. One and only
    /// one of datasetName and datasetUUID should be set. Flocker volumes do
    /// not support ownership management or SELinux relabeling.
    /// </summary>
    public partial class V1FlockerVolumeSource
    {
        /// <summary>
        /// Initializes a new instance of the V1FlockerVolumeSource class.
        /// </summary>
        public V1FlockerVolumeSource()
        {
            CustomInit();
        }

        /// <summary>
        /// Initializes a new instance of the V1FlockerVolumeSource class.
        /// </summary>
        /// <param name="datasetName">Name of the dataset stored as metadata
        /// -&gt; name on the dataset for Flocker should be considered as
        /// deprecated</param>
        /// <param name="datasetUUID">UUID of the dataset. This is unique
        /// identifier of a Flocker dataset</param>
        public V1FlockerVolumeSource(string datasetName = default(string), string datasetUUID = default(string))
        {
            DatasetName = datasetName;
            DatasetUUID = datasetUUID;
            CustomInit();
        }

        /// <summary>
        /// An initialization method that performs custom operations like setting defaults
        /// </summary>
        partial void CustomInit();

        /// <summary>
        /// Gets or sets name of the dataset stored as metadata -&amp;gt; name
        /// on the dataset for Flocker should be considered as deprecated
        /// </summary>
        [JsonProperty(PropertyName = "datasetName")]
        public string DatasetName { get; set; }

        /// <summary>
        /// Gets or sets UUID of the dataset. This is unique identifier of a
        /// Flocker dataset
        /// </summary>
        [JsonProperty(PropertyName = "datasetUUID")]
        public string DatasetUUID { get; set; }

    }
}
