generated/api/Models/InstanceListResp.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>Gives the list of instances.</summary>
    public partial class InstanceListResp :
        Commvault.Powershell.Models.IInstanceListResp,
        Commvault.Powershell.Models.IInstanceListRespInternal
    {

        /// <summary>Backing field for <see cref="Instances" /> property.</summary>
        private Commvault.Powershell.Models.IInstanceSummary[] _instances;

        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.IInstanceSummary[] Instances { get => this._instances; set => this._instances = value; }

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

        }
    }
    /// Gives the list of instances.
    public partial interface IInstanceListResp :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"",
        SerializedName = @"instances",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.IInstanceSummary) })]
        Commvault.Powershell.Models.IInstanceSummary[] Instances { get; set; }

    }
    /// Gives the list of instances.
    internal partial interface IInstanceListRespInternal

    {
        Commvault.Powershell.Models.IInstanceSummary[] Instances { get; set; }

    }
}