< Summary

Class:Microsoft.Azure.ContainerRegistry.Models.BlobStartUploadHeaders
Assembly:Microsoft.Azure.ContainerRegistry
File(s):C:\Git\azure-sdk-for-net\sdk\containerregistry\Microsoft.Azure.ContainerRegistry\src\Generated\Models\BlobStartUploadHeaders.cs
Covered lines:4
Uncovered lines:6
Coverable lines:10
Total lines:70
Line coverage:40% (4 of 10)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\containerregistry\Microsoft.Azure.ContainerRegistry\src\Generated\Models\BlobStartUploadHeaders.cs

#LineLine coverage
 1// <auto-generated>
 2// Copyright (c) Microsoft Corporation. All rights reserved.
 3// Licensed under the MIT License. See License.txt in the project root for
 4// license information.
 5//
 6// Code generated by Microsoft (R) AutoRest Code Generator.
 7// Changes may cause incorrect behavior and will be lost if the code is
 8// regenerated.
 9// </auto-generated>
 10
 11namespace Microsoft.Azure.ContainerRegistry.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Linq;
 15
 16    /// <summary>
 17    /// Defines headers for StartUpload operation.
 18    /// </summary>
 19    public partial class BlobStartUploadHeaders
 20    {
 21        /// <summary>
 22        /// Initializes a new instance of the BlobStartUploadHeaders class.
 23        /// </summary>
 824        public BlobStartUploadHeaders()
 25        {
 26            CustomInit();
 827        }
 28
 29        /// <summary>
 30        /// Initializes a new instance of the BlobStartUploadHeaders class.
 31        /// </summary>
 32        /// <param name="location">Provided location for blob</param>
 33        /// <param name="range">Range indicating the current progress of the
 34        /// upload.</param>
 35        /// <param name="dockerUploadUUID">Identifies the docker upload uuid
 36        /// for the current request.</param>
 037        public BlobStartUploadHeaders(string location = default(string), string range = default(string), string dockerUp
 38        {
 039            Location = location;
 040            Range = range;
 041            DockerUploadUUID = dockerUploadUUID;
 42            CustomInit();
 043        }
 44
 45        /// <summary>
 46        /// An initialization method that performs custom operations like setting defaults
 47        /// </summary>
 48        partial void CustomInit();
 49
 50        /// <summary>
 51        /// Gets or sets provided location for blob
 52        /// </summary>
 53        [JsonProperty(PropertyName = "Location")]
 1854        public string Location { get; set; }
 55
 56        /// <summary>
 57        /// Gets or sets range indicating the current progress of the upload.
 58        /// </summary>
 59        [JsonProperty(PropertyName = "Range")]
 060        public string Range { get; set; }
 61
 62        /// <summary>
 63        /// Gets or sets identifies the docker upload uuid for the current
 64        /// request.
 65        /// </summary>
 66        [JsonProperty(PropertyName = "Docker-Upload-UUID")]
 1067        public string DockerUploadUUID { get; set; }
 68
 69    }
 70}