| | | 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.Knowledge.QnAMaker.Models |
| | | 12 | | { |
| | | 13 | | using Newtonsoft.Json; |
| | | 14 | | using System.Linq; |
| | | 15 | | |
| | | 16 | | /// <summary> |
| | | 17 | | /// Schema for EndpointKeys generate/refresh operations. |
| | | 18 | | /// </summary> |
| | | 19 | | public partial class EndpointKeysDTO |
| | | 20 | | { |
| | | 21 | | /// <summary> |
| | | 22 | | /// Initializes a new instance of the EndpointKeysDTO class. |
| | | 23 | | /// </summary> |
| | 0 | 24 | | public EndpointKeysDTO() |
| | | 25 | | { |
| | | 26 | | CustomInit(); |
| | 0 | 27 | | } |
| | | 28 | | |
| | | 29 | | /// <summary> |
| | | 30 | | /// Initializes a new instance of the EndpointKeysDTO class. |
| | | 31 | | /// </summary> |
| | | 32 | | /// <param name="primaryEndpointKey">Primary Access Key.</param> |
| | | 33 | | /// <param name="secondaryEndpointKey">Secondary Access Key.</param> |
| | | 34 | | /// <param name="installedVersion">Current version of runtime.</param> |
| | | 35 | | /// <param name="lastStableVersion">Latest version of runtime.</param> |
| | | 36 | | /// <param name="language">Language setting of runtime.</param> |
| | 0 | 37 | | public EndpointKeysDTO(string primaryEndpointKey = default(string), string secondaryEndpointKey = default(string |
| | | 38 | | { |
| | 0 | 39 | | PrimaryEndpointKey = primaryEndpointKey; |
| | 0 | 40 | | SecondaryEndpointKey = secondaryEndpointKey; |
| | 0 | 41 | | InstalledVersion = installedVersion; |
| | 0 | 42 | | LastStableVersion = lastStableVersion; |
| | 0 | 43 | | Language = language; |
| | | 44 | | CustomInit(); |
| | 0 | 45 | | } |
| | | 46 | | |
| | | 47 | | /// <summary> |
| | | 48 | | /// An initialization method that performs custom operations like setting defaults |
| | | 49 | | /// </summary> |
| | | 50 | | partial void CustomInit(); |
| | | 51 | | |
| | | 52 | | /// <summary> |
| | | 53 | | /// Gets or sets primary Access Key. |
| | | 54 | | /// </summary> |
| | | 55 | | [JsonProperty(PropertyName = "primaryEndpointKey")] |
| | 0 | 56 | | public string PrimaryEndpointKey { get; set; } |
| | | 57 | | |
| | | 58 | | /// <summary> |
| | | 59 | | /// Gets or sets secondary Access Key. |
| | | 60 | | /// </summary> |
| | | 61 | | [JsonProperty(PropertyName = "secondaryEndpointKey")] |
| | 0 | 62 | | public string SecondaryEndpointKey { get; set; } |
| | | 63 | | |
| | | 64 | | /// <summary> |
| | | 65 | | /// Gets or sets current version of runtime. |
| | | 66 | | /// </summary> |
| | | 67 | | [JsonProperty(PropertyName = "installedVersion")] |
| | 0 | 68 | | public string InstalledVersion { get; set; } |
| | | 69 | | |
| | | 70 | | /// <summary> |
| | | 71 | | /// Gets or sets latest version of runtime. |
| | | 72 | | /// </summary> |
| | | 73 | | [JsonProperty(PropertyName = "lastStableVersion")] |
| | 0 | 74 | | public string LastStableVersion { get; set; } |
| | | 75 | | |
| | | 76 | | /// <summary> |
| | | 77 | | /// Gets or sets language setting of runtime. |
| | | 78 | | /// </summary> |
| | | 79 | | [JsonProperty(PropertyName = "language")] |
| | 0 | 80 | | public string Language { get; set; } |
| | | 81 | | |
| | | 82 | | } |
| | | 83 | | } |