generated/api/Models/DiscoverMediaInfoResp.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>Response structure to fetch details for performing Discover media operation</summary>
    public partial class DiscoverMediaInfoResp :
        Commvault.Powershell.Models.IDiscoverMediaInfoResp,
        Commvault.Powershell.Models.IDiscoverMediaInfoRespInternal
    {

        /// <summary>Backing field for <see cref="MediaTypesList" /> property.</summary>
        private System.Collections.Generic.List<Commvault.Powershell.Models.IMediaTypeDetails> _mediaTypesList;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<Commvault.Powershell.Models.IMediaTypeDetails> MediaTypesList { get => this._mediaTypesList; set => this._mediaTypesList = value; }

        /// <summary>Backing field for <see cref="SpareGroupsList" /> property.</summary>
        private System.Collections.Generic.List<Commvault.Powershell.Models.ISpareGroupDetails> _spareGroupsList;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public System.Collections.Generic.List<Commvault.Powershell.Models.ISpareGroupDetails> SpareGroupsList { get => this._spareGroupsList; set => this._spareGroupsList = value; }

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

        }
    }
    /// Response structure to fetch details for performing Discover media operation
    public partial interface IDiscoverMediaInfoResp :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"mediaTypesList",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IMediaTypeDetails) })]
        System.Collections.Generic.List<Commvault.Powershell.Models.IMediaTypeDetails> MediaTypesList { get; set; }

        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Read = true,
        Create = true,
        Update = true,
        Description = @"",
        SerializedName = @"spareGroupsList",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ISpareGroupDetails) })]
        System.Collections.Generic.List<Commvault.Powershell.Models.ISpareGroupDetails> SpareGroupsList { get; set; }

    }
    /// Response structure to fetch details for performing Discover media operation
    internal partial interface IDiscoverMediaInfoRespInternal

    {
        System.Collections.Generic.List<Commvault.Powershell.Models.IMediaTypeDetails> MediaTypesList { get; set; }

        System.Collections.Generic.List<Commvault.Powershell.Models.ISpareGroupDetails> SpareGroupsList { get; set; }

    }
}