generated/api/Models/CloudStorageAdvanced.cs

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

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

    /// <summary>CloudStorageAdvanced</summary>
    public partial class CloudStorageAdvanced :
        Commvault.Powershell.Models.ICloudStorageAdvanced,
        Commvault.Powershell.Models.ICloudStorageAdvancedInternal
    {

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

        /// <summary>
        /// The access type for the access path can be either read (writing to path not allowed) or read and write (writing to path
        /// allowed).
        /// </summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Access { get => this._access; set => this._access = value; }

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

        /// <summary>Enable/Disable access of bucket to a media Agent</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? Enable { get => this._enable; set => this._enable = value; }

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

        }
    }
    /// CloudStorageAdvanced
    public partial interface ICloudStorageAdvanced :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>
        /// The access type for the access path can be either read (writing to path not allowed) or read and write (writing to path
        /// allowed).
        /// </summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"The access type for the access path can be either read (writing to path not allowed) or read and write (writing to path allowed).",
        SerializedName = @"access",
        PossibleTypes = new [] { typeof(string) })]
        string Access { get; set; }
        /// <summary>Enable/Disable access of bucket to a media Agent</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Enable/Disable access of bucket to a media Agent",
        SerializedName = @"enable",
        PossibleTypes = new [] { typeof(bool) })]
        bool? Enable { get; set; }

    }
    /// CloudStorageAdvanced
    internal partial interface ICloudStorageAdvancedInternal

    {
        /// <summary>
        /// The access type for the access path can be either read (writing to path not allowed) or read and write (writing to path
        /// allowed).
        /// </summary>
        string Access { get; set; }
        /// <summary>Enable/Disable access of bucket to a media Agent</summary>
        bool? Enable { get; set; }

    }
}