< Summary

Class:Microsoft.Azure.ContainerRegistry.Models.RefreshToken
Assembly:Microsoft.Azure.ContainerRegistry
File(s):C:\Git\azure-sdk-for-net\sdk\containerregistry\Microsoft.Azure.ContainerRegistry\src\Generated\Models\RefreshToken.cs
Covered lines:3
Uncovered lines:3
Coverable lines:6
Total lines:50
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_RefreshTokenProperty()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\containerregistry\Microsoft.Azure.ContainerRegistry\src\Generated\Models\RefreshToken.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 RefreshToken
 17    {
 18        /// <summary>
 19        /// Initializes a new instance of the RefreshToken class.
 20        /// </summary>
 421        public RefreshToken()
 22        {
 23            CustomInit();
 424        }
 25
 26        /// <summary>
 27        /// Initializes a new instance of the RefreshToken class.
 28        /// </summary>
 29        /// <param name="refreshTokenProperty">The refresh token to be used for
 30        /// generating access tokens</param>
 031        public RefreshToken(string refreshTokenProperty = default(string))
 32        {
 033            RefreshTokenProperty = refreshTokenProperty;
 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 refresh token to be used for generating access
 44        /// tokens
 45        /// </summary>
 46        [JsonProperty(PropertyName = "refresh_token")]
 847        public string RefreshTokenProperty { get; set; }
 48
 49    }
 50}