< Summary

Class:Microsoft.Azure.HDInsight.Job.Models.SparkStatement
Assembly:Microsoft.Azure.HDInsight.Job
File(s):C:\Git\azure-sdk-for-net\sdk\hdinsight\Microsoft.Azure.HDInsight.Job\src\Generated\Models\SparkStatement.cs
Covered lines:5
Uncovered lines:9
Coverable lines:14
Total lines:70
Line coverage:35.7% (5 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_Code()-0%100%
get_State()-100%100%
get_Output()-100%100%
get_Progress()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\hdinsight\Microsoft.Azure.HDInsight.Job\src\Generated\Models\SparkStatement.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.Linq;
 15
 16    public partial class SparkStatement
 17    {
 18        /// <summary>
 19        /// Initializes a new instance of the SparkStatement class.
 20        /// </summary>
 421        public SparkStatement()
 22        {
 23            CustomInit();
 424        }
 25
 26        /// <summary>
 27        /// Initializes a new instance of the SparkStatement class.
 28        /// </summary>
 029        public SparkStatement(int? id = default(int?), string code = default(string), string state = default(string), Sp
 30        {
 031            Id = id;
 032            Code = code;
 033            State = state;
 034            Output = output;
 035            Progress = progress;
 36            CustomInit();
 037        }
 38
 39        /// <summary>
 40        /// An initialization method that performs custom operations like setting defaults
 41        /// </summary>
 42        partial void CustomInit();
 43
 44        /// <summary>
 45        /// </summary>
 46        [JsonProperty(PropertyName = "id")]
 647        public int? Id { get; set; }
 48
 49        /// <summary>
 50        /// </summary>
 51        [JsonProperty(PropertyName = "code")]
 052        public string Code { get; set; }
 53
 54        /// <summary>
 55        /// </summary>
 56        [JsonProperty(PropertyName = "state")]
 657        public string State { get; set; }
 58
 59        /// <summary>
 60        /// </summary>
 61        [JsonProperty(PropertyName = "output")]
 462        public SparkStatementOutput Output { get; set; }
 63
 64        /// <summary>
 65        /// </summary>
 66        [JsonProperty(PropertyName = "progress")]
 067        public double? Progress { get; set; }
 68
 69    }
 70}