generated/api/Models/GetCvfss3BucketResp.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>GetCVFSS3BucketResp</summary>
    public partial class GetCvfss3BucketResp :
        Commvault.Powershell.Models.IGetCvfss3BucketResp,
        Commvault.Powershell.Models.IGetCvfss3BucketRespInternal
    {

        /// <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="CompressionRatio" /> property.</summary>
        private float? _compressionRatio;

        /// <summary>the present compression ratio of the bucket</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public float? CompressionRatio { get => this._compressionRatio; set => this._compressionRatio = value; }

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

        /// <summary>The URL of bucket</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string EndPointUrl { get => this._endPointUrl; set => this._endPointUrl = value; }

        /// <summary>Backing field for <see cref="Id" /> property.</summary>
        private long? _id;

        /// <summary>The ID of the bucket</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? Id { get => this._id; set => this._id = value; }

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

        /// <summary>The name of bucket</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Name { get => this._name; set => this._name = value; }

        /// <summary>Backing field for <see cref="ObjectCount" /> property.</summary>
        private long? _objectCount;

        /// <summary>the count of the number of objects in the bucket</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? ObjectCount { get => this._objectCount; set => this._objectCount = value; }

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

        /// <summary>amount of space used in GB</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string SpaceUsage { get => this._spaceUsage; set => this._spaceUsage = 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="GetCvfss3BucketResp" /> instance.</summary>
        public GetCvfss3BucketResp()
        {

        }
    }
    /// GetCVFSS3BucketResp
    public partial interface IGetCvfss3BucketResp :
        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>the present compression ratio of the bucket</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"the present compression ratio of the bucket",
        SerializedName = @"compressionRatio",
        PossibleTypes = new [] { typeof(float) })]
        float? CompressionRatio { get; set; }
        /// <summary>The URL of bucket</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"The URL of bucket",
        SerializedName = @"endPointURL",
        PossibleTypes = new [] { typeof(string) })]
        string EndPointUrl { get; set; }
        /// <summary>The ID of the bucket</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"The ID of the bucket",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? Id { get; set; }
        /// <summary>The name of bucket</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"The name of bucket",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string Name { get; set; }
        /// <summary>the count of the number of objects in the bucket</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"the count of the number of objects in the bucket",
        SerializedName = @"objectCount",
        PossibleTypes = new [] { typeof(long) })]
        long? ObjectCount { get; set; }
        /// <summary>amount of space used in GB</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"amount of space used in GB",
        SerializedName = @"spaceUsage",
        PossibleTypes = new [] { typeof(string) })]
        string SpaceUsage { 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; }

    }
    /// GetCVFSS3BucketResp
    internal partial interface IGetCvfss3BucketRespInternal

    {
        /// <summary>The size of the bucket in GB</summary>
        string BucketSize { get; set; }
        /// <summary>the present compression ratio of the bucket</summary>
        float? CompressionRatio { get; set; }
        /// <summary>The URL of bucket</summary>
        string EndPointUrl { get; set; }
        /// <summary>The ID of the bucket</summary>
        long? Id { get; set; }
        /// <summary>The name of bucket</summary>
        string Name { get; set; }
        /// <summary>the count of the number of objects in the bucket</summary>
        long? ObjectCount { get; set; }
        /// <summary>amount of space used in GB</summary>
        string SpaceUsage { get; set; }
        /// <summary>To enable/suspend the versioning on the CVFS S3 bucket</summary>
        string Versioning { get; set; }

    }
}