< Summary

Class:Microsoft.Azure.OperationalInsights.Models.Column
Assembly:Microsoft.Azure.OperationalInsights
File(s):C:\Git\azure-sdk-for-net\sdk\operationalinsights\Microsoft.Azure.OperationalInsights\src\Generated\Models\Column.cs
Covered lines:2
Uncovered lines:6
Coverable lines:8
Total lines:58
Line coverage:25% (2 of 8)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\operationalinsights\Microsoft.Azure.OperationalInsights\src\Generated\Models\Column.cs

#LineLine coverage
 1// <auto-generated>
 2// Code generated by Microsoft (R) AutoRest Code Generator.
 3// Changes may cause incorrect behavior and will be lost if the code is
 4// regenerated.
 5// </auto-generated>
 6
 7namespace Microsoft.Azure.OperationalInsights.Models
 8{
 9    using Newtonsoft.Json;
 10    using System.Linq;
 11
 12    /// <summary>
 13    /// A table column.
 14    /// </summary>
 15    /// <remarks>
 16    /// A column in a table.
 17    /// </remarks>
 18    public partial class Column
 19    {
 20        /// <summary>
 21        /// Initializes a new instance of the Column class.
 22        /// </summary>
 494023        public Column()
 24        {
 25            CustomInit();
 494026        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the Column class.
 30        /// </summary>
 31        /// <param name="name">The name of this column.</param>
 32        /// <param name="type">The data type of this column.</param>
 033        public Column(string name = default(string), string type = default(string))
 34        {
 035            Name = name;
 036            Type = type;
 37            CustomInit();
 038        }
 39
 40        /// <summary>
 41        /// An initialization method that performs custom operations like setting defaults
 42        /// </summary>
 43        partial void CustomInit();
 44
 45        /// <summary>
 46        /// Gets or sets the name of this column.
 47        /// </summary>
 48        [JsonProperty(PropertyName = "name")]
 049        public string Name { get; set; }
 50
 51        /// <summary>
 52        /// Gets or sets the data type of this column.
 53        /// </summary>
 54        [JsonProperty(PropertyName = "type")]
 055        public string Type { get; set; }
 56
 57    }
 58}