// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

// <auto-generated/>

#nullable disable

using System.Collections.Generic;
using Azure.Core;

namespace Azure.ResourceManager.Sql.Models
{
    /// <summary> A list of workload groups. </summary>
    public partial class WorkloadGroupListResult
    {
        /// <summary> Initializes a new instance of WorkloadGroupListResult. </summary>
        internal WorkloadGroupListResult()
        {
            Value = new ChangeTrackingList<WorkloadGroup>();
        }

        /// <summary> Initializes a new instance of WorkloadGroupListResult. </summary>
        /// <param name="value"> Array of results. </param>
        /// <param name="nextLink"> Link to retrieve next page of results. </param>
        internal WorkloadGroupListResult(IReadOnlyList<WorkloadGroup> value, string nextLink)
        {
            Value = value;
            NextLink = nextLink;
        }

        /// <summary> Array of results. </summary>
        public IReadOnlyList<WorkloadGroup> Value { get; }
        /// <summary> Link to retrieve next page of results. </summary>
        public string NextLink { get; }
    }
}
