< Summary

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

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\containerregistry\Microsoft.Azure.ContainerRegistry\src\Generated\Models\AccessToken.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    public partial class AccessToken
 17    {
 18        /// <summary>
 19        /// Initializes a new instance of the AccessToken class.
 20        /// </summary>
 421        public AccessToken()
 22        {
 23            CustomInit();
 424        }
 25
 26        /// <summary>
 27        /// Initializes a new instance of the AccessToken class.
 28        /// </summary>
 29        /// <param name="accessTokenProperty">The access token for performing
 30        /// authenticated requests</param>
 031        public AccessToken(string accessTokenProperty = default(string))
 32        {
 033            AccessTokenProperty = accessTokenProperty;
 34            CustomInit();
 035        }
 36
 37        /// <summary>
 38        /// An initialization method that performs custom operations like setting defaults
 39        /// </summary>
 40        partial void CustomInit();
 41
 42        /// <summary>
 43        /// Gets or sets the access token for performing authenticated requests
 44        /// </summary>
 45        [JsonProperty(PropertyName = "access_token")]
 846        public string AccessTokenProperty { get; set; }
 47
 48    }
 49}