| | | 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.DigitalTwins.Core |
| | | 12 | | { |
| | | 13 | | internal class QueryQueryTwinsHeaders |
| | | 14 | | { |
| | | 15 | | private readonly Response _response; |
| | 4 | 16 | | public QueryQueryTwinsHeaders(Response response) |
| | | 17 | | { |
| | 4 | 18 | | _response = response; |
| | 4 | 19 | | } |
| | | 20 | | /// <summary> The query charge. </summary> |
| | 0 | 21 | | public float? QueryCharge => _response.Headers.TryGetValue("query-charge", out float? value) ? value : null; |
| | | 22 | | } |
| | | 23 | | } |