| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using Azure; |
| | 9 | | using Azure.Core; |
| | 10 | |
|
| | 11 | | namespace Azure.Security.KeyVault.Administration |
| | 12 | | { |
| | 13 | | internal class ServiceFullRestoreOperationHeaders |
| | 14 | | { |
| | 15 | | private readonly Response _response; |
| 4 | 16 | | public ServiceFullRestoreOperationHeaders(Response response) |
| | 17 | | { |
| 4 | 18 | | _response = response; |
| 4 | 19 | | } |
| | 20 | | /// <summary> The recommended number of seconds to wait before calling the URI specified in Azure-AsyncOperation |
| 4 | 21 | | public int? RetryAfter => _response.Headers.TryGetValue("Retry-After", out int? value) ? value : null; |
| | 22 | | /// <summary> The URI to poll for completion status. </summary> |
| 4 | 23 | | public string AzureAsyncOperation => _response.Headers.TryGetValue("Azure-AsyncOperation", out string value) ? v |
| | 24 | | } |
| | 25 | | } |