| | 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> Data flow debug session info. </summary> |
| | 15 | | public partial class DataFlowDebugSessionInfo : IReadOnlyDictionary<string, object> |
| | 16 | | { |
| | 17 | | /// <summary> Initializes a new instance of DataFlowDebugSessionInfo. </summary> |
| 0 | 18 | | internal DataFlowDebugSessionInfo() |
| | 19 | | { |
| 0 | 20 | | AdditionalProperties = new ChangeTrackingDictionary<string, object>(); |
| 0 | 21 | | } |
| | 22 | |
|
| | 23 | | /// <summary> Initializes a new instance of DataFlowDebugSessionInfo. </summary> |
| | 24 | | /// <param name="dataFlowName"> The name of the data flow. </param> |
| | 25 | | /// <param name="computeType"> Compute type of the cluster. </param> |
| | 26 | | /// <param name="coreCount"> Core count of the cluster. </param> |
| | 27 | | /// <param name="nodeCount"> Node count of the cluster. (deprecated property). </param> |
| | 28 | | /// <param name="integrationRuntimeName"> Attached integration runtime name of data flow debug session. </param> |
| | 29 | | /// <param name="sessionId"> The ID of data flow debug session. </param> |
| | 30 | | /// <param name="startTime"> Start time of data flow debug session. </param> |
| | 31 | | /// <param name="timeToLiveInMinutes"> Compute type of the cluster. </param> |
| | 32 | | /// <param name="lastActivityTime"> Last activity time of data flow debug session. </param> |
| | 33 | | /// <param name="additionalProperties"> . </param> |
| 0 | 34 | | internal DataFlowDebugSessionInfo(string dataFlowName, string computeType, int? coreCount, int? nodeCount, strin |
| | 35 | | { |
| 0 | 36 | | DataFlowName = dataFlowName; |
| 0 | 37 | | ComputeType = computeType; |
| 0 | 38 | | CoreCount = coreCount; |
| 0 | 39 | | NodeCount = nodeCount; |
| 0 | 40 | | IntegrationRuntimeName = integrationRuntimeName; |
| 0 | 41 | | SessionId = sessionId; |
| 0 | 42 | | StartTime = startTime; |
| 0 | 43 | | TimeToLiveInMinutes = timeToLiveInMinutes; |
| 0 | 44 | | LastActivityTime = lastActivityTime; |
| 0 | 45 | | AdditionalProperties = additionalProperties; |
| 0 | 46 | | } |
| | 47 | |
|
| | 48 | | /// <summary> The name of the data flow. </summary> |
| 0 | 49 | | public string DataFlowName { get; } |
| | 50 | | /// <summary> Compute type of the cluster. </summary> |
| 0 | 51 | | public string ComputeType { get; } |
| | 52 | | /// <summary> Core count of the cluster. </summary> |
| 0 | 53 | | public int? CoreCount { get; } |
| | 54 | | /// <summary> Node count of the cluster. (deprecated property). </summary> |
| 0 | 55 | | public int? NodeCount { get; } |
| | 56 | | /// <summary> Attached integration runtime name of data flow debug session. </summary> |
| 0 | 57 | | public string IntegrationRuntimeName { get; } |
| | 58 | | /// <summary> The ID of data flow debug session. </summary> |
| 0 | 59 | | public string SessionId { get; } |
| | 60 | | /// <summary> Start time of data flow debug session. </summary> |
| 0 | 61 | | public string StartTime { get; } |
| | 62 | | /// <summary> Compute type of the cluster. </summary> |
| 0 | 63 | | public int? TimeToLiveInMinutes { get; } |
| | 64 | | /// <summary> Last activity time of data flow debug session. </summary> |
| 0 | 65 | | public string LastActivityTime { get; } |
| 0 | 66 | | internal IReadOnlyDictionary<string, object> AdditionalProperties { get; } |
| | 67 | | /// <inheritdoc /> |
| 0 | 68 | | public IEnumerator<KeyValuePair<string, object>> GetEnumerator() => AdditionalProperties.GetEnumerator(); |
| | 69 | | /// <inheritdoc /> |
| 0 | 70 | | IEnumerator IEnumerable.GetEnumerator() => AdditionalProperties.GetEnumerator(); |
| | 71 | | /// <inheritdoc /> |
| 0 | 72 | | public bool TryGetValue(string key, out object value) => AdditionalProperties.TryGetValue(key, out value); |
| | 73 | | /// <inheritdoc /> |
| 0 | 74 | | public bool ContainsKey(string key) => AdditionalProperties.ContainsKey(key); |
| | 75 | | /// <inheritdoc /> |
| 0 | 76 | | public IEnumerable<string> Keys => AdditionalProperties.Keys; |
| | 77 | | /// <inheritdoc /> |
| 0 | 78 | | public IEnumerable<object> Values => AdditionalProperties.Values; |
| | 79 | | /// <inheritdoc /> |
| 0 | 80 | | int IReadOnlyCollection<KeyValuePair<string, object>>.Count => AdditionalProperties.Count; |
| | 81 | | /// <inheritdoc /> |
| | 82 | | public object this[string key] |
| | 83 | | { |
| 0 | 84 | | get => AdditionalProperties[key]; |
| | 85 | | } |
| | 86 | | } |
| | 87 | | } |