< Summary

Class:Microsoft.Azure.HDInsight.Job.Models.SparkBatchJobRequest
Assembly:Microsoft.Azure.HDInsight.Job
File(s):C:\Git\azure-sdk-for-net\sdk\hdinsight\Microsoft.Azure.HDInsight.Job\src\Generated\Models\SparkBatchJobRequest.cs
Covered lines:5
Uncovered lines:31
Coverable lines:36
Total lines:138
Line coverage:13.8% (5 of 36)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_File()-100%100%
get_ProxyUser()-0%100%
get_ClassName()-100%100%
get_Arguments()-100%100%
get_Jars()-0%100%
get_PythonFiles()-0%100%
get_Files()-0%100%
get_DriverMemory()-0%100%
get_DriverCores()-0%100%
get_ExecutorMemory()-0%100%
get_ExecutorCores()-0%100%
get_ExecutorCount()-0%100%
get_Archives()-0%100%
get_Queue()-0%100%
get_Name()-0%100%
get_Configuration()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\hdinsight\Microsoft.Azure.HDInsight.Job\src\Generated\Models\SparkBatchJobRequest.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.HDInsight.Job.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Collections;
 15    using System.Collections.Generic;
 16    using System.Linq;
 17
 18    public partial class SparkBatchJobRequest
 19    {
 20        /// <summary>
 21        /// Initializes a new instance of the SparkBatchJobRequest class.
 22        /// </summary>
 623        public SparkBatchJobRequest()
 24        {
 25            CustomInit();
 626        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the SparkBatchJobRequest class.
 30        /// </summary>
 031        public SparkBatchJobRequest(string file = default(string), string proxyUser = default(string), string className 
 32        {
 033            File = file;
 034            ProxyUser = proxyUser;
 035            ClassName = className;
 036            Arguments = arguments;
 037            Jars = jars;
 038            PythonFiles = pythonFiles;
 039            Files = files;
 040            DriverMemory = driverMemory;
 041            DriverCores = driverCores;
 042            ExecutorMemory = executorMemory;
 043            ExecutorCores = executorCores;
 044            ExecutorCount = executorCount;
 045            Archives = archives;
 046            Queue = queue;
 047            Name = name;
 048            Configuration = configuration;
 49            CustomInit();
 050        }
 51
 52        /// <summary>
 53        /// An initialization method that performs custom operations like setting defaults
 54        /// </summary>
 55        partial void CustomInit();
 56
 57        /// <summary>
 58        /// </summary>
 59        [JsonProperty(PropertyName = "file")]
 1260        public string File { get; set; }
 61
 62        /// <summary>
 63        /// </summary>
 64        [JsonProperty(PropertyName = "proxyUser")]
 065        public string ProxyUser { get; set; }
 66
 67        /// <summary>
 68        /// </summary>
 69        [JsonProperty(PropertyName = "className")]
 1270        public string ClassName { get; set; }
 71
 72        /// <summary>
 73        /// </summary>
 74        [JsonProperty(PropertyName = "args")]
 1275        public IList<string> Arguments { get; set; }
 76
 77        /// <summary>
 78        /// </summary>
 79        [JsonProperty(PropertyName = "jars")]
 080        public IList<string> Jars { get; set; }
 81
 82        /// <summary>
 83        /// </summary>
 84        [JsonProperty(PropertyName = "pyFiles")]
 085        public IList<string> PythonFiles { get; set; }
 86
 87        /// <summary>
 88        /// </summary>
 89        [JsonProperty(PropertyName = "files")]
 090        public IList<string> Files { get; set; }
 91
 92        /// <summary>
 93        /// </summary>
 94        [JsonProperty(PropertyName = "driverMemory")]
 095        public string DriverMemory { get; set; }
 96
 97        /// <summary>
 98        /// </summary>
 99        [JsonProperty(PropertyName = "driverCores")]
 0100        public int? DriverCores { get; set; }
 101
 102        /// <summary>
 103        /// </summary>
 104        [JsonProperty(PropertyName = "executorMemory")]
 0105        public string ExecutorMemory { get; set; }
 106
 107        /// <summary>
 108        /// </summary>
 109        [JsonProperty(PropertyName = "executorCores")]
 0110        public int? ExecutorCores { get; set; }
 111
 112        /// <summary>
 113        /// </summary>
 114        [JsonProperty(PropertyName = "numExecutors")]
 0115        public int? ExecutorCount { get; set; }
 116
 117        /// <summary>
 118        /// </summary>
 119        [JsonProperty(PropertyName = "archives")]
 0120        public IList<string> Archives { get; set; }
 121
 122        /// <summary>
 123        /// </summary>
 124        [JsonProperty(PropertyName = "queue")]
 0125        public string Queue { get; set; }
 126
 127        /// <summary>
 128        /// </summary>
 129        [JsonProperty(PropertyName = "name")]
 0130        public string Name { get; set; }
 131
 132        /// <summary>
 133        /// </summary>
 134        [JsonProperty(PropertyName = "conf")]
 0135        public IDictionary<string, string> Configuration { get; set; }
 136
 137    }
 138}