< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_SessionId()-0%100%
DeserializeCreateDataFlowDebugSessionResponse(...)-0%0%

File(s)

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\CreateDataFlowDebugSessionResponse.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> Response body structure for creating data flow debug session. </summary>
 11    public partial class CreateDataFlowDebugSessionResponse
 12    {
 13        /// <summary> Initializes a new instance of CreateDataFlowDebugSessionResponse. </summary>
 014        internal CreateDataFlowDebugSessionResponse()
 15        {
 016        }
 17
 18        /// <summary> Initializes a new instance of CreateDataFlowDebugSessionResponse. </summary>
 19        /// <param name="sessionId"> The ID of data flow debug session. </param>
 020        internal CreateDataFlowDebugSessionResponse(string sessionId)
 21        {
 022            SessionId = sessionId;
 023        }
 24
 25        /// <summary> The ID of data flow debug session. </summary>
 026        public string SessionId { get; }
 27    }
 28}

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\CreateDataFlowDebugSessionResponse.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 CreateDataFlowDebugSessionResponse
 14    {
 15        internal static CreateDataFlowDebugSessionResponse DeserializeCreateDataFlowDebugSessionResponse(JsonElement ele
 16        {
 017            Optional<string> sessionId = default;
 018            foreach (var property in element.EnumerateObject())
 19            {
 020                if (property.NameEquals("sessionId"))
 21                {
 022                    sessionId = property.Value.GetString();
 23                    continue;
 24                }
 25            }
 026            return new CreateDataFlowDebugSessionResponse(sessionId.Value);
 27        }
 28    }
 29}