< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
get_DataFlowName()-0%100%
get_ExistingClusterId()-0%100%
get_ClusterTimeout()-0%100%
get_NewClusterName()-0%100%
get_NewClusterNodeType()-0%100%
get_DataBricksLinkedService()-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\CreateDataFlowDebugSessionRequest.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 creating data flow debug session. </summary>
 11    public partial class CreateDataFlowDebugSessionRequest
 12    {
 13        /// <summary> Initializes a new instance of CreateDataFlowDebugSessionRequest. </summary>
 014        public CreateDataFlowDebugSessionRequest()
 15        {
 016        }
 17
 18        /// <summary> The name of the data flow. </summary>
 019        public string DataFlowName { get; set; }
 20        /// <summary> The ID of existing Databricks cluster. </summary>
 021        public string ExistingClusterId { get; set; }
 22        /// <summary> Timeout setting for Databricks cluster. </summary>
 023        public int? ClusterTimeout { get; set; }
 24        /// <summary> The name of new Databricks cluster. </summary>
 025        public string NewClusterName { get; set; }
 26        /// <summary> The type of new Databricks cluster. </summary>
 027        public string NewClusterNodeType { get; set; }
 28        /// <summary> Data bricks linked service. </summary>
 029        public LinkedServiceResource DataBricksLinkedService { get; set; }
 30    }
 31}

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\CreateDataFlowDebugSessionRequest.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 CreateDataFlowDebugSessionRequest : IUtf8JsonSerializable
 14    {
 15        void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 16        {
 017            writer.WriteStartObject();
 018            if (Optional.IsDefined(DataFlowName))
 19            {
 020                writer.WritePropertyName("dataFlowName");
 021                writer.WriteStringValue(DataFlowName);
 22            }
 023            if (Optional.IsDefined(ExistingClusterId))
 24            {
 025                writer.WritePropertyName("existingClusterId");
 026                writer.WriteStringValue(ExistingClusterId);
 27            }
 028            if (Optional.IsDefined(ClusterTimeout))
 29            {
 030                writer.WritePropertyName("clusterTimeout");
 031                writer.WriteNumberValue(ClusterTimeout.Value);
 32            }
 033            if (Optional.IsDefined(NewClusterName))
 34            {
 035                writer.WritePropertyName("newClusterName");
 036                writer.WriteStringValue(NewClusterName);
 37            }
 038            if (Optional.IsDefined(NewClusterNodeType))
 39            {
 040                writer.WritePropertyName("newClusterNodeType");
 041                writer.WriteStringValue(NewClusterNodeType);
 42            }
 043            if (Optional.IsDefined(DataBricksLinkedService))
 44            {
 045                writer.WritePropertyName("dataBricksLinkedService");
 046                writer.WriteObjectValue(DataBricksLinkedService);
 47            }
 048            writer.WriteEndObject();
 049        }
 50    }
 51}