| | | 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> Tenant Ids information. </summary> |
| | | 14 | | public partial class TenantListResult |
| | | 15 | | { |
| | | 16 | | /// <summary> Initializes a new instance of TenantListResult. </summary> |
| | | 17 | | /// <param name="nextLink"> The URL to use for getting the next set of results. </param> |
| | 0 | 18 | | internal TenantListResult(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 TenantListResult. </summary> |
| | | 29 | | /// <param name="value"> An array of tenants. </param> |
| | | 30 | | /// <param name="nextLink"> The URL to use for getting the next set of results. </param> |
| | 4 | 31 | | internal TenantListResult(IReadOnlyList<TenantIdDescription> value, string nextLink) |
| | | 32 | | { |
| | 4 | 33 | | Value = value; |
| | 4 | 34 | | NextLink = nextLink; |
| | 4 | 35 | | } |
| | | 36 | | |
| | | 37 | | /// <summary> An array of tenants. </summary> |
| | 4 | 38 | | public IReadOnlyList<TenantIdDescription> Value { get; } |
| | | 39 | | /// <summary> The URL to use for getting the next set of results. </summary> |
| | 4 | 40 | | public string NextLink { get; } |
| | | 41 | | } |
| | | 42 | | } |