< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
get_SessionId()-0%100%
get_DataFlowName()-0%100%
get_CommandName()-0%100%
get_CommandPayload()-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\DataFlowDebugCommandRequest.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
 8namespace Azure.Analytics.Synapse.Artifacts.Models
 9{
 10    /// <summary> Request body structure for data flow expression preview. </summary>
 11    public partial class DataFlowDebugCommandRequest
 12    {
 13        /// <summary> Initializes a new instance of DataFlowDebugCommandRequest. </summary>
 014        public DataFlowDebugCommandRequest()
 15        {
 016        }
 17
 18        /// <summary> The ID of data flow debug session. </summary>
 019        public string SessionId { get; set; }
 20        /// <summary> The data flow which contains the debug session. </summary>
 021        public string DataFlowName { get; set; }
 22        /// <summary> The command name. </summary>
 023        public string CommandName { get; set; }
 24        /// <summary> The command payload object. </summary>
 025        public object CommandPayload { get; set; }
 26    }
 27}

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\DataFlowDebugCommandRequest.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 DataFlowDebugCommandRequest : IUtf8JsonSerializable
 14    {
 15        void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 16        {
 017            writer.WriteStartObject();
 018            if (Optional.IsDefined(SessionId))
 19            {
 020                writer.WritePropertyName("sessionId");
 021                writer.WriteStringValue(SessionId);
 22            }
 023            if (Optional.IsDefined(DataFlowName))
 24            {
 025                writer.WritePropertyName("dataFlowName");
 026                writer.WriteStringValue(DataFlowName);
 27            }
 028            if (Optional.IsDefined(CommandName))
 29            {
 030                writer.WritePropertyName("commandName");
 031                writer.WriteStringValue(CommandName);
 32            }
 033            if (Optional.IsDefined(CommandPayload))
 34            {
 035                writer.WritePropertyName("commandPayload");
 036                writer.WriteObjectValue(CommandPayload);
 37            }
 038            writer.WriteEndObject();
 039        }
 40    }
 41}