| | | 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.ResourceManager.Resources |
| | | 12 | | { |
| | | 13 | | internal class DeploymentsWhatIfHeaders |
| | | 14 | | { |
| | | 15 | | private readonly Response _response; |
| | 40 | 16 | | public DeploymentsWhatIfHeaders(Response response) |
| | | 17 | | { |
| | 40 | 18 | | _response = response; |
| | 40 | 19 | | } |
| | 0 | 20 | | public string Location => _response.Headers.TryGetValue("Location", out string value) ? value : null; |
| | 0 | 21 | | public string RetryAfter => _response.Headers.TryGetValue("Retry-After", out string value) ? value : null; |
| | | 22 | | } |
| | | 23 | | } |