| | 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.Collections; |
| | 14 | | using System.Collections.Generic; |
| | 15 | | using System.Linq; |
| | 16 | |
|
| | 17 | | /// <summary> |
| | 18 | | /// Context associated with Qna to be updated. |
| | 19 | | /// </summary> |
| | 20 | | public partial class UpdateQnaDTOContext : UpdateContextDTO |
| | 21 | | { |
| | 22 | | /// <summary> |
| | 23 | | /// Initializes a new instance of the UpdateQnaDTOContext class. |
| | 24 | | /// </summary> |
| 0 | 25 | | public UpdateQnaDTOContext() |
| | 26 | | { |
| | 27 | | CustomInit(); |
| 0 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Initializes a new instance of the UpdateQnaDTOContext class. |
| | 32 | | /// </summary> |
| | 33 | | /// <param name="promptsToDelete">List of prompts associated with qna |
| | 34 | | /// to be deleted</param> |
| | 35 | | /// <param name="promptsToAdd">List of prompts to be added to the |
| | 36 | | /// qna.</param> |
| | 37 | | /// <param name="isContextOnly">To mark if a prompt is relevant only |
| | 38 | | /// with a previous question or not. |
| | 39 | | /// true - Do not include this QnA as search result for queries without |
| | 40 | | /// context |
| | 41 | | /// false - ignores context and includes this QnA in search |
| | 42 | | /// result</param> |
| | 43 | | public UpdateQnaDTOContext(IList<int?> promptsToDelete = default(IList<int?>), IList<PromptDTO> promptsToAdd = d |
| 0 | 44 | | : base(promptsToDelete, promptsToAdd, isContextOnly) |
| | 45 | | { |
| | 46 | | CustomInit(); |
| 0 | 47 | | } |
| | 48 | |
|
| | 49 | | /// <summary> |
| | 50 | | /// An initialization method that performs custom operations like setting defaults |
| | 51 | | /// </summary> |
| | 52 | | partial void CustomInit(); |
| | 53 | |
|
| | 54 | | } |
| | 55 | | } |