< Summary

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

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\SsisExecutionParameter.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> SSIS execution parameter. </summary>
 13    public partial class SsisExecutionParameter
 14    {
 15        /// <summary> Initializes a new instance of SsisExecutionParameter. </summary>
 16        /// <param name="value"> SSIS package execution parameter value. Type: string (or Expression with resultType str
 17        /// <exception cref="ArgumentNullException"> <paramref name="value"/> is null. </exception>
 018        public SsisExecutionParameter(object value)
 19        {
 020            if (value == null)
 21            {
 022                throw new ArgumentNullException(nameof(value));
 23            }
 24
 025            Value = value;
 026        }
 27
 28        /// <summary> SSIS package execution parameter value. Type: string (or Expression with resultType string). </sum
 029        public object Value { get; set; }
 30    }
 31}

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Artifacts\src\Generated\Models\SsisExecutionParameter.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 SsisExecutionParameter : IUtf8JsonSerializable
 14    {
 15        void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 16        {
 017            writer.WriteStartObject();
 018            writer.WritePropertyName("value");
 019            writer.WriteObjectValue(Value);
 020            writer.WriteEndObject();
 021        }
 22
 23        internal static SsisExecutionParameter DeserializeSsisExecutionParameter(JsonElement element)
 24        {
 025            object value = default;
 026            foreach (var property in element.EnumerateObject())
 27            {
 028                if (property.NameEquals("value"))
 29                {
 030                    value = property.Value.GetObject();
 31                    continue;
 32                }
 33            }
 034            return new SsisExecutionParameter(value);
 35        }
 36    }
 37}