< Summary

Class:Azure.Security.KeyVault.Administration.ServiceSelectiveKeyRestoreOperationHeaders
Assembly:Azure.Security.KeyVault.Administration
File(s):C:\Git\azure-sdk-for-net\sdk\keyvault\Azure.Security.KeyVault.Administration\src\Generated\ServiceSelectiveKeyRestoreOperationHeaders.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.Security.KeyVault.Administration\src\Generated\ServiceSelectiveKeyRestoreOperationHeaders.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.Security.KeyVault.Administration
 12{
 13    internal class ServiceSelectiveKeyRestoreOperationHeaders
 14    {
 15        private readonly Response _response;
 016        public ServiceSelectiveKeyRestoreOperationHeaders(Response response)
 17        {
 018            _response = response;
 019        }
 20        /// <summary> The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation
 021        public int? RetryAfter => _response.Headers.TryGetValue("Retry-After", out int? value) ? value : null;
 22        /// <summary> The URI to poll for completion status. </summary>
 023        public string AzureAsyncOperation => _response.Headers.TryGetValue("Azure-AsyncOperation", out string value) ? v
 24    }
 25}