< Summary

Class:Azure.Analytics.Synapse.Artifacts.Models.DataFlowDebugPackageDebugSettings
Assembly:Azure.Analytics.Synapse.Artifacts
File(s):C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\DataFlowDebugPackageDebugSettings.cs
C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\DataFlowDebugPackageDebugSettings.Serialization.cs
Covered lines:0
Uncovered lines:26
Coverable lines:26
Total lines:77
Line coverage:0% (0 of 26)
Covered branches:0
Total branches:10
Branch coverage:0% (0 of 10)

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
get_SourceSettings()-0%100%
get_Parameters()-0%100%
get_DatasetParameters()-0%100%
Azure.Core.IUtf8JsonSerializable.Write(...)-0%0%

File(s)

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\DataFlowDebugPackageDebugSettings.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4// <auto-generated/>
 5
 6#nullable disable
 7
 8using System.Collections.Generic;
 9using Azure.Core;
 10
 11namespace Azure.Analytics.Synapse.Artifacts.Models
 12{
 13    /// <summary> Data flow debug settings. </summary>
 14    public partial class DataFlowDebugPackageDebugSettings
 15    {
 16        /// <summary> Initializes a new instance of DataFlowDebugPackageDebugSettings. </summary>
 017        public DataFlowDebugPackageDebugSettings()
 18        {
 019            SourceSettings = new ChangeTrackingList<DataFlowSourceSetting>();
 020            Parameters = new ChangeTrackingDictionary<string, object>();
 021        }
 22
 23        /// <summary> Source setting for data flow debug. </summary>
 024        public IList<DataFlowSourceSetting> SourceSettings { get; }
 25        /// <summary> Data flow parameters. </summary>
 026        public IDictionary<string, object> Parameters { get; }
 27        /// <summary> Parameters for dataset. </summary>
 028        public object DatasetParameters { get; set; }
 29    }
 30}

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\DataFlowDebugPackageDebugSettings.Serialization.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4// <auto-generated/>
 5
 6#nullable disable
 7
 8using System.Text.Json;
 9using Azure.Core;
 10
 11namespace Azure.Analytics.Synapse.Artifacts.Models
 12{
 13    public partial class DataFlowDebugPackageDebugSettings : IUtf8JsonSerializable
 14    {
 15        void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 16        {
 017            writer.WriteStartObject();
 018            if (Optional.IsCollectionDefined(SourceSettings))
 19            {
 020                writer.WritePropertyName("sourceSettings");
 021                writer.WriteStartArray();
 022                foreach (var item in SourceSettings)
 23                {
 024                    writer.WriteObjectValue(item);
 25                }
 026                writer.WriteEndArray();
 27            }
 028            if (Optional.IsCollectionDefined(Parameters))
 29            {
 030                writer.WritePropertyName("parameters");
 031                writer.WriteStartObject();
 032                foreach (var item in Parameters)
 33                {
 034                    writer.WritePropertyName(item.Key);
 035                    writer.WriteObjectValue(item.Value);
 36                }
 037                writer.WriteEndObject();
 38            }
 039            if (Optional.IsDefined(DatasetParameters))
 40            {
 041                writer.WritePropertyName("datasetParameters");
 042                writer.WriteObjectValue(DatasetParameters);
 43            }
 044            writer.WriteEndObject();
 045        }
 46    }
 47}