< Summary

Class:Microsoft.Azure.HDInsight.Job.Models.SparkBatchJob
Assembly:Microsoft.Azure.HDInsight.Job
File(s):C:\Git\azure-sdk-for-net\sdk\hdinsight\Microsoft.Azure.HDInsight.Job\src\Generated\Models\SparkBatchJob.cs
Covered lines:6
Uncovered lines:8
Coverable lines:14
Total lines:72
Line coverage:42.8% (6 of 14)
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_AppInfo()-100%100%
get_State()-100%100%
get_LogLines()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\hdinsight\Microsoft.Azure.HDInsight.Job\src\Generated\Models\SparkBatchJob.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 SparkBatchJob
 19    {
 20        /// <summary>
 21        /// Initializes a new instance of the SparkBatchJob class.
 22        /// </summary>
 1223        public SparkBatchJob()
 24        {
 25            CustomInit();
 1226        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the SparkBatchJob class.
 30        /// </summary>
 031        public SparkBatchJob(int? id = default(int?), string appId = default(string), IDictionary<string, string> appInf
 32        {
 033            Id = id;
 034            AppId = appId;
 035            AppInfo = appInfo;
 036            State = state;
 037            LogLines = logLines;
 38            CustomInit();
 039        }
 40
 41        /// <summary>
 42        /// An initialization method that performs custom operations like setting defaults
 43        /// </summary>
 44        partial void CustomInit();
 45
 46        /// <summary>
 47        /// </summary>
 48        [JsonProperty(PropertyName = "id")]
 1649        public int? Id { get; set; }
 50
 51        /// <summary>
 52        /// </summary>
 53        [JsonProperty(PropertyName = "appId")]
 054        public string AppId { get; set; }
 55
 56        /// <summary>
 57        /// </summary>
 58        [JsonProperty(PropertyName = "appInfo")]
 2459        public IDictionary<string, string> AppInfo { get; set; }
 60
 61        /// <summary>
 62        /// </summary>
 63        [JsonProperty(PropertyName = "state")]
 1864        public string State { get; set; }
 65
 66        /// <summary>
 67        /// </summary>
 68        [JsonProperty(PropertyName = "log")]
 2469        public IList<string> LogLines { get; set; }
 70
 71    }
 72}