| | 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 | |
|
| | 11 | | namespace 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> |
| 4 | 24 | | public JWKHeader() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 4 | 27 | | } |
| | 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> |
| 0 | 37 | | public JWKHeader(string crv = default(string), string kid = default(string), string kty = default(string), strin |
| | 38 | | { |
| 0 | 39 | | Crv = crv; |
| 0 | 40 | | Kid = kid; |
| 0 | 41 | | Kty = kty; |
| 0 | 42 | | X = x; |
| 0 | 43 | | Y = y; |
| | 44 | | CustomInit(); |
| 0 | 45 | | } |
| | 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")] |
| 0 | 56 | | public string Crv { get; set; } |
| | 57 | |
|
| | 58 | | /// <summary> |
| | 59 | | /// Gets or sets kid value |
| | 60 | | /// </summary> |
| | 61 | | [JsonProperty(PropertyName = "kid")] |
| 0 | 62 | | public string Kid { get; set; } |
| | 63 | |
|
| | 64 | | /// <summary> |
| | 65 | | /// Gets or sets kty value |
| | 66 | | /// </summary> |
| | 67 | | [JsonProperty(PropertyName = "kty")] |
| 0 | 68 | | public string Kty { get; set; } |
| | 69 | |
|
| | 70 | | /// <summary> |
| | 71 | | /// Gets or sets x value |
| | 72 | | /// </summary> |
| | 73 | | [JsonProperty(PropertyName = "x")] |
| 0 | 74 | | public string X { get; set; } |
| | 75 | |
|
| | 76 | | /// <summary> |
| | 77 | | /// Gets or sets y value |
| | 78 | | /// </summary> |
| | 79 | | [JsonProperty(PropertyName = "y")] |
| 0 | 80 | | public string Y { get; set; } |
| | 81 | |
|
| | 82 | | } |
| | 83 | | } |