< Summary

Class:Microsoft.Azure.CognitiveServices.Vision.ComputerVision.Models.ListModelsResult
Assembly:Microsoft.Azure.CognitiveServices.Vision.ComputerVision
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ComputerVision\src\Generated\Models\ListModelsResult.cs
Covered lines:0
Uncovered lines:6
Coverable lines:6
Total lines:53
Line coverage:0% (0 of 6)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ComputerVision\src\Generated\Models\ListModelsResult.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.Vision.ComputerVision.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Collections;
 15    using System.Collections.Generic;
 16    using System.Linq;
 17
 18    /// <summary>
 19    /// Result of the List Domain Models operation.
 20    /// </summary>
 21    public partial class ListModelsResult
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the ListModelsResult class.
 25        /// </summary>
 026        public ListModelsResult()
 27        {
 28            CustomInit();
 029        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the ListModelsResult class.
 33        /// </summary>
 34        /// <param name="modelsProperty">An array of supported models.</param>
 035        public ListModelsResult(IList<ModelDescription> modelsProperty = default(IList<ModelDescription>))
 36        {
 037            ModelsProperty = modelsProperty;
 38            CustomInit();
 039        }
 40
 41        /// <summary>
 42        /// An initialization method that performs custom operations like setting defaults
 43        /// </summary>
 44        partial void CustomInit();
 45
 46        /// <summary>
 47        /// Gets an array of supported models.
 48        /// </summary>
 49        [JsonProperty(PropertyName = "models")]
 050        public IList<ModelDescription> ModelsProperty { get; private set; }
 51
 52    }
 53}