< Summary

Class:Microsoft.Azure.ContainerRegistry.Models.JWKHeader
Assembly:Microsoft.Azure.ContainerRegistry
File(s):C:\Git\azure-sdk-for-net\sdk\containerregistry\Microsoft.Azure.ContainerRegistry\src\Generated\Models\JWKHeader.cs
Covered lines:2
Uncovered lines:12
Coverable lines:14
Total lines:83
Line coverage:14.2% (2 of 14)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_Crv()-0%100%
get_Kid()-0%100%
get_Kty()-0%100%
get_X()-0%100%
get_Y()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\containerregistry\Microsoft.Azure.ContainerRegistry\src\Generated\Models\JWKHeader.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    /// JSON web key parameter
 18    /// </summary>
 19    public partial class JWKHeader
 20    {
 21        /// <summary>
 22        /// Initializes a new instance of the JWKHeader class.
 23        /// </summary>
 424        public JWKHeader()
 25        {
 26            CustomInit();
 427        }
 28
 29        /// <summary>
 30        /// Initializes a new instance of the JWKHeader class.
 31        /// </summary>
 32        /// <param name="crv">crv value</param>
 33        /// <param name="kid">kid value</param>
 34        /// <param name="kty">kty value</param>
 35        /// <param name="x">x value</param>
 36        /// <param name="y">y value</param>
 037        public JWKHeader(string crv = default(string), string kid = default(string), string kty = default(string), strin
 38        {
 039            Crv = crv;
 040            Kid = kid;
 041            Kty = kty;
 042            X = x;
 043            Y = y;
 44            CustomInit();
 045        }
 46
 47        /// <summary>
 48        /// An initialization method that performs custom operations like setting defaults
 49        /// </summary>
 50        partial void CustomInit();
 51
 52        /// <summary>
 53        /// Gets or sets crv value
 54        /// </summary>
 55        [JsonProperty(PropertyName = "crv")]
 056        public string Crv { get; set; }
 57
 58        /// <summary>
 59        /// Gets or sets kid value
 60        /// </summary>
 61        [JsonProperty(PropertyName = "kid")]
 062        public string Kid { get; set; }
 63
 64        /// <summary>
 65        /// Gets or sets kty value
 66        /// </summary>
 67        [JsonProperty(PropertyName = "kty")]
 068        public string Kty { get; set; }
 69
 70        /// <summary>
 71        /// Gets or sets x value
 72        /// </summary>
 73        [JsonProperty(PropertyName = "x")]
 074        public string X { get; set; }
 75
 76        /// <summary>
 77        /// Gets or sets y value
 78        /// </summary>
 79        [JsonProperty(PropertyName = "y")]
 080        public string Y { get; set; }
 81
 82    }
 83}