|  |  | 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 |  |  | 
|  |  | 11 |  | namespace 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> | 
|  | 44 | 24 |  |         public ApplicationInfoResponse() | 
|  |  | 25 |  |         { | 
|  |  | 26 |  |             CustomInit(); | 
|  | 44 | 27 |  |         } | 
|  |  | 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> | 
|  | 0 | 52 |  |         public ApplicationInfoResponse(System.Guid? id = default(System.Guid?), string name = default(string), string de | 
|  |  | 53 |  |         { | 
|  | 0 | 54 |  |             Id = id; | 
|  | 0 | 55 |  |             Name = name; | 
|  | 0 | 56 |  |             Description = description; | 
|  | 0 | 57 |  |             Culture = culture; | 
|  | 0 | 58 |  |             UsageScenario = usageScenario; | 
|  | 0 | 59 |  |             Domain = domain; | 
|  | 0 | 60 |  |             VersionsCount = versionsCount; | 
|  | 0 | 61 |  |             CreatedDateTime = createdDateTime; | 
|  | 0 | 62 |  |             Endpoints = endpoints; | 
|  | 0 | 63 |  |             EndpointHitsCount = endpointHitsCount; | 
|  | 0 | 64 |  |             ActiveVersion = activeVersion; | 
|  |  | 65 |  |             CustomInit(); | 
|  | 0 | 66 |  |         } | 
|  |  | 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")] | 
|  | 63 | 77 |  |         public System.Guid? Id { get; set; } | 
|  |  | 78 |  |  | 
|  |  | 79 |  |         /// <summary> | 
|  |  | 80 |  |         /// Gets or sets the name of the application. | 
|  |  | 81 |  |         /// </summary> | 
|  |  | 82 |  |         [JsonProperty(PropertyName = "name")] | 
|  | 48 | 83 |  |         public string Name { get; set; } | 
|  |  | 84 |  |  | 
|  |  | 85 |  |         /// <summary> | 
|  |  | 86 |  |         /// Gets or sets the description of the application. | 
|  |  | 87 |  |         /// </summary> | 
|  |  | 88 |  |         [JsonProperty(PropertyName = "description")] | 
|  | 46 | 89 |  |         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")] | 
|  | 46 | 95 |  |         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")] | 
|  | 46 | 102 |  |         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")] | 
|  | 46 | 109 |  |         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")] | 
|  | 0 | 115 |  |         public int? VersionsCount { get; set; } | 
|  |  | 116 |  |  | 
|  |  | 117 |  |         /// <summary> | 
|  |  | 118 |  |         /// Gets or sets the version's creation timestamp. | 
|  |  | 119 |  |         /// </summary> | 
|  |  | 120 |  |         [JsonProperty(PropertyName = "createdDateTime")] | 
|  | 0 | 121 |  |         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")] | 
|  | 88 | 127 |  |         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")] | 
|  | 0 | 133 |  |         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")] | 
|  | 0 | 139 |  |         public string ActiveVersion { get; set; } | 
|  |  | 140 |  |  | 
|  |  | 141 |  |     } | 
|  |  | 142 |  | } |