| | 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.KeyVault.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// Details of the organization administrator of the certificate issuer. |
| | 18 | | /// </summary> |
| | 19 | | public partial class AdministratorDetails |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the AdministratorDetails class. |
| | 23 | | /// </summary> |
| 14 | 24 | | public AdministratorDetails() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 14 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the AdministratorDetails class. |
| | 31 | | /// </summary> |
| | 32 | | /// <param name="firstName">First name.</param> |
| | 33 | | /// <param name="lastName">Last name.</param> |
| | 34 | | /// <param name="emailAddress">Email addresss.</param> |
| | 35 | | /// <param name="phone">Phone number.</param> |
| 0 | 36 | | public AdministratorDetails(string firstName = default(string), string lastName = default(string), string emailA |
| | 37 | | { |
| 0 | 38 | | FirstName = firstName; |
| 0 | 39 | | LastName = lastName; |
| 0 | 40 | | EmailAddress = emailAddress; |
| 0 | 41 | | Phone = phone; |
| | 42 | | CustomInit(); |
| 0 | 43 | | } |
| | 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 first name. |
| | 52 | | /// </summary> |
| | 53 | | [JsonProperty(PropertyName = "first_name")] |
| 18 | 54 | | public string FirstName { get; set; } |
| | 55 | |
|
| | 56 | | /// <summary> |
| | 57 | | /// Gets or sets last name. |
| | 58 | | /// </summary> |
| | 59 | | [JsonProperty(PropertyName = "last_name")] |
| 18 | 60 | | public string LastName { get; set; } |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// Gets or sets email addresss. |
| | 64 | | /// </summary> |
| | 65 | | [JsonProperty(PropertyName = "email")] |
| 18 | 66 | | public string EmailAddress { get; set; } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// Gets or sets phone number. |
| | 70 | | /// </summary> |
| | 71 | | [JsonProperty(PropertyName = "phone")] |
| 18 | 72 | | public string Phone { get; set; } |
| | 73 | |
|
| | 74 | | } |
| | 75 | | } |