| | | 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 | | using System.Linq; |
| | | 11 | | |
| | | 12 | | namespace Azure.Analytics.Synapse.Artifacts.Models |
| | | 13 | | { |
| | | 14 | | /// <summary> A list of linked service resources. </summary> |
| | | 15 | | public partial class LinkedServiceListResponse |
| | | 16 | | { |
| | | 17 | | /// <summary> Initializes a new instance of LinkedServiceListResponse. </summary> |
| | | 18 | | /// <param name="value"> List of linked services. </param> |
| | | 19 | | /// <exception cref="ArgumentNullException"> <paramref name="value"/> is null. </exception> |
| | 0 | 20 | | internal LinkedServiceListResponse(IEnumerable<LinkedServiceResource> value) |
| | | 21 | | { |
| | 0 | 22 | | if (value == null) |
| | | 23 | | { |
| | 0 | 24 | | throw new ArgumentNullException(nameof(value)); |
| | | 25 | | } |
| | | 26 | | |
| | 0 | 27 | | Value = value.ToList(); |
| | 0 | 28 | | } |
| | | 29 | | |
| | | 30 | | /// <summary> Initializes a new instance of LinkedServiceListResponse. </summary> |
| | | 31 | | /// <param name="value"> List of linked services. </param> |
| | | 32 | | /// <param name="nextLink"> The link to the next page of results, if any remaining results exist. </param> |
| | 0 | 33 | | internal LinkedServiceListResponse(IReadOnlyList<LinkedServiceResource> value, string nextLink) |
| | | 34 | | { |
| | 0 | 35 | | Value = value; |
| | 0 | 36 | | NextLink = nextLink; |
| | 0 | 37 | | } |
| | | 38 | | |
| | | 39 | | /// <summary> List of linked services. </summary> |
| | 0 | 40 | | public IReadOnlyList<LinkedServiceResource> Value { get; } |
| | | 41 | | /// <summary> The link to the next page of results, if any remaining results exist. </summary> |
| | 0 | 42 | | public string NextLink { get; } |
| | | 43 | | } |
| | | 44 | | } |