< Summary

Class:Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring.Models.ProductionOrStagingEndpointInfo
Assembly:Microsoft.Azure.CognitiveServices.Language.LUIS.Authoring
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.LUIS.Authoring\src\Generated\Models\ProductionOrStagingEndpointInfo.cs
Covered lines:2
Uncovered lines:2
Coverable lines:4
Total lines:55
Line coverage:50% (2 of 4)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Language.LUIS.Authoring\src\Generated\Models\ProductionOrStagingEndpointInfo.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.Language.LUIS.Authoring.Models
 12{
 13    using System.Linq;
 14
 15    public partial class ProductionOrStagingEndpointInfo : EndpointInfo
 16    {
 17        /// <summary>
 18        /// Initializes a new instance of the ProductionOrStagingEndpointInfo
 19        /// class.
 20        /// </summary>
 121        public ProductionOrStagingEndpointInfo()
 22        {
 23            CustomInit();
 124        }
 25
 26        /// <summary>
 27        /// Initializes a new instance of the ProductionOrStagingEndpointInfo
 28        /// class.
 29        /// </summary>
 30        /// <param name="versionId">The version ID to publish.</param>
 31        /// <param name="isStaging">Indicates if the staging slot should be
 32        /// used, instead of the Production one.</param>
 33        /// <param name="endpointUrl">The Runtime endpoint URL for this model
 34        /// version.</param>
 35        /// <param name="region">The target region that the application is
 36        /// published to.</param>
 37        /// <param name="assignedEndpointKey">The endpoint key.</param>
 38        /// <param name="endpointRegion">The endpoint's region.</param>
 39        /// <param name="failedRegions">Regions where publishing
 40        /// failed.</param>
 41        /// <param name="publishedDateTime">Timestamp when was last
 42        /// published.</param>
 43        public ProductionOrStagingEndpointInfo(string versionId = default(string), bool? isStaging = default(bool?), str
 044            : base(versionId, isStaging, endpointUrl, region, assignedEndpointKey, endpointRegion, failedRegions, publis
 45        {
 46            CustomInit();
 047        }
 48
 49        /// <summary>
 50        /// An initialization method that performs custom operations like setting defaults
 51        /// </summary>
 52        partial void CustomInit();
 53
 54    }
 55}

Methods/Properties

.ctor()
.ctor(...)