< Summary

Class:Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker.Models.OperationsGetDetailsHeaders
Assembly:Microsoft.Azure.CognitiveServices.Knowledge.QnAMaker
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Knowledge.QnAMaker\src\Generated\Models\OperationsGetDetailsHeaders.cs
Covered lines:0
Uncovered lines:6
Coverable lines:6
Total lines:57
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_RetryAfter()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Knowledge.QnAMaker\src\Generated\Models\OperationsGetDetailsHeaders.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 Newtonsoft.Json;
 14    using System.Linq;
 15
 16    /// <summary>
 17    /// Defines headers for GetDetails operation.
 18    /// </summary>
 19    public partial class OperationsGetDetailsHeaders
 20    {
 21        /// <summary>
 22        /// Initializes a new instance of the OperationsGetDetailsHeaders
 23        /// class.
 24        /// </summary>
 025        public OperationsGetDetailsHeaders()
 26        {
 27            CustomInit();
 028        }
 29
 30        /// <summary>
 31        /// Initializes a new instance of the OperationsGetDetailsHeaders
 32        /// class.
 33        /// </summary>
 34        /// <param name="retryAfter">Indicates how long the client should wait
 35        /// before sending a follow up request. The header will be present only
 36        /// if the operation is running or has not started yet.</param>
 037        public OperationsGetDetailsHeaders(int? retryAfter = default(int?))
 38        {
 039            RetryAfter = retryAfter;
 40            CustomInit();
 041        }
 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 or sets indicates how long the client should wait before
 50        /// sending a follow up request. The header will be present only if the
 51        /// operation is running or has not started yet.
 52        /// </summary>
 53        [JsonProperty(PropertyName = "RetryAfter")]
 054        public int? RetryAfter { get; set; }
 55
 56    }
 57}

Methods/Properties

.ctor()
.ctor(...)
get_RetryAfter()