generated/api/Models/S3BucketProperties.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;

    /// <summary>S3BucketProperties</summary>
    public partial class S3BucketProperties :
        Commvault.Powershell.Models.IS3BucketProperties,
        Commvault.Powershell.Models.IS3BucketPropertiesInternal
    {

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

        /// <summary>The size of the bucket in GB</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string BucketSize { get => this._bucketSize; set => this._bucketSize = value; }

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

        /// <summary>To enable/suspend the versioning on the CVFS S3 bucket</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Versioning { get => this._versioning; set => this._versioning = value; }

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

        }
    }
    /// S3BucketProperties
    public partial interface IS3BucketProperties :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>The size of the bucket in GB</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"The size of the bucket in GB",
        SerializedName = @"bucketSize",
        PossibleTypes = new [] { typeof(string) })]
        string BucketSize { get; set; }
        /// <summary>To enable/suspend the versioning on the CVFS S3 bucket</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"To enable/suspend the versioning on the CVFS S3 bucket",
        SerializedName = @"versioning",
        PossibleTypes = new [] { typeof(string) })]
        string Versioning { get; set; }

    }
    /// S3BucketProperties
    internal partial interface IS3BucketPropertiesInternal

    {
        /// <summary>The size of the bucket in GB</summary>
        string BucketSize { get; set; }
        /// <summary>To enable/suspend the versioning on the CVFS S3 bucket</summary>
        string Versioning { get; set; }

    }
}