< Summary

Class:Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.UpdateKbOperationDTOAdd
Assembly:Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Knowledge.QnAMaker\src\Generated\Models\UpdateKbOperationDTOAdd.cs
Covered lines:0
Uncovered lines:4
Coverable lines:4
Total lines:51
Line coverage:0% (0 of 4)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Knowledge.QnAMaker\src\Generated\Models\UpdateKbOperationDTOAdd.cs

#LineLine coverage
 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
 11namespace 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>
 025        public UpdateKbOperationDTOAdd()
 26        {
 27            CustomInit();
 028        }
 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
 040            : base(qnaList, urls, files)
 41        {
 42            CustomInit();
 043        }
 44
 45        /// <summary>
 46        /// An initialization method that performs custom operations like setting defaults
 47        /// </summary>
 48        partial void CustomInit();
 49
 50    }
 51}

Methods/Properties

.ctor()
.ctor(...)