< Summary

Class:Microsoft.Azure.Batch.JobPreparationAndReleaseTaskExecutionInformation
Assembly:Microsoft.Azure.Batch
File(s):C:\Git\azure-sdk-for-net\sdk\batch\Microsoft.Azure.Batch\src\Generated\JobPreparationAndReleaseTaskExecutionInformation.cs
Covered lines:13
Uncovered lines:2
Coverable lines:15
Total lines:86
Line coverage:86.6% (13 of 15)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-100%100%
get_ComputeNodeId()-100%100%
get_ComputeNodeUrl()-100%100%
get_JobPreparationTaskExecutionInformation()-100%100%
get_JobReleaseTaskExecutionInformation()-100%100%
get_PoolId()-100%100%
Microsoft.Azure.Batch.IModifiable.get_HasBeenModified()-0%100%
Microsoft.Azure.Batch.IReadOnly.get_IsReadOnly()-0%100%
Microsoft.Azure.Batch.IReadOnly.set_IsReadOnly(...)-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\batch\Microsoft.Azure.Batch\src\Generated\JobPreparationAndReleaseTaskExecutionInformation.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License. See License.txt in the project root for license information.
 3//
 4// Code generated by Microsoft (R) AutoRest Code Generator.
 5// Changes may cause incorrect behavior and will be lost if the code is
 6// regenerated.
 7
 8//
 9// This file was autogenerated by a tool.
 10// Do not modify it.
 11//
 12
 13namespace Microsoft.Azure.Batch
 14{
 15    using Models = Microsoft.Azure.Batch.Protocol.Models;
 16    using System;
 17    using System.Collections.Generic;
 18    using System.Linq;
 19
 20    /// <summary>
 21    /// The status of the Job Preparation task and Job Release task on a compute node.
 22    /// </summary>
 23    public partial class JobPreparationAndReleaseTaskExecutionInformation : IPropertyMetadata
 24    {
 25        #region Constructors
 26
 100127        internal JobPreparationAndReleaseTaskExecutionInformation(Models.JobPreparationAndReleaseTaskExecutionInformatio
 28        {
 100129            this.ComputeNodeId = protocolObject.NodeId;
 100130            this.ComputeNodeUrl = protocolObject.NodeUrl;
 149131            this.JobPreparationTaskExecutionInformation = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.Job
 150132            this.JobReleaseTaskExecutionInformation = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.JobRele
 100133            this.PoolId = protocolObject.PoolId;
 100134        }
 35
 36        #endregion Constructors
 37
 38        #region JobPreparationAndReleaseTaskExecutionInformation
 39
 40        /// <summary>
 41        /// Gets the id of the compute node.
 42        /// </summary>
 100143        public string ComputeNodeId { get; }
 44
 45        /// <summary>
 46        /// Gets the URL of the compute node.
 47        /// </summary>
 100148        public string ComputeNodeUrl { get; }
 49
 50        /// <summary>
 51        /// Gets details of the <see cref="CloudJob.JobPreparationTask">Job Preparation task</see> on this compute node.
 52        /// </summary>
 100153        public JobPreparationTaskExecutionInformation JobPreparationTaskExecutionInformation { get; }
 54
 55        /// <summary>
 56        /// Gets details of the <see cref="CloudJob.JobReleaseTask">Job Release task</see> on this compute node.
 57        /// </summary>
 100158        public JobReleaseTaskExecutionInformation JobReleaseTaskExecutionInformation { get; }
 59
 60        /// <summary>
 61        /// Gets the id of the pool containing the compute node.
 62        /// </summary>
 100163        public string PoolId { get; }
 64
 65        #endregion // JobPreparationAndReleaseTaskExecutionInformation
 66
 67        #region IPropertyMetadata
 68
 69        bool IModifiable.HasBeenModified
 70        {
 71            //This class is compile time readonly so it cannot have been modified
 072            get { return false; }
 73        }
 74
 75        bool IReadOnly.IsReadOnly
 76        {
 077            get { return true; }
 78            set
 79            {
 80                // This class is compile time readonly already
 181            }
 82        }
 83
 84        #endregion // IPropertyMetadata
 85    }
 86}