< Summary

Class:Microsoft.Azure.Batch.Protocol.Models.JobPreparationAndReleaseTaskExecutionInformation
Assembly:Microsoft.Azure.Batch
File(s):C:\Git\azure-sdk-for-net\sdk\batch\Microsoft.Azure.Batch\src\GeneratedProtocol\Models\JobPreparationAndReleaseTaskExecutionInformation.cs
Covered lines:7
Uncovered lines:7
Coverable lines:14
Total lines:101
Line coverage:50% (7 of 14)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_PoolId()-100%100%
get_NodeId()-100%100%
get_NodeUrl()-100%100%
get_JobPreparationTaskExecutionInfo()-100%100%
get_JobReleaseTaskExecutionInfo()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\batch\Microsoft.Azure.Batch\src\GeneratedProtocol\Models\JobPreparationAndReleaseTaskExecutionInformation.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 status of the Job Preparation and Job Release Tasks on a Compute
 18    /// Node.
 19    /// </summary>
 20    public partial class JobPreparationAndReleaseTaskExecutionInformation
 21    {
 22        /// <summary>
 23        /// Initializes a new instance of the
 24        /// JobPreparationAndReleaseTaskExecutionInformation class.
 25        /// </summary>
 100126        public JobPreparationAndReleaseTaskExecutionInformation()
 27        {
 28            CustomInit();
 100129        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the
 33        /// JobPreparationAndReleaseTaskExecutionInformation class.
 34        /// </summary>
 35        /// <param name="poolId">The ID of the Pool containing the Compute Node
 36        /// to which this entry refers.</param>
 37        /// <param name="nodeId">The ID of the Compute Node to which this entry
 38        /// refers.</param>
 39        /// <param name="nodeUrl">The URL of the Compute Node to which this
 40        /// entry refers.</param>
 41        /// <param name="jobPreparationTaskExecutionInfo">Information about the
 42        /// execution status of the Job Preparation Task on this Compute
 43        /// Node.</param>
 44        /// <param name="jobReleaseTaskExecutionInfo">Information about the
 45        /// execution status of the Job Release Task on this Compute
 46        /// Node.</param>
 047        public JobPreparationAndReleaseTaskExecutionInformation(string poolId = default(string), string nodeId = default
 48        {
 049            PoolId = poolId;
 050            NodeId = nodeId;
 051            NodeUrl = nodeUrl;
 052            JobPreparationTaskExecutionInfo = jobPreparationTaskExecutionInfo;
 053            JobReleaseTaskExecutionInfo = jobReleaseTaskExecutionInfo;
 54            CustomInit();
 055        }
 56
 57        /// <summary>
 58        /// An initialization method that performs custom operations like setting defaults
 59        /// </summary>
 60        partial void CustomInit();
 61
 62        /// <summary>
 63        /// Gets or sets the ID of the Pool containing the Compute Node to
 64        /// which this entry refers.
 65        /// </summary>
 66        [JsonProperty(PropertyName = "poolId")]
 248967        public string PoolId { get; set; }
 68
 69        /// <summary>
 70        /// Gets or sets the ID of the Compute Node to which this entry refers.
 71        /// </summary>
 72        [JsonProperty(PropertyName = "nodeId")]
 252073        public string NodeId { get; set; }
 74
 75        /// <summary>
 76        /// Gets or sets the URL of the Compute Node to which this entry
 77        /// refers.
 78        /// </summary>
 79        [JsonProperty(PropertyName = "nodeUrl")]
 248980        public string NodeUrl { get; set; }
 81
 82        /// <summary>
 83        /// Gets or sets information about the execution status of the Job
 84        /// Preparation Task on this Compute Node.
 85        /// </summary>
 86        [JsonProperty(PropertyName = "jobPreparationTaskExecutionInfo")]
 249187        public JobPreparationTaskExecutionInformation JobPreparationTaskExecutionInfo { get; set; }
 88
 89        /// <summary>
 90        /// Gets or sets information about the execution status of the Job
 91        /// Release Task on this Compute Node.
 92        /// </summary>
 93        /// <remarks>
 94        /// This property is set only if the Job Release Task has run on the
 95        /// Compute Node.
 96        /// </remarks>
 97        [JsonProperty(PropertyName = "jobReleaseTaskExecutionInfo")]
 250198        public JobReleaseTaskExecutionInformation JobReleaseTaskExecutionInfo { get; set; }
 99
 100    }
 101}