< Summary

Class:Azure.AI.FormRecognizer.ServiceGenerateModelCopyAuthorizationHeaders
Assembly:Azure.AI.FormRecognizer
File(s):C:\Git\azure-sdk-for-net\sdk\formrecognizer\Azure.AI.FormRecognizer\src\Generated\ServiceGenerateModelCopyAuthorizationHeaders.cs
Covered lines:3
Uncovered lines:1
Coverable lines:4
Total lines:23
Line coverage:75% (3 of 4)
Covered branches:0
Total branches:2
Branch coverage:0% (0 of 2)

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor(...)-100%100%
get_Location()-0%0%

File(s)

C:\Git\azure-sdk-for-net\sdk\formrecognizer\Azure.AI.FormRecognizer\src\Generated\ServiceGenerateModelCopyAuthorizationHeaders.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.AI.FormRecognizer
 12{
 13    internal class ServiceGenerateModelCopyAuthorizationHeaders
 14    {
 15        private readonly Response _response;
 2016        public ServiceGenerateModelCopyAuthorizationHeaders(Response response)
 17        {
 2018            _response = response;
 2019        }
 20        /// <summary> Location and ID of the model being copied. The status of model copy is specified in the status pro
 021        public string Location => _response.Headers.TryGetValue("Location", out string value) ? value : null;
 22    }
 23}

Methods/Properties

.ctor(...)
get_Location()