< Summary

Class:Microsoft.Azure.Batch.Protocol.Models.ComputeNodeGetRemoteLoginSettingsResult
Assembly:Microsoft.Azure.Batch
File(s):C:\Git\azure-sdk-for-net\sdk\batch\Microsoft.Azure.Batch\src\GeneratedProtocol\Models\ComputeNodeGetRemoteLoginSettingsResult.cs
Covered lines:3
Uncovered lines:5
Coverable lines:8
Total lines:64
Line coverage:37.5% (3 of 8)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_RemoteLoginIPAddress()-0%100%
get_RemoteLoginPort()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\batch\Microsoft.Azure.Batch\src\GeneratedProtocol\Models\ComputeNodeGetRemoteLoginSettingsResult.cs

#LineLine coverage
 1// <auto-generated>
 2// Copyright (c) Microsoft Corporation. All rights reserved.
 3// Licensed under the MIT License. See License.txt in the project root for
 4// license information.
 5//
 6// Code generated by Microsoft (R) AutoRest Code Generator.
 7// Changes may cause incorrect behavior and will be lost if the code is
 8// regenerated.
 9// </auto-generated>
 10
 11namespace Microsoft.Azure.Batch.Protocol.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Linq;
 15
 16    /// <summary>
 17    /// The remote login settings for a Compute Node.
 18    /// </summary>
 19    public partial class ComputeNodeGetRemoteLoginSettingsResult
 20    {
 21        /// <summary>
 22        /// Initializes a new instance of the
 23        /// ComputeNodeGetRemoteLoginSettingsResult class.
 24        /// </summary>
 125        public ComputeNodeGetRemoteLoginSettingsResult()
 26        {
 27            CustomInit();
 128        }
 29
 30        /// <summary>
 31        /// Initializes a new instance of the
 32        /// ComputeNodeGetRemoteLoginSettingsResult class.
 33        /// </summary>
 34        /// <param name="remoteLoginIPAddress">The IP address used for remote
 35        /// login to the Compute Node.</param>
 36        /// <param name="remoteLoginPort">The port used for remote login to the
 37        /// Compute Node.</param>
 038        public ComputeNodeGetRemoteLoginSettingsResult(string remoteLoginIPAddress, int remoteLoginPort)
 39        {
 040            RemoteLoginIPAddress = remoteLoginIPAddress;
 041            RemoteLoginPort = remoteLoginPort;
 42            CustomInit();
 043        }
 44
 45        /// <summary>
 46        /// An initialization method that performs custom operations like setting defaults
 47        /// </summary>
 48        partial void CustomInit();
 49
 50        /// <summary>
 51        /// Gets or sets the IP address used for remote login to the Compute
 52        /// Node.
 53        /// </summary>
 54        [JsonProperty(PropertyName = "remoteLoginIPAddress")]
 055        public string RemoteLoginIPAddress { get; set; }
 56
 57        /// <summary>
 58        /// Gets or sets the port used for remote login to the Compute Node.
 59        /// </summary>
 60        [JsonProperty(PropertyName = "remoteLoginPort")]
 261        public int RemoteLoginPort { get; set; }
 62
 63    }
 64}