generated/api/Models/DcBackupCopyDetail.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>Backup Copy Details For Content Indexing</summary>
    public partial class DcBackupCopyDetail :
        Commvault.Powershell.Models.IDcBackupCopyDetail,
        Commvault.Powershell.Models.IDcBackupCopyDetailInternal
    {

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

        /// <summary>Copy Id of Copy used for Content Indexing Job</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? CopyId { get => this._copyId; set => this._copyId = value; }

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

        /// <summary>Copy Name of Copy used for Content Indexing</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string CopyName { get => this._copyName; set => this._copyName = value; }

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

        /// <summary>Rentention Period of Copy</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? CopyRetentionPeriod { get => this._copyRetentionPeriod; set => this._copyRetentionPeriod = value; }

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

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? PlanId { get => this._planId; set => this._planId = value; }

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

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

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

        /// <summary>Storage Pool Id of Storage Pool Used for Content Indexing</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? StoragePoolId { get => this._storagePoolId; set => this._storagePoolId = value; }

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

        /// <summary>Storage Pool Name of Storage Pool Used for Content Indexing</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string StoragePoolName { get => this._storagePoolName; set => this._storagePoolName = value; }

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

        /// <summary>Type of Storage Pool</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string StoragePoolType { get => this._storagePoolType; set => this._storagePoolType = value; }

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

        /// <summary>StorageSubType</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string StorageSubType { get => this._storageSubType; set => this._storageSubType = value; }

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

        /// <summary>StorageType</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string StorageType { get => this._storageType; set => this._storageType = value; }

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

        }
    }
    /// Backup Copy Details For Content Indexing
    public partial interface IDcBackupCopyDetail :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Copy Id of Copy used for Content Indexing Job</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Copy Id of Copy used for Content Indexing Job",
        SerializedName = @"copyId",
        PossibleTypes = new [] { typeof(long) })]
        long? CopyId { get; set; }
        /// <summary>Copy Name of Copy used for Content Indexing</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Copy Name of Copy used for Content Indexing",
        SerializedName = @"copyName",
        PossibleTypes = new [] { typeof(string) })]
        string CopyName { get; set; }
        /// <summary>Rentention Period of Copy</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Rentention Period of Copy",
        SerializedName = @"copyRetentionPeriod",
        PossibleTypes = new [] { typeof(long) })]
        long? CopyRetentionPeriod { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"planId",
        PossibleTypes = new [] { typeof(long) })]
        long? PlanId { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"planType",
        PossibleTypes = new [] { typeof(string) })]
        string PlanType { get; set; }
        /// <summary>Storage Pool Id of Storage Pool Used for Content Indexing</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Storage Pool Id of Storage Pool Used for Content Indexing",
        SerializedName = @"storagePoolId",
        PossibleTypes = new [] { typeof(long) })]
        long? StoragePoolId { get; set; }
        /// <summary>Storage Pool Name of Storage Pool Used for Content Indexing</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Storage Pool Name of Storage Pool Used for Content Indexing",
        SerializedName = @"storagePoolName",
        PossibleTypes = new [] { typeof(string) })]
        string StoragePoolName { get; set; }
        /// <summary>Type of Storage Pool</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"Type of Storage Pool",
        SerializedName = @"storagePoolType",
        PossibleTypes = new [] { typeof(string) })]
        string StoragePoolType { get; set; }
        /// <summary>StorageSubType</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"StorageSubType",
        SerializedName = @"storageSubType",
        PossibleTypes = new [] { typeof(string) })]
        string StorageSubType { get; set; }
        /// <summary>StorageType</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"StorageType",
        SerializedName = @"storageType",
        PossibleTypes = new [] { typeof(string) })]
        string StorageType { get; set; }

    }
    /// Backup Copy Details For Content Indexing
    internal partial interface IDcBackupCopyDetailInternal

    {
        /// <summary>Copy Id of Copy used for Content Indexing Job</summary>
        long? CopyId { get; set; }
        /// <summary>Copy Name of Copy used for Content Indexing</summary>
        string CopyName { get; set; }
        /// <summary>Rentention Period of Copy</summary>
        long? CopyRetentionPeriod { get; set; }

        long? PlanId { get; set; }

        string PlanType { get; set; }
        /// <summary>Storage Pool Id of Storage Pool Used for Content Indexing</summary>
        long? StoragePoolId { get; set; }
        /// <summary>Storage Pool Name of Storage Pool Used for Content Indexing</summary>
        string StoragePoolName { get; set; }
        /// <summary>Type of Storage Pool</summary>
        string StoragePoolType { get; set; }
        /// <summary>StorageSubType</summary>
        string StorageSubType { get; set; }
        /// <summary>StorageType</summary>
        string StorageType { get; set; }

    }
}