< Summary

Class:Microsoft.Azure.HDInsight.Job.Models.SparkSessionJobRequest
Assembly:Microsoft.Azure.HDInsight.Job
File(s):C:\Git\azure-sdk-for-net\sdk\hdinsight\Microsoft.Azure.HDInsight.Job\src\Generated\Models\SparkSessionJobRequest.cs
Covered lines:3
Uncovered lines:31
Coverable lines:34
Total lines:136
Line coverage:8.8% (3 of 34)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_Kind()-100%100%
get_ProxyUser()-0%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%
get_HeartbeatTimeoutInSecond()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\hdinsight\Microsoft.Azure.HDInsight.Job\src\Generated\Models\SparkSessionJobRequest.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 SparkSessionJobRequest
 19    {
 20        /// <summary>
 21        /// Initializes a new instance of the SparkSessionJobRequest class.
 22        /// </summary>
 823        public SparkSessionJobRequest()
 24        {
 25            CustomInit();
 826        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the SparkSessionJobRequest class.
 30        /// </summary>
 31        /// <param name="kind">Possible values include: 'spark', 'pyspark',
 32        /// 'sparkr', 'sql'</param>
 033        public SparkSessionJobRequest(string kind = default(string), string proxyUser = default(string), IList<string> j
 34        {
 035            Kind = kind;
 036            ProxyUser = proxyUser;
 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;
 049            HeartbeatTimeoutInSecond = heartbeatTimeoutInSecond;
 50            CustomInit();
 051        }
 52
 53        /// <summary>
 54        /// An initialization method that performs custom operations like setting defaults
 55        /// </summary>
 56        partial void CustomInit();
 57
 58        /// <summary>
 59        /// Gets or sets possible values include: 'spark', 'pyspark', 'sparkr',
 60        /// 'sql'
 61        /// </summary>
 62        [JsonProperty(PropertyName = "kind")]
 1663        public string Kind { get; set; }
 64
 65        /// <summary>
 66        /// </summary>
 67        [JsonProperty(PropertyName = "proxyUser")]
 068        public string ProxyUser { get; set; }
 69
 70        /// <summary>
 71        /// </summary>
 72        [JsonProperty(PropertyName = "jars")]
 073        public IList<string> Jars { get; set; }
 74
 75        /// <summary>
 76        /// </summary>
 77        [JsonProperty(PropertyName = "pyFiles")]
 078        public IList<string> PythonFiles { get; set; }
 79
 80        /// <summary>
 81        /// </summary>
 82        [JsonProperty(PropertyName = "files")]
 083        public IList<string> Files { get; set; }
 84
 85        /// <summary>
 86        /// </summary>
 87        [JsonProperty(PropertyName = "driverMemory")]
 088        public string DriverMemory { get; set; }
 89
 90        /// <summary>
 91        /// </summary>
 92        [JsonProperty(PropertyName = "driverCores")]
 093        public int? DriverCores { get; set; }
 94
 95        /// <summary>
 96        /// </summary>
 97        [JsonProperty(PropertyName = "executorMemory")]
 098        public string ExecutorMemory { get; set; }
 99
 100        /// <summary>
 101        /// </summary>
 102        [JsonProperty(PropertyName = "executorCores")]
 0103        public int? ExecutorCores { get; set; }
 104
 105        /// <summary>
 106        /// </summary>
 107        [JsonProperty(PropertyName = "numExecutors")]
 0108        public int? ExecutorCount { get; set; }
 109
 110        /// <summary>
 111        /// </summary>
 112        [JsonProperty(PropertyName = "archives")]
 0113        public IList<string> Archives { get; set; }
 114
 115        /// <summary>
 116        /// </summary>
 117        [JsonProperty(PropertyName = "queue")]
 0118        public string Queue { get; set; }
 119
 120        /// <summary>
 121        /// </summary>
 122        [JsonProperty(PropertyName = "name")]
 0123        public string Name { get; set; }
 124
 125        /// <summary>
 126        /// </summary>
 127        [JsonProperty(PropertyName = "conf")]
 0128        public IDictionary<string, string> Configuration { get; set; }
 129
 130        /// <summary>
 131        /// </summary>
 132        [JsonProperty(PropertyName = "heartbeatTimeoutInSecond")]
 0133        public int? HeartbeatTimeoutInSecond { get; set; }
 134
 135    }
 136}