< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
get_Code()-0%100%
get_Kind()-0%100%
Azure.Core.IUtf8JsonSerializable.Write(...)-0%0%

File(s)

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Spark\src\Generated\Models\SparkStatementOptions.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.Spark.Models
 9{
 10    /// <summary> The SparkStatementOptions. </summary>
 11    public partial class SparkStatementOptions
 12    {
 13        /// <summary> Initializes a new instance of SparkStatementOptions. </summary>
 014        public SparkStatementOptions()
 15        {
 016        }
 17
 018        public string Code { get; set; }
 019        public SparkStatementLanguageType? Kind { get; set; }
 20    }
 21}

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Spark\src\Generated\Models\SparkStatementOptions.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.Spark.Models
 12{
 13    public partial class SparkStatementOptions : IUtf8JsonSerializable
 14    {
 15        void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 16        {
 017            writer.WriteStartObject();
 018            if (Optional.IsDefined(Code))
 19            {
 020                writer.WritePropertyName("code");
 021                writer.WriteStringValue(Code);
 22            }
 023            if (Optional.IsDefined(Kind))
 24            {
 025                writer.WritePropertyName("kind");
 026                writer.WriteStringValue(Kind.Value.ToString());
 27            }
 028            writer.WriteEndObject();
 029        }
 30    }
 31}