| | | 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 | | |
| | | 10 | | namespace Azure.ResourceManager.AppConfiguration.Models |
| | | 11 | | { |
| | | 12 | | /// <summary> The parameters used to list a configuration store key-value. </summary> |
| | | 13 | | public partial class ListKeyValueParameters |
| | | 14 | | { |
| | | 15 | | /// <summary> Initializes a new instance of ListKeyValueParameters. </summary> |
| | | 16 | | /// <param name="key"> The key to retrieve. </param> |
| | 0 | 17 | | public ListKeyValueParameters(string key) |
| | | 18 | | { |
| | 0 | 19 | | if (key == null) |
| | | 20 | | { |
| | 0 | 21 | | throw new ArgumentNullException(nameof(key)); |
| | | 22 | | } |
| | | 23 | | |
| | 0 | 24 | | Key = key; |
| | 0 | 25 | | } |
| | | 26 | | |
| | | 27 | | /// <summary> Initializes a new instance of ListKeyValueParameters. </summary> |
| | | 28 | | /// <param name="key"> The key to retrieve. </param> |
| | | 29 | | /// <param name="label"> The label of the key. </param> |
| | 0 | 30 | | internal ListKeyValueParameters(string key, string label) |
| | | 31 | | { |
| | 0 | 32 | | Key = key; |
| | 0 | 33 | | Label = label; |
| | 0 | 34 | | } |
| | | 35 | | |
| | | 36 | | /// <summary> The key to retrieve. </summary> |
| | 0 | 37 | | public string Key { get; } |
| | | 38 | | /// <summary> The label of the key. </summary> |
| | 0 | 39 | | public string Label { get; set; } |
| | | 40 | | } |
| | | 41 | | } |