< Summary

Class:Azure.ResourceManager.KeyVault.PrivateEndpointConnectionsPutHeaders
Assembly:Azure.ResourceManager.KeyVault
File(s):C:\Git\azure-sdk-for-net\sdk\keyvault\Azure.ResourceManager.KeyVault\src\Generated\PrivateEndpointConnectionsPutHeaders.cs
Covered lines:0
Uncovered lines:5
Coverable lines:5
Total lines:25
Line coverage:0% (0 of 5)
Covered branches:0
Total branches:4
Branch coverage:0% (0 of 4)

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\keyvault\Azure.ResourceManager.KeyVault\src\Generated\PrivateEndpointConnectionsPutHeaders.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4// <auto-generated/>
 5
 6#nullable disable
 7
 8using Azure;
 9using Azure.Core;
 10
 11namespace Azure.ResourceManager.KeyVault
 12{
 13    internal class PrivateEndpointConnectionsPutHeaders
 14    {
 15        private readonly Response _response;
 016        public PrivateEndpointConnectionsPutHeaders(Response response)
 17        {
 018            _response = response;
 019        }
 20        /// <summary> (specified only if operation does not finish synchronously) The recommended number of seconds to w
 021        public int? RetryAfter => _response.Headers.TryGetValue("Retry-After", out int? value) ? value : null;
 22        /// <summary> (specified only if operation does not finish synchronously) The URI to poll for completion status.
 023        public string AzureAsyncOperation => _response.Headers.TryGetValue("Azure-AsyncOperation", out string value) ? v
 24    }
 25}