| | 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.Text.Json; |
| | 9 | | using Azure.Core; |
| | 10 | |
|
| | 11 | | namespace Azure.Analytics.Synapse.Artifacts.Models |
| | 12 | | { |
| | 13 | | public partial class DataFlowDebugPackageDebugSettings : IUtf8JsonSerializable |
| | 14 | | { |
| | 15 | | void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) |
| | 16 | | { |
| 0 | 17 | | writer.WriteStartObject(); |
| 0 | 18 | | if (Optional.IsCollectionDefined(SourceSettings)) |
| | 19 | | { |
| 0 | 20 | | writer.WritePropertyName("sourceSettings"); |
| 0 | 21 | | writer.WriteStartArray(); |
| 0 | 22 | | foreach (var item in SourceSettings) |
| | 23 | | { |
| 0 | 24 | | writer.WriteObjectValue(item); |
| | 25 | | } |
| 0 | 26 | | writer.WriteEndArray(); |
| | 27 | | } |
| 0 | 28 | | if (Optional.IsCollectionDefined(Parameters)) |
| | 29 | | { |
| 0 | 30 | | writer.WritePropertyName("parameters"); |
| 0 | 31 | | writer.WriteStartObject(); |
| 0 | 32 | | foreach (var item in Parameters) |
| | 33 | | { |
| 0 | 34 | | writer.WritePropertyName(item.Key); |
| 0 | 35 | | writer.WriteObjectValue(item.Value); |
| | 36 | | } |
| 0 | 37 | | writer.WriteEndObject(); |
| | 38 | | } |
| 0 | 39 | | if (Optional.IsDefined(DatasetParameters)) |
| | 40 | | { |
| 0 | 41 | | writer.WritePropertyName("datasetParameters"); |
| 0 | 42 | | writer.WriteObjectValue(DatasetParameters); |
| | 43 | | } |
| 0 | 44 | | writer.WriteEndObject(); |
| 0 | 45 | | } |
| | 46 | | } |
| | 47 | | } |