< Summary

Class:Microsoft.Azure.Search.Models.DocumentIndexResult
Assembly:Microsoft.Azure.Search.Data
File(s):C:\Git\azure-sdk-for-net\sdk\search\Microsoft.Azure.Search.Data\src\Generated\Models\DocumentIndexResult.cs
Covered lines:6
Uncovered lines:0
Coverable lines:6
Total lines:56
Line coverage:100% (6 of 6)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\search\Microsoft.Azure.Search.Data\src\Generated\Models\DocumentIndexResult.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.Search.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Collections;
 15    using System.Collections.Generic;
 16    using System.Linq;
 17
 18    /// <summary>
 19    /// Response containing the status of operations for all documents in the
 20    /// indexing request.
 21    /// </summary>
 22    public partial class DocumentIndexResult
 23    {
 24        /// <summary>
 25        /// Initializes a new instance of the DocumentIndexResult class.
 26        /// </summary>
 44427        public DocumentIndexResult()
 28        {
 29            CustomInit();
 44430        }
 31
 32        /// <summary>
 33        /// Initializes a new instance of the DocumentIndexResult class.
 34        /// </summary>
 35        /// <param name="results">The list of status information for each
 36        /// document in the indexing request.</param>
 1237        public DocumentIndexResult(IList<IndexingResult> results = default(IList<IndexingResult>))
 38        {
 1239            Results = results;
 40            CustomInit();
 1241        }
 42
 43        /// <summary>
 44        /// An initialization method that performs custom operations like setting defaults
 45        /// </summary>
 46        partial void CustomInit();
 47
 48        /// <summary>
 49        /// Gets the list of status information for each document in the
 50        /// indexing request.
 51        /// </summary>
 52        [JsonProperty(PropertyName = "value")]
 111853        public IList<IndexingResult> Results { get; private set; }
 54
 55    }
 56}

Methods/Properties

.ctor()
.ctor(...)
get_Results()