generated/api/Models/DdbSubStoreInfo.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>DDBSubStoreInfo</summary>
    public partial class DdbSubStoreInfo :
        Commvault.Powershell.Models.IDdbSubStoreInfo,
        Commvault.Powershell.Models.IDdbSubStoreInfoInternal
    {

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

        /// <summary>Estimated size in MBs occupied by the substore</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? EstimatedSubstoreSizeInMb { get => this._estimatedSubstoreSizeInMb; set => this._estimatedSubstoreSizeInMb = value; }

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

        /// <summary>Specify whether the substore is sealed or not</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? IsSealed { get => this._isSealed; set => this._isSealed = value; }

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

        /// <summary>JobId of the last failed move job for this substore</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? LastFailedMoveJobId { get => this._lastFailedMoveJobId; set => this._lastFailedMoveJobId = value; }

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

        /// <summary>Status code for the move partition attempt on this substore</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? MoveStatusCode { get => this._moveStatusCode; set => this._moveStatusCode = value; }

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

        /// <summary>Status message for the move partition attempt on this substore</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string MoveStatusMsg { get => this._moveStatusMsg; set => this._moveStatusMsg = value; }

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

        /// <summary>Id of the DDB store</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? StoreId { get => this._storeId; set => this._storeId = value; }

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

        /// <summary>Name of the DDB store</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string StoreName { get => this._storeName; set => this._storeName = value; }

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

        /// <summary>Id of the DDB substore</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? SubStoreId { get => this._subStoreId; set => this._subStoreId = value; }

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

        }
    }
    /// DDBSubStoreInfo
    public partial interface IDdbSubStoreInfo :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Estimated size in MBs occupied by the substore</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Estimated size in MBs occupied by the substore",
        SerializedName = @"estimatedSubstoreSizeInMB",
        PossibleTypes = new [] { typeof(long) })]
        long? EstimatedSubstoreSizeInMb { get; set; }
        /// <summary>Specify whether the substore is sealed or not</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Specify whether the substore is sealed or not",
        SerializedName = @"isSealed",
        PossibleTypes = new [] { typeof(bool) })]
        bool? IsSealed { get; set; }
        /// <summary>JobId of the last failed move job for this substore</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"JobId of the last failed move job for this substore",
        SerializedName = @"lastFailedMoveJobId",
        PossibleTypes = new [] { typeof(long) })]
        long? LastFailedMoveJobId { get; set; }
        /// <summary>Status code for the move partition attempt on this substore</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Status code for the move partition attempt on this substore",
        SerializedName = @"moveStatusCode",
        PossibleTypes = new [] { typeof(long) })]
        long? MoveStatusCode { get; set; }
        /// <summary>Status message for the move partition attempt on this substore</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Status message for the move partition attempt on this substore",
        SerializedName = @"moveStatusMsg",
        PossibleTypes = new [] { typeof(string) })]
        string MoveStatusMsg { get; set; }
        /// <summary>Id of the DDB store</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Id of the DDB store",
        SerializedName = @"storeId",
        PossibleTypes = new [] { typeof(long) })]
        long? StoreId { get; set; }
        /// <summary>Name of the DDB store</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Name of the DDB store",
        SerializedName = @"storeName",
        PossibleTypes = new [] { typeof(string) })]
        string StoreName { get; set; }
        /// <summary>Id of the DDB substore</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Id of the DDB substore",
        SerializedName = @"subStoreId",
        PossibleTypes = new [] { typeof(long) })]
        long? SubStoreId { get; set; }

    }
    /// DDBSubStoreInfo
    internal partial interface IDdbSubStoreInfoInternal

    {
        /// <summary>Estimated size in MBs occupied by the substore</summary>
        long? EstimatedSubstoreSizeInMb { get; set; }
        /// <summary>Specify whether the substore is sealed or not</summary>
        bool? IsSealed { get; set; }
        /// <summary>JobId of the last failed move job for this substore</summary>
        long? LastFailedMoveJobId { get; set; }
        /// <summary>Status code for the move partition attempt on this substore</summary>
        long? MoveStatusCode { get; set; }
        /// <summary>Status message for the move partition attempt on this substore</summary>
        string MoveStatusMsg { get; set; }
        /// <summary>Id of the DDB store</summary>
        long? StoreId { get; set; }
        /// <summary>Name of the DDB store</summary>
        string StoreName { get; set; }
        /// <summary>Id of the DDB substore</summary>
        long? SubStoreId { get; set; }

    }
}