generated/api/Models/LocationListResp.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;

    public partial class LocationListResp :
        Commvault.Powershell.Models.ILocationListResp,
        Commvault.Powershell.Models.ILocationListRespInternal
    {

        /// <summary>Backing field for <see cref="Locations" /> property.</summary>
        private Commvault.Powershell.Models.ILocationsDetails[] _locations;

        /// <summary>List of locations</summary>
        [Commvault.Powershell.Origin(Commvault.Powershell.PropertyOrigin.Owned)]
        public Commvault.Powershell.Models.ILocationsDetails[] Locations { get => this._locations; set => this._locations = value; }

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

        }
    }
    public partial interface ILocationListResp :
        Commvault.Powershell.Runtime.IJsonSerializable
    {
        /// <summary>List of locations</summary>
        [Commvault.Powershell.Runtime.Info(
        Required = false,
        ReadOnly = false,
        Description = @"List of locations",
        SerializedName = @"locations",
        PossibleTypes = new [] { typeof(Commvault.Powershell.Models.ILocationsDetails) })]
        Commvault.Powershell.Models.ILocationsDetails[] Locations { get; set; }

    }
    internal partial interface ILocationListRespInternal

    {
        /// <summary>List of locations</summary>
        Commvault.Powershell.Models.ILocationsDetails[] Locations { get; set; }

    }
}