| | 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.Graph.RBAC.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Collections; |
| | 15 | | using System.Collections.Generic; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | public partial class UserBase |
| | 19 | | { |
| | 20 | | /// <summary> |
| | 21 | | /// Initializes a new instance of the UserBase class. |
| | 22 | | /// </summary> |
| 4 | 23 | | public UserBase() |
| | 24 | | { |
| | 25 | | CustomInit(); |
| 4 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> |
| | 29 | | /// Initializes a new instance of the UserBase class. |
| | 30 | | /// </summary> |
| | 31 | | /// <param name="additionalProperties">Unmatched properties from the |
| | 32 | | /// message are deserialized this collection</param> |
| | 33 | | /// <param name="immutableId">This must be specified if you are using a |
| | 34 | | /// federated domain for the user's userPrincipalName (UPN) property |
| | 35 | | /// when creating a new user account. It is used to associate an |
| | 36 | | /// on-premises Active Directory user account with their Azure AD user |
| | 37 | | /// object.</param> |
| | 38 | | /// <param name="usageLocation">A two letter country code (ISO standard |
| | 39 | | /// 3166). Required for users that will be assigned licenses due to |
| | 40 | | /// legal requirement to check for availability of services in |
| | 41 | | /// countries. Examples include: "US", "JP", and "GB".</param> |
| | 42 | | /// <param name="givenName">The given name for the user.</param> |
| | 43 | | /// <param name="surname">The user's surname (family name or last |
| | 44 | | /// name).</param> |
| | 45 | | /// <param name="userType">A string value that can be used to classify |
| | 46 | | /// user types in your directory, such as 'Member' and 'Guest'. |
| | 47 | | /// Possible values include: 'Member', 'Guest'</param> |
| 0 | 48 | | public UserBase(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), string |
| | 49 | | { |
| 0 | 50 | | AdditionalProperties = additionalProperties; |
| 0 | 51 | | ImmutableId = immutableId; |
| 0 | 52 | | UsageLocation = usageLocation; |
| 0 | 53 | | GivenName = givenName; |
| 0 | 54 | | Surname = surname; |
| 0 | 55 | | UserType = userType; |
| | 56 | | CustomInit(); |
| 0 | 57 | | } |
| | 58 | |
|
| | 59 | | /// <summary> |
| | 60 | | /// An initialization method that performs custom operations like setting defaults |
| | 61 | | /// </summary> |
| | 62 | | partial void CustomInit(); |
| | 63 | |
|
| | 64 | | /// <summary> |
| | 65 | | /// Gets or sets unmatched properties from the message are deserialized |
| | 66 | | /// this collection |
| | 67 | | /// </summary> |
| | 68 | | [JsonExtensionData] |
| 0 | 69 | | public IDictionary<string, object> AdditionalProperties { get; set; } |
| | 70 | |
|
| | 71 | | /// <summary> |
| | 72 | | /// Gets or sets this must be specified if you are using a federated |
| | 73 | | /// domain for the user's userPrincipalName (UPN) property when |
| | 74 | | /// creating a new user account. It is used to associate an on-premises |
| | 75 | | /// Active Directory user account with their Azure AD user object. |
| | 76 | | /// </summary> |
| | 77 | | [JsonProperty(PropertyName = "immutableId")] |
| 0 | 78 | | public string ImmutableId { get; set; } |
| | 79 | |
|
| | 80 | | /// <summary> |
| | 81 | | /// Gets or sets a two letter country code (ISO standard 3166). |
| | 82 | | /// Required for users that will be assigned licenses due to legal |
| | 83 | | /// requirement to check for availability of services in countries. |
| | 84 | | /// Examples include: "US", "JP", and "GB". |
| | 85 | | /// </summary> |
| | 86 | | [JsonProperty(PropertyName = "usageLocation")] |
| 0 | 87 | | public string UsageLocation { get; set; } |
| | 88 | |
|
| | 89 | | /// <summary> |
| | 90 | | /// Gets or sets the given name for the user. |
| | 91 | | /// </summary> |
| | 92 | | [JsonProperty(PropertyName = "givenName")] |
| 0 | 93 | | public string GivenName { get; set; } |
| | 94 | |
|
| | 95 | | /// <summary> |
| | 96 | | /// Gets or sets the user's surname (family name or last name). |
| | 97 | | /// </summary> |
| | 98 | | [JsonProperty(PropertyName = "surname")] |
| 0 | 99 | | public string Surname { get; set; } |
| | 100 | |
|
| | 101 | | /// <summary> |
| | 102 | | /// Gets or sets a string value that can be used to classify user types |
| | 103 | | /// in your directory, such as 'Member' and 'Guest'. Possible values |
| | 104 | | /// include: 'Member', 'Guest' |
| | 105 | | /// </summary> |
| | 106 | | [JsonProperty(PropertyName = "userType")] |
| 0 | 107 | | public string UserType { get; set; } |
| | 108 | |
|
| | 109 | | } |
| | 110 | | } |