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