generated/api/Models/MediaDetails.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>Details of Media</summary>
    public partial class MediaDetails :
        Commvault.Powershell.Models.IMediaDetails,
        Commvault.Powershell.Models.IMediaDetailsInternal
    {

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

        /// <summary>Barcode label on media</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string Barcode { get => this._barcode; set => this._barcode = value; }

        /// <summary>Internal Acessors for Container</summary>
        Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IMediaDetailsInternal.Container { get => (this._container = this._container ?? new Commvault.Powershell.Models.IdName()); set { {_container = value;} } }

        /// <summary>Internal Acessors for Drive</summary>
        Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IMediaDetailsInternal.Drive { get => (this._drive = this._drive ?? new Commvault.Powershell.Models.IdName()); set { {_drive = value;} } }

        /// <summary>Internal Acessors for MediaType</summary>
        Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IMediaDetailsInternal.MediaType { get => (this._mediaType = this._mediaType ?? new Commvault.Powershell.Models.IdName()); set { {_mediaType = value;} } }

        /// <summary>Internal Acessors for Slot</summary>
        Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IMediaDetailsInternal.Slot { get => (this._slot = this._slot ?? new Commvault.Powershell.Models.IdName()); set { {_slot = value;} } }

        /// <summary>Internal Acessors for SpareGroup</summary>
        Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IMediaDetailsInternal.SpareGroup { get => (this._spareGroup = this._spareGroup ?? new Commvault.Powershell.Models.IdName()); set { {_spareGroup = value;} } }

        /// <summary>Internal Acessors for StoragePolicy</summary>
        Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IMediaDetailsInternal.StoragePolicy { get => (this._storagePolicy = this._storagePolicy ?? new Commvault.Powershell.Models.IdName()); set { {_storagePolicy = value;} } }

        /// <summary>Internal Acessors for StoragePolicyCopy</summary>
        Commvault.Powershell.Models.IIdName Commvault.Powershell.Models.IMediaDetailsInternal.StoragePolicyCopy { get => (this._storagePolicyCopy = this._storagePolicyCopy ?? new Commvault.Powershell.Models.IdName()); set { {_storagePolicyCopy = value;} } }

        /// <summary>Backing field for <see cref="Container" /> property.</summary>
        private Commvault.Powershell.Models.IIdName _container;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.IIdName Container { get => (this._container = this._container ?? new Commvault.Powershell.Models.IdName()); set => this._container = value; }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public long? ContainerId { get => ((Commvault.Powershell.Models.IIdNameInternal)Container).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)Container).Id = value ?? default(long); }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string ContainerName { get => ((Commvault.Powershell.Models.IIdNameInternal)Container).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)Container).Name = value ?? null; }

        /// <summary>Backing field for <see cref="Drive" /> property.</summary>
        private Commvault.Powershell.Models.IIdName _drive;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.IIdName Drive { get => (this._drive = this._drive ?? new Commvault.Powershell.Models.IdName()); set => this._drive = value; }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public long? DriveId { get => ((Commvault.Powershell.Models.IIdNameInternal)Drive).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)Drive).Id = value ?? default(long); }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string DriveName { get => ((Commvault.Powershell.Models.IIdNameInternal)Drive).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)Drive).Name = value ?? null; }

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

        /// <summary>Attributes of Media</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? GuiMediaAttribute { get => this._guiMediaAttribute; set => this._guiMediaAttribute = value; }

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

        /// <summary>Indicates whether media is exported or in library</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? IsExported { get => this._isExported; set => this._isExported = value; }

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

        /// <summary>Indicates whether media is assigned or not.</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public bool? IsInMediaGroup { get => this._isInMediaGroup; set => this._isInMediaGroup = value; }

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

        /// <summary>The date and time when the last write occurred on media</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? LastWriteTime { get => this._lastWriteTime; set => this._lastWriteTime = value; }

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

        /// <summary>Id of Library</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? LibraryId { get => this._libraryId; set => this._libraryId = value; }

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

        /// <summary>Name of Library</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string LibraryName { get => this._libraryName; set => this._libraryName = value; }

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

        /// <summary>Id of Media</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? MediaId { get => this._mediaId; set => this._mediaId = value; }

        /// <summary>Backing field for <see cref="MediaType" /> property.</summary>
        private Commvault.Powershell.Models.IIdName _mediaType;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.IIdName MediaType { get => (this._mediaType = this._mediaType ?? new Commvault.Powershell.Models.IdName()); set => this._mediaType = value; }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public long? MediaTypeId { get => ((Commvault.Powershell.Models.IIdNameInternal)MediaType).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)MediaType).Id = value ?? default(long); }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string MediaTypeName { get => ((Commvault.Powershell.Models.IIdNameInternal)MediaType).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)MediaType).Name = value ?? null; }

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

        /// <summary>The date and time until the data should be retained</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? RetainDataUntil { get => this._retainDataUntil; set => this._retainDataUntil = value; }

        /// <summary>Backing field for <see cref="Slot" /> property.</summary>
        private Commvault.Powershell.Models.IIdName _slot;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.IIdName Slot { get => (this._slot = this._slot ?? new Commvault.Powershell.Models.IdName()); set => this._slot = value; }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public long? SlotId { get => ((Commvault.Powershell.Models.IIdNameInternal)Slot).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)Slot).Id = value ?? default(long); }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string SlotName { get => ((Commvault.Powershell.Models.IIdNameInternal)Slot).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)Slot).Name = value ?? null; }

        /// <summary>Backing field for <see cref="SpareGroup" /> property.</summary>
        private Commvault.Powershell.Models.IIdName _spareGroup;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.IIdName SpareGroup { get => (this._spareGroup = this._spareGroup ?? new Commvault.Powershell.Models.IdName()); set => this._spareGroup = value; }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public long? SpareGroupId { get => ((Commvault.Powershell.Models.IIdNameInternal)SpareGroup).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)SpareGroup).Id = value ?? default(long); }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string SpareGroupName { get => ((Commvault.Powershell.Models.IIdNameInternal)SpareGroup).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)SpareGroup).Name = value ?? null; }

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

        /// <summary>Spare group type of a group from which media belongs</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public string SpareGroupType { get => this._spareGroupType; set => this._spareGroupType = value; }

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

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

        /// <summary>Backing field for <see cref="StoragePolicy" /> property.</summary>
        private Commvault.Powershell.Models.IIdName _storagePolicy;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.IIdName StoragePolicy { get => (this._storagePolicy = this._storagePolicy ?? new Commvault.Powershell.Models.IdName()); set => this._storagePolicy = value; }

        /// <summary>Backing field for <see cref="StoragePolicyCopy" /> property.</summary>
        private Commvault.Powershell.Models.IIdName _storagePolicyCopy;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        internal Commvault.Powershell.Models.IIdName StoragePolicyCopy { get => (this._storagePolicyCopy = this._storagePolicyCopy ?? new Commvault.Powershell.Models.IdName()); set => this._storagePolicyCopy = value; }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public long? StoragePolicyCopyId { get => ((Commvault.Powershell.Models.IIdNameInternal)StoragePolicyCopy).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)StoragePolicyCopy).Id = value ?? default(long); }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string StoragePolicyCopyName { get => ((Commvault.Powershell.Models.IIdNameInternal)StoragePolicyCopy).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)StoragePolicyCopy).Name = value ?? null; }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public long? StoragePolicyId { get => ((Commvault.Powershell.Models.IIdNameInternal)StoragePolicy).Id; set => ((Commvault.Powershell.Models.IIdNameInternal)StoragePolicy).Id = value ?? default(long); }

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Inlined)]
        public string StoragePolicyName { get => ((Commvault.Powershell.Models.IIdNameInternal)StoragePolicy).Name; set => ((Commvault.Powershell.Models.IIdNameInternal)StoragePolicy).Name = value ?? null; }

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

        /// <summary>The amount of stored data in media</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public long? StoredDataBytes { get => this._storedDataBytes; set => this._storedDataBytes = value; }

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

        }
    }
    /// Details of Media
    public partial interface IMediaDetails :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>Barcode label on media</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Barcode label on media",
        SerializedName = @"barcode",
        PossibleTypes = new [] { typeof(string) })]
        string Barcode { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? ContainerId { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string ContainerName { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? DriveId { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string DriveName { get; set; }
        /// <summary>Attributes of Media</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Attributes of Media",
        SerializedName = @"guiMediaAttribute",
        PossibleTypes = new [] { typeof(long) })]
        long? GuiMediaAttribute { get; set; }
        /// <summary>Indicates whether media is exported or in library</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Indicates whether media is exported or in library",
        SerializedName = @"isExported",
        PossibleTypes = new [] { typeof(bool) })]
        bool? IsExported { get; set; }
        /// <summary>Indicates whether media is assigned or not.</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Indicates whether media is assigned or not.",
        SerializedName = @"isInMediaGroup",
        PossibleTypes = new [] { typeof(bool) })]
        bool? IsInMediaGroup { get; set; }
        /// <summary>The date and time when the last write occurred on media</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"The date and time when the last write occurred on media",
        SerializedName = @"lastWriteTime",
        PossibleTypes = new [] { typeof(long) })]
        long? LastWriteTime { get; set; }
        /// <summary>Id of Library</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Id of Library",
        SerializedName = @"libraryId",
        PossibleTypes = new [] { typeof(long) })]
        long? LibraryId { get; set; }
        /// <summary>Name of Library</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Name of Library",
        SerializedName = @"libraryName",
        PossibleTypes = new [] { typeof(string) })]
        string LibraryName { get; set; }
        /// <summary>Id of Media</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Id of Media",
        SerializedName = @"mediaId",
        PossibleTypes = new [] { typeof(long) })]
        long? MediaId { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? MediaTypeId { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string MediaTypeName { get; set; }
        /// <summary>The date and time until the data should be retained</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"The date and time until the data should be retained",
        SerializedName = @"retainDataUntil",
        PossibleTypes = new [] { typeof(long) })]
        long? RetainDataUntil { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? SlotId { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string SlotName { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? SpareGroupId { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string SpareGroupName { get; set; }
        /// <summary>Spare group type of a group from which media belongs</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Spare group type of a group from which media belongs",
        SerializedName = @"spareGroupType",
        PossibleTypes = new [] { typeof(string) })]
        string SpareGroupType { get; set; }
        /// <summary>Status of media</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"Status of media",
        SerializedName = @"status",
        PossibleTypes = new [] { typeof(string) })]
        string Status { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? StoragePolicyCopyId { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string StoragePolicyCopyName { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"id",
        PossibleTypes = new [] { typeof(long) })]
        long? StoragePolicyId { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"name",
        PossibleTypes = new [] { typeof(string) })]
        string StoragePolicyName { get; set; }
        /// <summary>The amount of stored data in media</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"The amount of stored data in media",
        SerializedName = @"storedDataBytes",
        PossibleTypes = new [] { typeof(long) })]
        long? StoredDataBytes { get; set; }

    }
    /// Details of Media
    internal partial interface IMediaDetailsInternal

    {
        /// <summary>Barcode label on media</summary>
        string Barcode { get; set; }

        Commvault.Powershell.Models.IIdName Container { get; set; }

        long? ContainerId { get; set; }

        string ContainerName { get; set; }

        Commvault.Powershell.Models.IIdName Drive { get; set; }

        long? DriveId { get; set; }

        string DriveName { get; set; }
        /// <summary>Attributes of Media</summary>
        long? GuiMediaAttribute { get; set; }
        /// <summary>Indicates whether media is exported or in library</summary>
        bool? IsExported { get; set; }
        /// <summary>Indicates whether media is assigned or not.</summary>
        bool? IsInMediaGroup { get; set; }
        /// <summary>The date and time when the last write occurred on media</summary>
        long? LastWriteTime { get; set; }
        /// <summary>Id of Library</summary>
        long? LibraryId { get; set; }
        /// <summary>Name of Library</summary>
        string LibraryName { get; set; }
        /// <summary>Id of Media</summary>
        long? MediaId { get; set; }

        Commvault.Powershell.Models.IIdName MediaType { get; set; }

        long? MediaTypeId { get; set; }

        string MediaTypeName { get; set; }
        /// <summary>The date and time until the data should be retained</summary>
        long? RetainDataUntil { get; set; }

        Commvault.Powershell.Models.IIdName Slot { get; set; }

        long? SlotId { get; set; }

        string SlotName { get; set; }

        Commvault.Powershell.Models.IIdName SpareGroup { get; set; }

        long? SpareGroupId { get; set; }

        string SpareGroupName { get; set; }
        /// <summary>Spare group type of a group from which media belongs</summary>
        string SpareGroupType { get; set; }
        /// <summary>Status of media</summary>
        string Status { get; set; }

        Commvault.Powershell.Models.IIdName StoragePolicy { get; set; }

        Commvault.Powershell.Models.IIdName StoragePolicyCopy { get; set; }

        long? StoragePolicyCopyId { get; set; }

        string StoragePolicyCopyName { get; set; }

        long? StoragePolicyId { get; set; }

        string StoragePolicyName { get; set; }
        /// <summary>The amount of stored data in media</summary>
        long? StoredDataBytes { get; set; }

    }
}