| | 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.ResourceManager.Compute.Models |
| | 13 | | { |
| | 14 | | /// <summary> The list SSH public keys operation response. </summary> |
| | 15 | | public partial class SshPublicKeysGroupListResult |
| | 16 | | { |
| | 17 | | /// <summary> Initializes a new instance of SshPublicKeysGroupListResult. </summary> |
| | 18 | | /// <param name="value"> The list of SSH public keys. </param> |
| 0 | 19 | | internal SshPublicKeysGroupListResult(IEnumerable<SshPublicKeyResource> value) |
| | 20 | | { |
| 0 | 21 | | if (value == null) |
| | 22 | | { |
| 0 | 23 | | throw new ArgumentNullException(nameof(value)); |
| | 24 | | } |
| | 25 | |
|
| 0 | 26 | | Value = value.ToArray(); |
| 0 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> Initializes a new instance of SshPublicKeysGroupListResult. </summary> |
| | 30 | | /// <param name="value"> The list of SSH public keys. </param> |
| | 31 | | /// <param name="nextLink"> The URI to fetch the next page of SSH public keys. Call ListNext() with this URI to |
| 0 | 32 | | internal SshPublicKeysGroupListResult(IReadOnlyList<SshPublicKeyResource> value, string nextLink) |
| | 33 | | { |
| 0 | 34 | | Value = value ?? new List<SshPublicKeyResource>(); |
| 0 | 35 | | NextLink = nextLink; |
| 0 | 36 | | } |
| | 37 | |
|
| | 38 | | /// <summary> The list of SSH public keys. </summary> |
| 0 | 39 | | public IReadOnlyList<SshPublicKeyResource> Value { get; } |
| | 40 | | /// <summary> The URI to fetch the next page of SSH public keys. Call ListNext() with this URI to fetch the next |
| 0 | 41 | | public string NextLink { get; } |
| | 42 | | } |
| | 43 | | } |