| | 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 | | /// An instance of CreateKbInputDTO for add operation |
| | 19 | | /// </summary> |
| | 20 | | public partial class UpdateKbOperationDTOAdd : CreateKbInputDTO |
| | 21 | | { |
| | 22 | | /// <summary> |
| | 23 | | /// Initializes a new instance of the UpdateKbOperationDTOAdd class. |
| | 24 | | /// </summary> |
| 0 | 25 | | public UpdateKbOperationDTOAdd() |
| | 26 | | { |
| | 27 | | CustomInit(); |
| 0 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Initializes a new instance of the UpdateKbOperationDTOAdd class. |
| | 32 | | /// </summary> |
| | 33 | | /// <param name="qnaList">List of QNA to be added to the index. Ids are |
| | 34 | | /// generated by the service and should be omitted.</param> |
| | 35 | | /// <param name="urls">List of URLs to be added to |
| | 36 | | /// knowledgebase.</param> |
| | 37 | | /// <param name="files">List of files to be added to |
| | 38 | | /// knowledgebase.</param> |
| | 39 | | public UpdateKbOperationDTOAdd(IList<QnADTO> qnaList = default(IList<QnADTO>), IList<string> urls = default(ILis |
| 0 | 40 | | : base(qnaList, urls, files) |
| | 41 | | { |
| | 42 | | CustomInit(); |
| 0 | 43 | | } |
| | 44 | |
|
| | 45 | | /// <summary> |
| | 46 | | /// An initialization method that performs custom operations like setting defaults |
| | 47 | | /// </summary> |
| | 48 | | partial void CustomInit(); |
| | 49 | |
|
| | 50 | | } |
| | 51 | | } |