| | 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.Collections; |
| | 9 | | using System.Collections.Generic; |
| | 10 | |
|
| | 11 | | namespace Azure.ResourceManager.Resources.Models |
| | 12 | | { |
| | 13 | | /// <summary> General metadata for the parameter. </summary> |
| | 14 | | public partial class ParameterDefinitionsValueMetadata : IDictionary<string, object> |
| | 15 | | { |
| | 16 | | /// <summary> Initializes a new instance of ParameterDefinitionsValueMetadata. </summary> |
| 0 | 17 | | public ParameterDefinitionsValueMetadata() |
| | 18 | | { |
| 0 | 19 | | AdditionalProperties = new Dictionary<string, object>(); |
| 0 | 20 | | } |
| | 21 | |
|
| | 22 | | /// <summary> Initializes a new instance of ParameterDefinitionsValueMetadata. </summary> |
| | 23 | | /// <param name="displayName"> The display name for the parameter. </param> |
| | 24 | | /// <param name="description"> The description of the parameter. </param> |
| | 25 | | /// <param name="additionalProperties"> . </param> |
| 64016 | 26 | | internal ParameterDefinitionsValueMetadata(string displayName, string description, IDictionary<string, object> a |
| | 27 | | { |
| 64016 | 28 | | DisplayName = displayName; |
| 64016 | 29 | | Description = description; |
| 64016 | 30 | | AdditionalProperties = additionalProperties ?? new Dictionary<string, object>(); |
| 64016 | 31 | | } |
| | 32 | |
|
| | 33 | | /// <summary> The display name for the parameter. </summary> |
| 0 | 34 | | public string DisplayName { get; set; } |
| | 35 | | /// <summary> The description of the parameter. </summary> |
| 0 | 36 | | public string Description { get; set; } |
| 0 | 37 | | internal IDictionary<string, object> AdditionalProperties { get; } |
| | 38 | | /// <inheritdoc /> |
| 0 | 39 | | public IEnumerator<KeyValuePair<string, object>> GetEnumerator() => AdditionalProperties.GetEnumerator(); |
| | 40 | | /// <inheritdoc /> |
| 0 | 41 | | IEnumerator IEnumerable.GetEnumerator() => AdditionalProperties.GetEnumerator(); |
| | 42 | | /// <inheritdoc /> |
| 0 | 43 | | public bool TryGetValue(string key, out object value) => AdditionalProperties.TryGetValue(key, out value); |
| | 44 | | /// <inheritdoc /> |
| 0 | 45 | | public bool ContainsKey(string key) => AdditionalProperties.ContainsKey(key); |
| | 46 | | /// <inheritdoc /> |
| 0 | 47 | | public ICollection<string> Keys => AdditionalProperties.Keys; |
| | 48 | | /// <inheritdoc /> |
| 0 | 49 | | public ICollection<object> Values => AdditionalProperties.Values; |
| | 50 | | /// <inheritdoc /> |
| 0 | 51 | | int ICollection<KeyValuePair<string, object>>.Count => AdditionalProperties.Count; |
| | 52 | | /// <inheritdoc /> |
| 0 | 53 | | public void Add(string key, object value) => AdditionalProperties.Add(key, value); |
| | 54 | | /// <inheritdoc /> |
| 0 | 55 | | public bool Remove(string key) => AdditionalProperties.Remove(key); |
| | 56 | | /// <inheritdoc /> |
| 0 | 57 | | bool ICollection<KeyValuePair<string, object>>.IsReadOnly => AdditionalProperties.IsReadOnly; |
| | 58 | | /// <inheritdoc /> |
| 0 | 59 | | void ICollection<KeyValuePair<string, object>>.Add(KeyValuePair<string, object> value) => AdditionalProperties.A |
| | 60 | | /// <inheritdoc /> |
| 0 | 61 | | bool ICollection<KeyValuePair<string, object>>.Remove(KeyValuePair<string, object> value) => AdditionalPropertie |
| | 62 | | /// <inheritdoc /> |
| 0 | 63 | | bool ICollection<KeyValuePair<string, object>>.Contains(KeyValuePair<string, object> value) => AdditionalPropert |
| | 64 | | /// <inheritdoc /> |
| 0 | 65 | | void ICollection<KeyValuePair<string, object>>.CopyTo(KeyValuePair<string, object>[] destination, int offset) => |
| | 66 | | /// <inheritdoc /> |
| 0 | 67 | | void ICollection<KeyValuePair<string, object>>.Clear() => AdditionalProperties.Clear(); |
| | 68 | | /// <inheritdoc /> |
| | 69 | | public object this[string key] |
| | 70 | | { |
| 0 | 71 | | get => AdditionalProperties[key]; |
| 0 | 72 | | set => AdditionalProperties[key] = value; |
| | 73 | | } |
| | 74 | | } |
| | 75 | | } |