Class: Azure::GraphRbac::V1_6::Models::UserCreateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/1.6/generated/azure_graph_rbac/models/user_create_parameters.rb
Overview
Request parameters for creating a new work or school account user.
Instance Attribute Summary collapse
-
#account_enabled ⇒ Boolean
Whether the account is enabled.
-
#display_name ⇒ String
The display name of the user.
-
#mail ⇒ String
The primary email address of the user.
-
#mail_nickname ⇒ String
The mail alias for the user.
-
#password_profile ⇒ PasswordProfile
Password Profile.
-
#user_principal_name ⇒ String
must contain one of the verified domains for the tenant.
Attributes inherited from UserBase
#additional_properties, #given_name, #immutable_id, #surname, #usage_location, #user_type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for UserCreateParameters class as Ruby Hash.
Instance Attribute Details
#account_enabled ⇒ Boolean
Returns Whether the account is enabled.
16 17 18 |
# File 'lib/1.6/generated/azure_graph_rbac/models/user_create_parameters.rb', line 16 def account_enabled @account_enabled end |
#display_name ⇒ String
Returns The display name of the user.
19 20 21 |
# File 'lib/1.6/generated/azure_graph_rbac/models/user_create_parameters.rb', line 19 def display_name @display_name end |
#mail ⇒ String
Returns The primary email address of the user.
32 33 34 |
# File 'lib/1.6/generated/azure_graph_rbac/models/user_create_parameters.rb', line 32 def mail @mail end |
#mail_nickname ⇒ String
Returns The mail alias for the user.
29 30 31 |
# File 'lib/1.6/generated/azure_graph_rbac/models/user_create_parameters.rb', line 29 def mail_nickname @mail_nickname end |
#password_profile ⇒ PasswordProfile
Returns Password Profile.
22 23 24 |
# File 'lib/1.6/generated/azure_graph_rbac/models/user_create_parameters.rb', line 22 def password_profile @password_profile end |
#user_principal_name ⇒ String
must contain one of the verified domains for the tenant.
26 27 28 |
# File 'lib/1.6/generated/azure_graph_rbac/models/user_create_parameters.rb', line 26 def user_principal_name @user_principal_name end |
Class Method Details
.mapper ⇒ Object
Mapper for UserCreateParameters class as Ruby Hash. This will be used for serialization/deserialization.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 |
# File 'lib/1.6/generated/azure_graph_rbac/models/user_create_parameters.rb', line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'UserCreateParameters', type: { name: 'Composite', class_name: 'UserCreateParameters', model_properties: { additional_properties: { client_side_validation: true, required: false, type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'ObjectElementType', type: { name: 'Object' } } } }, immutable_id: { client_side_validation: true, required: false, serialized_name: 'immutableId', type: { name: 'String' } }, usage_location: { client_side_validation: true, required: false, serialized_name: 'usageLocation', type: { name: 'String' } }, given_name: { client_side_validation: true, required: false, serialized_name: 'givenName', type: { name: 'String' } }, surname: { client_side_validation: true, required: false, serialized_name: 'surname', type: { name: 'String' } }, user_type: { client_side_validation: true, required: false, serialized_name: 'userType', type: { name: 'String' } }, account_enabled: { client_side_validation: true, required: true, serialized_name: 'accountEnabled', type: { name: 'Boolean' } }, display_name: { client_side_validation: true, required: true, serialized_name: 'displayName', type: { name: 'String' } }, password_profile: { client_side_validation: true, required: true, serialized_name: 'passwordProfile', type: { name: 'Composite', class_name: 'PasswordProfile' } }, user_principal_name: { client_side_validation: true, required: true, serialized_name: 'userPrincipalName', type: { name: 'String' } }, mail_nickname: { client_side_validation: true, required: true, serialized_name: 'mailNickname', type: { name: 'String' } }, mail: { client_side_validation: true, required: false, serialized_name: 'mail', type: { name: 'String' } } } } } end |