Class: Azure::Graph::Mgmt::V1_6::Models::AADObject
- Inherits:
-
Object
- Object
- Azure::Graph::Mgmt::V1_6::Models::AADObject
- Includes:
- MsRestAzure
- Defined in:
- lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb
Overview
The properties of an Active Directory object.
Instance Attribute Summary collapse
-
#app_id ⇒ String
The application ID.
-
#app_permissions ⇒ Array<String>
The application permissions.
-
#available_to_other_tenants ⇒ Boolean
tenants.
-
#display_name ⇒ String
The display name of the object.
-
#homepage ⇒ String
The home page of the application.
-
#identifier_uris ⇒ Array<String>
A collection of URIs for the application.
-
#mail ⇒ String
The primary email address of the object.
-
#mail_enabled ⇒ Boolean
Whether the AAD object is mail-enabled.
-
#mail_nickname ⇒ String
The mail alias for the user.
-
#object_id ⇒ String
The ID of the object.
-
#object_type ⇒ String
The type of AAD object.
-
#reply_urls ⇒ Array<String>
A collection of reply URLs for the application.
-
#security_enabled ⇒ Boolean
Whether the AAD object is security-enabled.
-
#service_principal_names ⇒ Array<String>
associated with the object.
-
#sign_in_name ⇒ String
The sign-in name of the object.
-
#usage_location ⇒ String
Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries.
-
#user_principal_name ⇒ String
The principal name of the object.
-
#user_type ⇒ String
The user type of the object.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AADObject class as Ruby Hash.
Instance Attribute Details
#app_id ⇒ String
Returns The application ID.
56 57 58 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 56 def app_id @app_id end |
#app_permissions ⇒ Array<String>
Returns The application permissions.
59 60 61 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 59 def @app_permissions end |
#available_to_other_tenants ⇒ Boolean
tenants.
63 64 65 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 63 def available_to_other_tenants @available_to_other_tenants end |
#display_name ⇒ String
Returns The display name of the object.
22 23 24 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 22 def display_name @display_name end |
#homepage ⇒ String
Returns The home page of the application.
72 73 74 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 72 def homepage @homepage end |
#identifier_uris ⇒ Array<String>
Returns A collection of URIs for the application.
66 67 68 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 66 def identifier_uris @identifier_uris end |
#mail ⇒ String
Returns The primary email address of the object.
28 29 30 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 28 def mail @mail end |
#mail_enabled ⇒ Boolean
Returns Whether the AAD object is mail-enabled.
31 32 33 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 31 def mail_enabled @mail_enabled end |
#mail_nickname ⇒ String
Returns The mail alias for the user.
34 35 36 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 34 def mail_nickname @mail_nickname end |
#object_id ⇒ String
Returns The ID of the object.
16 17 18 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 16 def object_id @object_id end |
#object_type ⇒ String
Returns The type of AAD object.
19 20 21 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 19 def object_type @object_type end |
#reply_urls ⇒ Array<String>
Returns A collection of reply URLs for the application.
69 70 71 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 69 def reply_urls @reply_urls end |
#security_enabled ⇒ Boolean
Returns Whether the AAD object is security-enabled.
37 38 39 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 37 def security_enabled @security_enabled end |
#service_principal_names ⇒ Array<String>
associated with the object.
44 45 46 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 44 def service_principal_names @service_principal_names end |
#sign_in_name ⇒ String
Returns The sign-in name of the object.
40 41 42 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 40 def sign_in_name @sign_in_name end |
#usage_location ⇒ String
Required for users that will be assigned licenses due to legal requirement to check for availability of services in countries. Examples include: “US”, “JP”, and “GB”.
53 54 55 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 53 def usage_location @usage_location end |
#user_principal_name ⇒ String
Returns The principal name of the object.
25 26 27 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 25 def user_principal_name @user_principal_name end |
#user_type ⇒ String
Returns The user type of the object.
47 48 49 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 47 def user_type @user_type end |
Class Method Details
.mapper ⇒ Object
Mapper for AADObject class as Ruby Hash. This will be used for serialization/deserialization.
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 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 |
# File 'lib/1.6/generated/azure_mgmt_graph/models/aadobject.rb', line 79 def self.mapper() { required: false, serialized_name: 'AADObject', type: { name: 'Composite', class_name: 'AADObject', model_properties: { object_id: { required: false, serialized_name: 'objectId', type: { name: 'String' } }, object_type: { required: false, serialized_name: 'objectType', type: { name: 'String' } }, display_name: { required: false, serialized_name: 'displayName', type: { name: 'String' } }, user_principal_name: { required: false, serialized_name: 'userPrincipalName', type: { name: 'String' } }, mail: { required: false, serialized_name: 'mail', type: { name: 'String' } }, mail_enabled: { required: false, serialized_name: 'mailEnabled', type: { name: 'Boolean' } }, mail_nickname: { required: false, read_only: true, serialized_name: 'mailNickname', type: { name: 'String' } }, security_enabled: { required: false, serialized_name: 'securityEnabled', type: { name: 'Boolean' } }, sign_in_name: { required: false, serialized_name: 'signInName', type: { name: 'String' } }, service_principal_names: { required: false, serialized_name: 'servicePrincipalNames', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, user_type: { required: false, serialized_name: 'userType', type: { name: 'String' } }, usage_location: { required: false, read_only: true, serialized_name: 'usageLocation', type: { name: 'String' } }, app_id: { required: false, read_only: true, serialized_name: 'appId', type: { name: 'String' } }, app_permissions: { required: false, read_only: true, serialized_name: 'appPermissions', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, available_to_other_tenants: { required: false, read_only: true, serialized_name: 'availableToOtherTenants', type: { name: 'Boolean' } }, identifier_uris: { required: false, read_only: true, serialized_name: 'identifierUris', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, reply_urls: { required: false, read_only: true, serialized_name: 'replyUrls', type: { name: 'Sequence', element: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, homepage: { required: false, read_only: true, serialized_name: 'homepage', type: { name: 'String' } } } } } end |