< Summary

Class:Microsoft.Azure.ApplicationInsights.Query.Models.Column
Assembly:Microsoft.Azure.ApplicationInsights.Query
File(s):C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Generated\Models\Column.cs
Covered lines:0
Uncovered lines:8
Coverable lines:8
Total lines:62
Line coverage:0% (0 of 8)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Generated\Models\Column.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.ApplicationInsights.Query.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Linq;
 15
 16    /// <summary>
 17    /// A table column.
 18    /// </summary>
 19    /// <remarks>
 20    /// A column in a table.
 21    /// </remarks>
 22    public partial class Column
 23    {
 24        /// <summary>
 25        /// Initializes a new instance of the Column class.
 26        /// </summary>
 027        public Column()
 28        {
 29            CustomInit();
 030        }
 31
 32        /// <summary>
 33        /// Initializes a new instance of the Column class.
 34        /// </summary>
 35        /// <param name="name">The name of this column.</param>
 36        /// <param name="type">The data type of this column.</param>
 037        public Column(string name = default(string), string type = default(string))
 38        {
 039            Name = name;
 040            Type = type;
 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        /// Gets or sets the name of this column.
 51        /// </summary>
 52        [JsonProperty(PropertyName = "name")]
 053        public string Name { get; set; }
 54
 55        /// <summary>
 56        /// Gets or sets the data type of this column.
 57        /// </summary>
 58        [JsonProperty(PropertyName = "type")]
 059        public string Type { get; set; }
 60
 61    }
 62}