< Summary

Class:Azure.Data.Tables.TableInsertEntityHeaders
Assembly:Azure.Data.Tables
File(s):C:\Git\azure-sdk-for-net\sdk\tables\Azure.Data.Tables\src\Generated\TableInsertEntityHeaders.cs
Covered lines:3
Uncovered lines:3
Coverable lines:6
Total lines:27
Line coverage:50% (3 of 6)
Covered branches:0
Total branches:6
Branch coverage:0% (0 of 6)

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-100%100%
get_Version()-0%0%
get_PreferenceApplied()-0%0%
get_ContentType()-0%0%

File(s)

C:\Git\azure-sdk-for-net\sdk\tables\Azure.Data.Tables\src\Generated\TableInsertEntityHeaders.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.Data.Tables
 12{
 13    internal class TableInsertEntityHeaders
 14    {
 15        private readonly Response _response;
 170416        public TableInsertEntityHeaders(Response response)
 17        {
 170418            _response = response;
 170419        }
 20        /// <summary> Indicates the version of the Table service used to execute the request. This header is returned fo
 021        public string Version => _response.Headers.TryGetValue("x-ms-version", out string value) ? value : null;
 22        /// <summary> Indicates whether the Prefer request header was honored. If the response does not include this hea
 023        public string PreferenceApplied => _response.Headers.TryGetValue("Preference-Applied", out string value) ? value
 24        /// <summary> Indicates the content type of the payload. The value depends on the value specified for the Accept
 025        public string ContentType => _response.Headers.TryGetValue("Content-Type", out string value) ? value : null;
 26    }
 27}