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