| | 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 System.Linq; |
| | 14 | |
|
| | 15 | | /// <summary> |
| | 16 | | /// Context object with previous QnA's information. |
| | 17 | | /// </summary> |
| | 18 | | public partial class QueryDTOContext : QueryContextDTO |
| | 19 | | { |
| | 20 | | /// <summary> |
| | 21 | | /// Initializes a new instance of the QueryDTOContext class. |
| | 22 | | /// </summary> |
| 0 | 23 | | public QueryDTOContext() |
| | 24 | | { |
| | 25 | | CustomInit(); |
| 0 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> |
| | 29 | | /// Initializes a new instance of the QueryDTOContext class. |
| | 30 | | /// </summary> |
| | 31 | | /// <param name="previousQnaId">Previous QnA Id - qnaId of the top |
| | 32 | | /// result.</param> |
| | 33 | | /// <param name="previousUserQuery">Previous user query.</param> |
| | 34 | | public QueryDTOContext(string previousQnaId = default(string), string previousUserQuery = default(string)) |
| 0 | 35 | | : base(previousQnaId, previousUserQuery) |
| | 36 | | { |
| | 37 | | CustomInit(); |
| 0 | 38 | | } |
| | 39 | |
|
| | 40 | | /// <summary> |
| | 41 | | /// An initialization method that performs custom operations like setting defaults |
| | 42 | | /// </summary> |
| | 43 | | partial void CustomInit(); |
| | 44 | |
|
| | 45 | | } |
| | 46 | | } |