| | | 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.AppConfiguration.Models |
| | | 12 | | { |
| | | 13 | | /// <summary> The result of a request to retrieve a key-value from the specified configuration store. </summary> |
| | | 14 | | public partial class KeyValue |
| | | 15 | | { |
| | | 16 | | /// <summary> Initializes a new instance of KeyValue. </summary> |
| | 0 | 17 | | internal KeyValue() |
| | | 18 | | { |
| | 0 | 19 | | } |
| | | 20 | | |
| | | 21 | | /// <summary> Initializes a new instance of KeyValue. </summary> |
| | | 22 | | /// <param name="key"> |
| | | 23 | | /// The primary identifier of a key-value. |
| | | 24 | | /// |
| | | 25 | | /// The key is used in unison with the label to uniquely identify a key-value. |
| | | 26 | | /// </param> |
| | | 27 | | /// <param name="label"> |
| | | 28 | | /// A value used to group key-values. |
| | | 29 | | /// |
| | | 30 | | /// The label is used in unison with the key to uniquely identify a key-value. |
| | | 31 | | /// </param> |
| | | 32 | | /// <param name="value"> The value of the key-value. </param> |
| | | 33 | | /// <param name="contentType"> |
| | | 34 | | /// The content type of the key-value's value. |
| | | 35 | | /// |
| | | 36 | | /// Providing a proper content-type can enable transformations of values when they are retrieved by applications |
| | | 37 | | /// </param> |
| | | 38 | | /// <param name="eTag"> An ETag indicating the state of a key-value within a configuration store. </param> |
| | | 39 | | /// <param name="lastModified"> The last time a modifying operation was performed on the given key-value. </para |
| | | 40 | | /// <param name="locked"> |
| | | 41 | | /// A value indicating whether the key-value is locked. |
| | | 42 | | /// |
| | | 43 | | /// A locked key-value may not be modified until it is unlocked. |
| | | 44 | | /// </param> |
| | | 45 | | /// <param name="tags"> A dictionary of tags that can help identify what a key-value may be applicable for. </pa |
| | 0 | 46 | | internal KeyValue(string key, string label, string value, string contentType, string eTag, DateTimeOffset? lastM |
| | | 47 | | { |
| | 0 | 48 | | Key = key; |
| | 0 | 49 | | Label = label; |
| | 0 | 50 | | Value = value; |
| | 0 | 51 | | ContentType = contentType; |
| | 0 | 52 | | ETag = eTag; |
| | 0 | 53 | | LastModified = lastModified; |
| | 0 | 54 | | Locked = locked; |
| | 0 | 55 | | Tags = tags; |
| | 0 | 56 | | } |
| | | 57 | | |
| | | 58 | | /// <summary> |
| | | 59 | | /// The primary identifier of a key-value. |
| | | 60 | | /// |
| | | 61 | | /// The key is used in unison with the label to uniquely identify a key-value. |
| | | 62 | | /// </summary> |
| | 0 | 63 | | public string Key { get; } |
| | | 64 | | /// <summary> |
| | | 65 | | /// A value used to group key-values. |
| | | 66 | | /// |
| | | 67 | | /// The label is used in unison with the key to uniquely identify a key-value. |
| | | 68 | | /// </summary> |
| | 0 | 69 | | public string Label { get; } |
| | | 70 | | /// <summary> The value of the key-value. </summary> |
| | 0 | 71 | | public string Value { get; } |
| | | 72 | | /// <summary> |
| | | 73 | | /// The content type of the key-value's value. |
| | | 74 | | /// |
| | | 75 | | /// Providing a proper content-type can enable transformations of values when they are retrieved by applications |
| | | 76 | | /// </summary> |
| | 0 | 77 | | public string ContentType { get; } |
| | | 78 | | /// <summary> An ETag indicating the state of a key-value within a configuration store. </summary> |
| | 0 | 79 | | public string ETag { get; } |
| | | 80 | | /// <summary> The last time a modifying operation was performed on the given key-value. </summary> |
| | 0 | 81 | | public DateTimeOffset? LastModified { get; } |
| | | 82 | | /// <summary> |
| | | 83 | | /// A value indicating whether the key-value is locked. |
| | | 84 | | /// |
| | | 85 | | /// A locked key-value may not be modified until it is unlocked. |
| | | 86 | | /// </summary> |
| | 0 | 87 | | public bool? Locked { get; } |
| | | 88 | | /// <summary> A dictionary of tags that can help identify what a key-value may be applicable for. </summary> |
| | 0 | 89 | | public IReadOnlyDictionary<string, string> Tags { get; } |
| | | 90 | | } |
| | | 91 | | } |