< Summary

Class:Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ApplicationInfoResponse
Assembly:Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.LUIS.Authoring\src\Generated\Models\ApplicationInfoResponse.cs
Covered lines:9
Uncovered lines:17
Coverable lines:26
Total lines:142
Line coverage:34.6% (9 of 26)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_Id()-100%100%
get_Name()-100%100%
get_Description()-100%100%
get_Culture()-100%100%
get_UsageScenario()-100%100%
get_Domain()-100%100%
get_VersionsCount()-0%100%
get_CreatedDateTime()-0%100%
get_Endpoints()-100%100%
get_EndpointHitsCount()-0%100%
get_ActiveVersion()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.LUIS.Authoring\src\Generated\Models\ApplicationInfoResponse.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.CognitiveServices.Language.LUIS.Authoring.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Linq;
 15
 16    /// <summary>
 17    /// Response containing the Application Info.
 18    /// </summary>
 19    public partial class ApplicationInfoResponse
 20    {
 21        /// <summary>
 22        /// Initializes a new instance of the ApplicationInfoResponse class.
 23        /// </summary>
 4424        public ApplicationInfoResponse()
 25        {
 26            CustomInit();
 4427        }
 28
 29        /// <summary>
 30        /// Initializes a new instance of the ApplicationInfoResponse class.
 31        /// </summary>
 32        /// <param name="id">The ID (GUID) of the application.</param>
 33        /// <param name="name">The name of the application.</param>
 34        /// <param name="description">The description of the
 35        /// application.</param>
 36        /// <param name="culture">The culture of the application. For example,
 37        /// "en-us".</param>
 38        /// <param name="usageScenario">Defines the scenario for the new
 39        /// application. Optional. For example, IoT.</param>
 40        /// <param name="domain">The domain for the new application. Optional.
 41        /// For example, Comics.</param>
 42        /// <param name="versionsCount">Amount of model versions within the
 43        /// application.</param>
 44        /// <param name="createdDateTime">The version's creation
 45        /// timestamp.</param>
 46        /// <param name="endpoints">The Runtime endpoint URL for this model
 47        /// version.</param>
 48        /// <param name="endpointHitsCount">Number of calls made to this
 49        /// endpoint.</param>
 50        /// <param name="activeVersion">The version ID currently marked as
 51        /// active.</param>
 052        public ApplicationInfoResponse(System.Guid? id = default(System.Guid?), string name = default(string), string de
 53        {
 054            Id = id;
 055            Name = name;
 056            Description = description;
 057            Culture = culture;
 058            UsageScenario = usageScenario;
 059            Domain = domain;
 060            VersionsCount = versionsCount;
 061            CreatedDateTime = createdDateTime;
 062            Endpoints = endpoints;
 063            EndpointHitsCount = endpointHitsCount;
 064            ActiveVersion = activeVersion;
 65            CustomInit();
 066        }
 67
 68        /// <summary>
 69        /// An initialization method that performs custom operations like setting defaults
 70        /// </summary>
 71        partial void CustomInit();
 72
 73        /// <summary>
 74        /// Gets or sets the ID (GUID) of the application.
 75        /// </summary>
 76        [JsonProperty(PropertyName = "id")]
 6377        public System.Guid? Id { get; set; }
 78
 79        /// <summary>
 80        /// Gets or sets the name of the application.
 81        /// </summary>
 82        [JsonProperty(PropertyName = "name")]
 4883        public string Name { get; set; }
 84
 85        /// <summary>
 86        /// Gets or sets the description of the application.
 87        /// </summary>
 88        [JsonProperty(PropertyName = "description")]
 4689        public string Description { get; set; }
 90
 91        /// <summary>
 92        /// Gets or sets the culture of the application. For example, "en-us".
 93        /// </summary>
 94        [JsonProperty(PropertyName = "culture")]
 4695        public string Culture { get; set; }
 96
 97        /// <summary>
 98        /// Gets or sets defines the scenario for the new application.
 99        /// Optional. For example, IoT.
 100        /// </summary>
 101        [JsonProperty(PropertyName = "usageScenario")]
 46102        public string UsageScenario { get; set; }
 103
 104        /// <summary>
 105        /// Gets or sets the domain for the new application. Optional. For
 106        /// example, Comics.
 107        /// </summary>
 108        [JsonProperty(PropertyName = "domain")]
 46109        public string Domain { get; set; }
 110
 111        /// <summary>
 112        /// Gets or sets amount of model versions within the application.
 113        /// </summary>
 114        [JsonProperty(PropertyName = "versionsCount")]
 0115        public int? VersionsCount { get; set; }
 116
 117        /// <summary>
 118        /// Gets or sets the version's creation timestamp.
 119        /// </summary>
 120        [JsonProperty(PropertyName = "createdDateTime")]
 0121        public string CreatedDateTime { get; set; }
 122
 123        /// <summary>
 124        /// Gets or sets the Runtime endpoint URL for this model version.
 125        /// </summary>
 126        [JsonProperty(PropertyName = "endpoints")]
 88127        public object Endpoints { get; set; }
 128
 129        /// <summary>
 130        /// Gets or sets number of calls made to this endpoint.
 131        /// </summary>
 132        [JsonProperty(PropertyName = "endpointHitsCount")]
 0133        public int? EndpointHitsCount { get; set; }
 134
 135        /// <summary>
 136        /// Gets or sets the version ID currently marked as active.
 137        /// </summary>
 138        [JsonProperty(PropertyName = "activeVersion")]
 0139        public string ActiveVersion { get; set; }
 140
 141    }
 142}