generated/api/Models/VsaEncryptionOption.cs

// Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.10.2, generator: @autorest/powershell@4.0.708)
// Changes may cause incorrect behavior and will be lost if the code is regenerated.

namespace Commvault.Powershell.Models
{
    using static Commvault.Powershell.Runtime.Extensions;

    public partial class VsaEncryptionOption :
        Commvault.Powershell.Models.IVsaEncryptionOption,
        Commvault.Powershell.Models.IVsaEncryptionOptionInternal
    {

        /// <summary>Backing field for <see cref="DiskEncryptionSetId" /> property.</summary>
        private string _diskEncryptionSetId;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string DiskEncryptionSetId { get => this._diskEncryptionSetId; set => this._diskEncryptionSetId = value; }

        /// <summary>Backing field for <see cref="DiskEncryptionSetTypeId" /> property.</summary>
        private string _diskEncryptionSetTypeId;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string DiskEncryptionSetTypeId { get => this._diskEncryptionSetTypeId; set => this._diskEncryptionSetTypeId = value; }

        /// <summary>Backing field for <see cref="EncryptionKey" /> property.</summary>
        private string _encryptionKey;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string EncryptionKey { get => this._encryptionKey; set => this._encryptionKey = value; }

        /// <summary>Backing field for <see cref="IsEncrypted" /> property.</summary>
        private bool? _isEncrypted;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? IsEncrypted { get => this._isEncrypted; set => this._isEncrypted = value; }

        /// <summary>Creates an new <see cref="VsaEncryptionOption" /> instance.</summary>
        public VsaEncryptionOption()
        {

        }
    }
    public partial interface IVsaEncryptionOption :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"diskEncryptionSetId",
        PossibleTypes = new [] { typeof(string) })]
        string DiskEncryptionSetId { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"diskEncryptionSetTypeId",
        PossibleTypes = new [] { typeof(string) })]
        string DiskEncryptionSetTypeId { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"encryptionKey",
        PossibleTypes = new [] { typeof(string) })]
        string EncryptionKey { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"isEncrypted",
        PossibleTypes = new [] { typeof(bool) })]
        bool? IsEncrypted { get; set; }

    }
    internal partial interface IVsaEncryptionOptionInternal

    {
        string DiskEncryptionSetId { get; set; }

        string DiskEncryptionSetTypeId { get; set; }

        string EncryptionKey { get; set; }

        bool? IsEncrypted { get; set; }

    }
}