< Summary

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

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\network\Azure.ResourceManager.Network\src\Generated\Models\SessionIds.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.Collections.Generic;
 9
 10namespace Azure.ResourceManager.Network.Models
 11{
 12    /// <summary> List of session IDs. </summary>
 13    public partial class SessionIds
 14    {
 15        /// <summary> Initializes a new instance of SessionIds. </summary>
 016        public SessionIds()
 17        {
 018        }
 19
 20        /// <summary> Initializes a new instance of SessionIds. </summary>
 21        /// <param name="sessionIdsValue"> List of session IDs. </param>
 022        internal SessionIds(IList<string> sessionIdsValue)
 23        {
 024            SessionIdsValue = sessionIdsValue;
 025        }
 26
 27        /// <summary> List of session IDs. </summary>
 028        public IList<string> SessionIdsValue { get; set; }
 29    }
 30}

C:\Git\azure-sdk-for-net\sdk\network\Azure.ResourceManager.Network\src\Generated\Models\SessionIds.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 SessionIds : IUtf8JsonSerializable
 14    {
 15        void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 16        {
 017            writer.WriteStartObject();
 018            if (SessionIdsValue != null)
 19            {
 020                writer.WritePropertyName("sessionIds");
 021                writer.WriteStartArray();
 022                foreach (var item in SessionIdsValue)
 23                {
 024                    writer.WriteStringValue(item);
 25                }
 026                writer.WriteEndArray();
 27            }
 028            writer.WriteEndObject();
 029        }
 30    }
 31}