| | 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 source. </summary> |
| | 15 | | public partial class CopySource : IDictionary<string, object> |
| | 16 | | { |
| | 17 | | /// <summary> Initializes a new instance of CopySource. </summary> |
| 0 | 18 | | public CopySource() |
| | 19 | | { |
| 0 | 20 | | AdditionalProperties = new ChangeTrackingDictionary<string, object>(); |
| 0 | 21 | | Type = "CopySource"; |
| 0 | 22 | | } |
| | 23 | |
|
| | 24 | | /// <summary> Initializes a new instance of CopySource. </summary> |
| | 25 | | /// <param name="type"> Copy source type. </param> |
| | 26 | | /// <param name="sourceRetryCount"> Source retry count. Type: integer (or Expression with resultType integer). < |
| | 27 | | /// <param name="sourceRetryWait"> Source retry wait. Type: string (or Expression with resultType string), patte |
| | 28 | | /// <param name="maxConcurrentConnections"> The maximum concurrent connection count for the source data store. T |
| | 29 | | /// <param name="additionalProperties"> . </param> |
| 0 | 30 | | internal CopySource(string type, object sourceRetryCount, object sourceRetryWait, object maxConcurrentConnection |
| | 31 | | { |
| 0 | 32 | | Type = type ?? "CopySource"; |
| 0 | 33 | | SourceRetryCount = sourceRetryCount; |
| 0 | 34 | | SourceRetryWait = sourceRetryWait; |
| 0 | 35 | | MaxConcurrentConnections = maxConcurrentConnections; |
| 0 | 36 | | AdditionalProperties = additionalProperties; |
| 0 | 37 | | } |
| | 38 | |
|
| | 39 | | /// <summary> Copy source type. </summary> |
| 0 | 40 | | internal string Type { get; set; } |
| | 41 | | /// <summary> Source retry count. Type: integer (or Expression with resultType integer). </summary> |
| 0 | 42 | | public object SourceRetryCount { get; set; } |
| | 43 | | /// <summary> Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d): |
| 0 | 44 | | public object SourceRetryWait { get; set; } |
| | 45 | | /// <summary> The maximum concurrent connection count for the source data store. Type: integer (or Expression wi |
| 0 | 46 | | public object MaxConcurrentConnections { get; set; } |
| 0 | 47 | | internal IDictionary<string, object> AdditionalProperties { get; } |
| | 48 | | /// <inheritdoc /> |
| 0 | 49 | | public IEnumerator<KeyValuePair<string, object>> GetEnumerator() => AdditionalProperties.GetEnumerator(); |
| | 50 | | /// <inheritdoc /> |
| 0 | 51 | | IEnumerator IEnumerable.GetEnumerator() => AdditionalProperties.GetEnumerator(); |
| | 52 | | /// <inheritdoc /> |
| 0 | 53 | | public bool TryGetValue(string key, out object value) => AdditionalProperties.TryGetValue(key, out value); |
| | 54 | | /// <inheritdoc /> |
| 0 | 55 | | public bool ContainsKey(string key) => AdditionalProperties.ContainsKey(key); |
| | 56 | | /// <inheritdoc /> |
| 0 | 57 | | public ICollection<string> Keys => AdditionalProperties.Keys; |
| | 58 | | /// <inheritdoc /> |
| 0 | 59 | | public ICollection<object> Values => AdditionalProperties.Values; |
| | 60 | | /// <inheritdoc /> |
| 0 | 61 | | int ICollection<KeyValuePair<string, object>>.Count => AdditionalProperties.Count; |
| | 62 | | /// <inheritdoc /> |
| 0 | 63 | | public void Add(string key, object value) => AdditionalProperties.Add(key, value); |
| | 64 | | /// <inheritdoc /> |
| 0 | 65 | | public bool Remove(string key) => AdditionalProperties.Remove(key); |
| | 66 | | /// <inheritdoc /> |
| 0 | 67 | | bool ICollection<KeyValuePair<string, object>>.IsReadOnly => AdditionalProperties.IsReadOnly; |
| | 68 | | /// <inheritdoc /> |
| 0 | 69 | | void ICollection<KeyValuePair<string, object>>.Add(KeyValuePair<string, object> value) => AdditionalProperties.A |
| | 70 | | /// <inheritdoc /> |
| 0 | 71 | | bool ICollection<KeyValuePair<string, object>>.Remove(KeyValuePair<string, object> value) => AdditionalPropertie |
| | 72 | | /// <inheritdoc /> |
| 0 | 73 | | bool ICollection<KeyValuePair<string, object>>.Contains(KeyValuePair<string, object> value) => AdditionalPropert |
| | 74 | | /// <inheritdoc /> |
| 0 | 75 | | void ICollection<KeyValuePair<string, object>>.CopyTo(KeyValuePair<string, object>[] destination, int offset) => |
| | 76 | | /// <inheritdoc /> |
| 0 | 77 | | void ICollection<KeyValuePair<string, object>>.Clear() => AdditionalProperties.Clear(); |
| | 78 | | /// <inheritdoc /> |
| | 79 | | public object this[string key] |
| | 80 | | { |
| 0 | 81 | | get => AdditionalProperties[key]; |
| 0 | 82 | | set => AdditionalProperties[key] = value; |
| | 83 | | } |
| | 84 | | } |
| | 85 | | } |