generated/api/Models/InventoryAssociatedDatasourceList.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>List of data sources associated to the inventory</summary>
    public partial class InventoryAssociatedDatasourceList :
        Commvault.Powershell.Models.IInventoryAssociatedDatasourceList,
        Commvault.Powershell.Models.IInventoryAssociatedDatasourceListInternal
    {

        /// <summary>Backing field for <see cref="DataSources" /> property.</summary>
        private Commvault.Powershell.Models.IInventoryAssociatedDatasource[] _dataSources;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IInventoryAssociatedDatasource[] DataSources { get => this._dataSources; set => this._dataSources = value; }

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

        }
    }
    /// List of data sources associated to the inventory
    public partial interface IInventoryAssociatedDatasourceList :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"dataSources",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IInventoryAssociatedDatasource) })]
        Commvault.Powershell.Models.IInventoryAssociatedDatasource[] DataSources { get; set; }

    }
    /// List of data sources associated to the inventory
    internal partial interface IInventoryAssociatedDatasourceListInternal

    {
        Commvault.Powershell.Models.IInventoryAssociatedDatasource[] DataSources { get; set; }

    }
}