< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_Statements()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\hdinsight\Microsoft.Azure.HDInsight.Job\src\Generated\Models\SparkStatementCollection.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 SparkStatementCollection
 19    {
 20        /// <summary>
 21        /// Initializes a new instance of the SparkStatementCollection class.
 22        /// </summary>
 423        public SparkStatementCollection()
 24        {
 25            CustomInit();
 426        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the SparkStatementCollection class.
 30        /// </summary>
 031        public SparkStatementCollection(IList<SparkStatement> statements = default(IList<SparkStatement>))
 32        {
 033            Statements = statements;
 34            CustomInit();
 035        }
 36
 37        /// <summary>
 38        /// An initialization method that performs custom operations like setting defaults
 39        /// </summary>
 40        partial void CustomInit();
 41
 42        /// <summary>
 43        /// </summary>
 44        [JsonProperty(PropertyName = "statements")]
 1245        public IList<SparkStatement> Statements { get; set; }
 46
 47    }
 48}

Methods/Properties

.ctor()
.ctor(...)
get_Statements()