| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | | using System.Collections.Generic; |
| | 10 | |
|
| | 11 | | namespace Azure.ResourceManager.Resources.Models |
| | 12 | | { |
| | 13 | | /// <summary> Subscription list operation response. </summary> |
| | 14 | | public partial class SubscriptionListResult |
| | 15 | | { |
| | 16 | | /// <summary> Initializes a new instance of SubscriptionListResult. </summary> |
| | 17 | | /// <param name="nextLink"> The URL to get the next set of results. </param> |
| 0 | 18 | | internal SubscriptionListResult(string nextLink) |
| | 19 | | { |
| 0 | 20 | | if (nextLink == null) |
| | 21 | | { |
| 0 | 22 | | throw new ArgumentNullException(nameof(nextLink)); |
| | 23 | | } |
| | 24 | |
|
| 0 | 25 | | NextLink = nextLink; |
| 0 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> Initializes a new instance of SubscriptionListResult. </summary> |
| | 29 | | /// <param name="value"> An array of subscriptions. </param> |
| | 30 | | /// <param name="nextLink"> The URL to get the next set of results. </param> |
| 8 | 31 | | internal SubscriptionListResult(IReadOnlyList<Subscription> value, string nextLink) |
| | 32 | | { |
| 8 | 33 | | Value = value; |
| 8 | 34 | | NextLink = nextLink; |
| 8 | 35 | | } |
| | 36 | |
|
| | 37 | | /// <summary> An array of subscriptions. </summary> |
| 8 | 38 | | public IReadOnlyList<Subscription> Value { get; } |
| | 39 | | /// <summary> The URL to get the next set of results. </summary> |
| 8 | 40 | | public string NextLink { get; } |
| | 41 | | } |
| | 42 | | } |