< Summary

Class:Azure.ResourceManager.Network.Models.VpnDeviceScriptParameters
Assembly:Azure.ResourceManager.Network
File(s):C:\Git\azure-sdk-for-net\sdk\network\Azure.ResourceManager.Network\src\Generated\Models\VpnDeviceScriptParameters.cs
C:\Git\azure-sdk-for-net\sdk\network\Azure.ResourceManager.Network\src\Generated\Models\VpnDeviceScriptParameters.Serialization.cs
Covered lines:0
Uncovered lines:22
Coverable lines:22
Total lines:72
Line coverage:0% (0 of 22)
Covered branches:0
Total branches:6
Branch coverage:0% (0 of 6)

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_Vendor()-0%100%
get_DeviceFamily()-0%100%
get_FirmwareVersion()-0%100%
Azure.Core.IUtf8JsonSerializable.Write(...)-0%0%

File(s)

C:\Git\azure-sdk-for-net\sdk\network\Azure.ResourceManager.Network\src\Generated\Models\VpnDeviceScriptParameters.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.ResourceManager.Network.Models
 9{
 10    /// <summary> Vpn device configuration script generation parameters. </summary>
 11    public partial class VpnDeviceScriptParameters
 12    {
 13        /// <summary> Initializes a new instance of VpnDeviceScriptParameters. </summary>
 014        public VpnDeviceScriptParameters()
 15        {
 016        }
 17
 18        /// <summary> Initializes a new instance of VpnDeviceScriptParameters. </summary>
 19        /// <param name="vendor"> The vendor for the vpn device. </param>
 20        /// <param name="deviceFamily"> The device family for the vpn device. </param>
 21        /// <param name="firmwareVersion"> The firmware version for the vpn device. </param>
 022        internal VpnDeviceScriptParameters(string vendor, string deviceFamily, string firmwareVersion)
 23        {
 024            Vendor = vendor;
 025            DeviceFamily = deviceFamily;
 026            FirmwareVersion = firmwareVersion;
 027        }
 28
 29        /// <summary> The vendor for the vpn device. </summary>
 030        public string Vendor { get; set; }
 31        /// <summary> The device family for the vpn device. </summary>
 032        public string DeviceFamily { get; set; }
 33        /// <summary> The firmware version for the vpn device. </summary>
 034        public string FirmwareVersion { get; set; }
 35    }
 36}

C:\Git\azure-sdk-for-net\sdk\network\Azure.ResourceManager.Network\src\Generated\Models\VpnDeviceScriptParameters.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.ResourceManager.Network.Models
 12{
 13    public partial class VpnDeviceScriptParameters : IUtf8JsonSerializable
 14    {
 15        void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 16        {
 017            writer.WriteStartObject();
 018            if (Vendor != null)
 19            {
 020                writer.WritePropertyName("vendor");
 021                writer.WriteStringValue(Vendor);
 22            }
 023            if (DeviceFamily != null)
 24            {
 025                writer.WritePropertyName("deviceFamily");
 026                writer.WriteStringValue(DeviceFamily);
 27            }
 028            if (FirmwareVersion != null)
 29            {
 030                writer.WritePropertyName("firmwareVersion");
 031                writer.WriteStringValue(FirmwareVersion);
 32            }
 033            writer.WriteEndObject();
 034        }
 35    }
 36}