< Summary

Class:Azure.Analytics.Synapse.Artifacts.Models.DatasetDebugResource
Assembly:Azure.Analytics.Synapse.Artifacts
File(s):C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\DatasetDebugResource.cs
C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\DatasetDebugResource.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\DatasetDebugResource.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> Dataset debug resource. </summary>
 13    public partial class DatasetDebugResource : SubResourceDebugResource
 14    {
 15        /// <summary> Initializes a new instance of DatasetDebugResource. </summary>
 16        /// <param name="properties"> Dataset properties. </param>
 17        /// <exception cref="ArgumentNullException"> <paramref name="properties"/> is null. </exception>
 018        public DatasetDebugResource(Dataset properties)
 19        {
 020            if (properties == null)
 21            {
 022                throw new ArgumentNullException(nameof(properties));
 23            }
 24
 025            Properties = properties;
 026        }
 27
 28        /// <summary> Dataset properties. </summary>
 029        public Dataset Properties { get; }
 30    }
 31}

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\DatasetDebugResource.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 DatasetDebugResource : 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}