| | | 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> A copy activity sink. </summary> |
| | | 15 | | public partial class CopySink : IDictionary<string, object> |
| | | 16 | | { |
| | | 17 | | /// <summary> Initializes a new instance of CopySink. </summary> |
| | 0 | 18 | | public CopySink() |
| | | 19 | | { |
| | 0 | 20 | | AdditionalProperties = new ChangeTrackingDictionary<string, object>(); |
| | 0 | 21 | | Type = "CopySink"; |
| | 0 | 22 | | } |
| | | 23 | | |
| | | 24 | | /// <summary> Initializes a new instance of CopySink. </summary> |
| | | 25 | | /// <param name="type"> Copy sink type. </param> |
| | | 26 | | /// <param name="writeBatchSize"> Write batch size. Type: integer (or Expression with resultType integer), minim |
| | | 27 | | /// <param name="writeBatchTimeout"> Write batch timeout. Type: string (or Expression with resultType string), p |
| | | 28 | | /// <param name="sinkRetryCount"> Sink retry count. Type: integer (or Expression with resultType integer). </par |
| | | 29 | | /// <param name="sinkRetryWait"> Sink retry wait. Type: string (or Expression with resultType string), pattern: |
| | | 30 | | /// <param name="maxConcurrentConnections"> The maximum concurrent connection count for the sink data store. Typ |
| | | 31 | | /// <param name="additionalProperties"> . </param> |
| | 0 | 32 | | internal CopySink(string type, object writeBatchSize, object writeBatchTimeout, object sinkRetryCount, object si |
| | | 33 | | { |
| | 0 | 34 | | Type = type ?? "CopySink"; |
| | 0 | 35 | | WriteBatchSize = writeBatchSize; |
| | 0 | 36 | | WriteBatchTimeout = writeBatchTimeout; |
| | 0 | 37 | | SinkRetryCount = sinkRetryCount; |
| | 0 | 38 | | SinkRetryWait = sinkRetryWait; |
| | 0 | 39 | | MaxConcurrentConnections = maxConcurrentConnections; |
| | 0 | 40 | | AdditionalProperties = additionalProperties; |
| | 0 | 41 | | } |
| | | 42 | | |
| | | 43 | | /// <summary> Copy sink type. </summary> |
| | 0 | 44 | | internal string Type { get; set; } |
| | | 45 | | /// <summary> Write batch size. Type: integer (or Expression with resultType integer), minimum: 0. </summary> |
| | 0 | 46 | | public object WriteBatchSize { get; set; } |
| | | 47 | | /// <summary> Write batch timeout. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d |
| | 0 | 48 | | public object WriteBatchTimeout { get; set; } |
| | | 49 | | /// <summary> Sink retry count. Type: integer (or Expression with resultType integer). </summary> |
| | 0 | 50 | | public object SinkRetryCount { get; set; } |
| | | 51 | | /// <summary> Sink retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(6 |
| | 0 | 52 | | public object SinkRetryWait { get; set; } |
| | | 53 | | /// <summary> The maximum concurrent connection count for the sink data store. Type: integer (or Expression with |
| | 0 | 54 | | public object MaxConcurrentConnections { get; set; } |
| | 0 | 55 | | internal IDictionary<string, object> AdditionalProperties { get; } |
| | | 56 | | /// <inheritdoc /> |
| | 0 | 57 | | public IEnumerator<KeyValuePair<string, object>> GetEnumerator() => AdditionalProperties.GetEnumerator(); |
| | | 58 | | /// <inheritdoc /> |
| | 0 | 59 | | IEnumerator IEnumerable.GetEnumerator() => AdditionalProperties.GetEnumerator(); |
| | | 60 | | /// <inheritdoc /> |
| | 0 | 61 | | public bool TryGetValue(string key, out object value) => AdditionalProperties.TryGetValue(key, out value); |
| | | 62 | | /// <inheritdoc /> |
| | 0 | 63 | | public bool ContainsKey(string key) => AdditionalProperties.ContainsKey(key); |
| | | 64 | | /// <inheritdoc /> |
| | 0 | 65 | | public ICollection<string> Keys => AdditionalProperties.Keys; |
| | | 66 | | /// <inheritdoc /> |
| | 0 | 67 | | public ICollection<object> Values => AdditionalProperties.Values; |
| | | 68 | | /// <inheritdoc /> |
| | 0 | 69 | | int ICollection<KeyValuePair<string, object>>.Count => AdditionalProperties.Count; |
| | | 70 | | /// <inheritdoc /> |
| | 0 | 71 | | public void Add(string key, object value) => AdditionalProperties.Add(key, value); |
| | | 72 | | /// <inheritdoc /> |
| | 0 | 73 | | public bool Remove(string key) => AdditionalProperties.Remove(key); |
| | | 74 | | /// <inheritdoc /> |
| | 0 | 75 | | bool ICollection<KeyValuePair<string, object>>.IsReadOnly => AdditionalProperties.IsReadOnly; |
| | | 76 | | /// <inheritdoc /> |
| | 0 | 77 | | void ICollection<KeyValuePair<string, object>>.Add(KeyValuePair<string, object> value) => AdditionalProperties.A |
| | | 78 | | /// <inheritdoc /> |
| | 0 | 79 | | bool ICollection<KeyValuePair<string, object>>.Remove(KeyValuePair<string, object> value) => AdditionalPropertie |
| | | 80 | | /// <inheritdoc /> |
| | 0 | 81 | | bool ICollection<KeyValuePair<string, object>>.Contains(KeyValuePair<string, object> value) => AdditionalPropert |
| | | 82 | | /// <inheritdoc /> |
| | 0 | 83 | | void ICollection<KeyValuePair<string, object>>.CopyTo(KeyValuePair<string, object>[] destination, int offset) => |
| | | 84 | | /// <inheritdoc /> |
| | 0 | 85 | | void ICollection<KeyValuePair<string, object>>.Clear() => AdditionalProperties.Clear(); |
| | | 86 | | /// <inheritdoc /> |
| | | 87 | | public object this[string key] |
| | | 88 | | { |
| | 0 | 89 | | get => AdditionalProperties[key]; |
| | 0 | 90 | | set => AdditionalProperties[key] = value; |
| | | 91 | | } |
| | | 92 | | } |
| | | 93 | | } |