< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-0%0%
get_Properties()-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\LinkedServiceDebugResource.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;
 9
 10namespace Azure.Analytics.Synapse.Artifacts.Models
 11{
 12    /// <summary> Linked service debug resource. </summary>
 13    public partial class LinkedServiceDebugResource : SubResourceDebugResource
 14    {
 15        /// <summary> Initializes a new instance of LinkedServiceDebugResource. </summary>
 16        /// <param name="properties"> Properties of linked service. </param>
 17        /// <exception cref="ArgumentNullException"> <paramref name="properties"/> is null. </exception>
 018        public LinkedServiceDebugResource(LinkedService properties)
 19        {
 020            if (properties == null)
 21            {
 022                throw new ArgumentNullException(nameof(properties));
 23            }
 24
 025            Properties = properties;
 026        }
 27
 28        /// <summary> Properties of linked service. </summary>
 029        public LinkedService Properties { get; }
 30    }
 31}

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\LinkedServiceDebugResource.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 LinkedServiceDebugResource : IUtf8JsonSerializable
 14    {
 15        void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 16        {
 017            writer.WriteStartObject();
 018            writer.WritePropertyName("properties");
 019            writer.WriteObjectValue(Properties);
 020            if (Optional.IsDefined(Name))
 21            {
 022                writer.WritePropertyName("name");
 023                writer.WriteStringValue(Name);
 24            }
 025            writer.WriteEndObject();
 026        }
 27    }
 28}