< Summary

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

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\batch\Microsoft.Azure.Batch\src\GeneratedProtocol\Models\JobDisableParameter.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    /// Options when disabling a Job.
 18    /// </summary>
 19    public partial class JobDisableParameter
 20    {
 21        /// <summary>
 22        /// Initializes a new instance of the JobDisableParameter class.
 23        /// </summary>
 024        public JobDisableParameter()
 25        {
 26            CustomInit();
 027        }
 28
 29        /// <summary>
 30        /// Initializes a new instance of the JobDisableParameter class.
 31        /// </summary>
 32        /// <param name="disableTasks">What to do with active Tasks associated
 33        /// with the Job.</param>
 034        public JobDisableParameter(DisableJobOption disableTasks)
 35        {
 036            DisableTasks = disableTasks;
 37            CustomInit();
 038        }
 39
 40        /// <summary>
 41        /// An initialization method that performs custom operations like setting defaults
 42        /// </summary>
 43        partial void CustomInit();
 44
 45        /// <summary>
 46        /// Gets or sets what to do with active Tasks associated with the Job.
 47        /// </summary>
 48        /// <remarks>
 49        /// Possible values include: 'requeue', 'terminate', 'wait'
 50        /// </remarks>
 51        [JsonProperty(PropertyName = "disableTasks")]
 052        public DisableJobOption DisableTasks { get; set; }
 53
 54    }
 55}