< Summary

Class:Microsoft.Azure.HDInsight.Job.Models.SparkSessionJob
Assembly:Microsoft.Azure.HDInsight.Job
File(s):C:\Git\azure-sdk-for-net\sdk\hdinsight\Microsoft.Azure.HDInsight.Job\src\Generated\Models\SparkSessionJob.cs
Covered lines:6
Uncovered lines:14
Coverable lines:20
Total lines:90
Line coverage:30% (6 of 20)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_Id()-100%100%
get_AppId()-0%100%
get_Owner()-0%100%
get_ProxyUser()-0%100%
get_Kind()-0%100%
get_LogLines()-100%100%
get_State()-100%100%
get_AppInfo()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\hdinsight\Microsoft.Azure.HDInsight.Job\src\Generated\Models\SparkSessionJob.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 SparkSessionJob
 19    {
 20        /// <summary>
 21        /// Initializes a new instance of the SparkSessionJob class.
 22        /// </summary>
 1423        public SparkSessionJob()
 24        {
 25            CustomInit();
 1426        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the SparkSessionJob class.
 30        /// </summary>
 031        public SparkSessionJob(int? id = default(int?), string appId = default(string), string owner = default(string), 
 32        {
 033            Id = id;
 034            AppId = appId;
 035            Owner = owner;
 036            ProxyUser = proxyUser;
 037            Kind = kind;
 038            LogLines = logLines;
 039            State = state;
 040            AppInfo = appInfo;
 41            CustomInit();
 042        }
 43
 44        /// <summary>
 45        /// An initialization method that performs custom operations like setting defaults
 46        /// </summary>
 47        partial void CustomInit();
 48
 49        /// <summary>
 50        /// </summary>
 51        [JsonProperty(PropertyName = "id")]
 3252        public int? Id { get; set; }
 53
 54        /// <summary>
 55        /// </summary>
 56        [JsonProperty(PropertyName = "appId")]
 057        public string AppId { get; set; }
 58
 59        /// <summary>
 60        /// </summary>
 61        [JsonProperty(PropertyName = "owner")]
 062        public string Owner { get; set; }
 63
 64        /// <summary>
 65        /// </summary>
 66        [JsonProperty(PropertyName = "proxyUser")]
 067        public string ProxyUser { get; set; }
 68
 69        /// <summary>
 70        /// </summary>
 71        [JsonProperty(PropertyName = "kind")]
 072        public string Kind { get; set; }
 73
 74        /// <summary>
 75        /// </summary>
 76        [JsonProperty(PropertyName = "log")]
 2877        public IList<string> LogLines { get; set; }
 78
 79        /// <summary>
 80        /// </summary>
 81        [JsonProperty(PropertyName = "state")]
 2282        public string State { get; set; }
 83
 84        /// <summary>
 85        /// </summary>
 86        [JsonProperty(PropertyName = "appInfo")]
 2887        public IDictionary<string, string> AppInfo { get; set; }
 88
 89    }
 90}