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

// <auto-generated/>

#nullable disable

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

namespace Azure.ResourceManager.Sql.Models
{
    /// <summary> A list of long term retention policies. </summary>
    internal partial class ManagedInstanceLongTermRetentionPolicyListResult
    {
        /// <summary> Initializes a new instance of ManagedInstanceLongTermRetentionPolicyListResult. </summary>
        internal ManagedInstanceLongTermRetentionPolicyListResult()
        {
            Value = new ChangeTrackingList<ManagedInstanceLongTermRetentionPolicyData>();
        }

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

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