Class: Azure::GraphRbac::V1_6::Models::AADObject

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/1.6/generated/azure_graph_rbac/models/aadobject.rb

Overview

The properties of an Active Directory object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#additional_propertiesObject

collection

Returns:

  • Unmatched properties from the message are deserialized this



17
18
19
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 17

def additional_properties
  @additional_properties
end

#app_idString

Returns The application ID.

Returns:

  • (String)

    The application ID.



60
61
62
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 60

def app_id
  @app_id
end

#app_permissionsArray<String>

Returns The application permissions.

Returns:

  • (Array<String>)

    The application permissions.



63
64
65
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 63

def app_permissions
  @app_permissions
end

#available_to_other_tenantsBoolean

tenants.

Returns:

  • (Boolean)

    Whether the application is be available to other



67
68
69
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 67

def available_to_other_tenants
  @available_to_other_tenants
end

#display_nameString

Returns The display name of the object.

Returns:

  • (String)

    The display name of the object.



26
27
28
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 26

def display_name
  @display_name
end

#homepageString

Returns The home page of the application.

Returns:

  • (String)

    The home page of the application.



76
77
78
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 76

def homepage
  @homepage
end

#identifier_urisArray<String>

Returns A collection of URIs for the application.

Returns:

  • (Array<String>)

    A collection of URIs for the application.



70
71
72
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 70

def identifier_uris
  @identifier_uris
end

#mailString

Returns The primary email address of the object.

Returns:

  • (String)

    The primary email address of the object.



32
33
34
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 32

def mail
  @mail
end

#mail_enabledBoolean

Returns Whether the AAD object is mail-enabled.

Returns:

  • (Boolean)

    Whether the AAD object is mail-enabled.



35
36
37
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 35

def mail_enabled
  @mail_enabled
end

#mail_nicknameString

Returns The mail alias for the user.

Returns:

  • (String)

    The mail alias for the user.



38
39
40
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 38

def mail_nickname
  @mail_nickname
end

#object_idString

Returns The ID of the object.

Returns:

  • (String)

    The ID of the object.



20
21
22
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 20

def object_id
  @object_id
end

#object_typeString

Returns The type of AAD object.

Returns:

  • (String)

    The type of AAD object.



23
24
25
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 23

def object_type
  @object_type
end

#reply_urlsArray<String>

Returns A collection of reply URLs for the application.

Returns:

  • (Array<String>)

    A collection of reply URLs for the application.



73
74
75
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 73

def reply_urls
  @reply_urls
end

#security_enabledBoolean

Returns Whether the AAD object is security-enabled.

Returns:

  • (Boolean)

    Whether the AAD object is security-enabled.



41
42
43
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 41

def security_enabled
  @security_enabled
end

#service_principal_namesArray<String>

associated with the object.

Returns:

  • (Array<String>)

    A collection of service principal names



48
49
50
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 48

def service_principal_names
  @service_principal_names
end

#sign_in_nameString

Returns The sign-in name of the object.

Returns:

  • (String)

    The sign-in name of the object.



44
45
46
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 44

def 
  @sign_in_name
end

#usage_locationString

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”.

Returns:

  • (String)

    A two letter country code (ISO standard 3166).



57
58
59
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 57

def usage_location
  @usage_location
end

#user_principal_nameString

Returns The principal name of the object.

Returns:

  • (String)

    The principal name of the object.



29
30
31
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 29

def user_principal_name
  @user_principal_name
end

#user_typeString

Returns The user type of the object.

Returns:

  • (String)

    The user type of the object.



51
52
53
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 51

def user_type
  @user_type
end

Class Method Details

.mapperObject

Mapper for AADObject class as Ruby Hash. This will be used for serialization/deserialization.



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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
# File 'lib/1.6/generated/azure_graph_rbac/models/aadobject.rb', line 83

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AADObject',
    type: {
      name: 'Composite',
      class_name: 'AADObject',
      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'
                }
            }
          }
        },
        object_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'objectId',
          type: {
            name: 'String'
          }
        },
        object_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'objectType',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'displayName',
          type: {
            name: 'String'
          }
        },
        user_principal_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'userPrincipalName',
          type: {
            name: 'String'
          }
        },
        mail: {
          client_side_validation: true,
          required: false,
          serialized_name: 'mail',
          type: {
            name: 'String'
          }
        },
        mail_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'mailEnabled',
          type: {
            name: 'Boolean'
          }
        },
        mail_nickname: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'mailNickname',
          type: {
            name: 'String'
          }
        },
        security_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'securityEnabled',
          type: {
            name: 'Boolean'
          }
        },
        sign_in_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'signInName',
          type: {
            name: 'String'
          }
        },
        service_principal_names: {
          client_side_validation: true,
          required: false,
          serialized_name: 'servicePrincipalNames',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        user_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'userType',
          type: {
            name: 'String'
          }
        },
        usage_location: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'usageLocation',
          type: {
            name: 'String'
          }
        },
        app_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'appId',
          type: {
            name: 'String'
          }
        },
        app_permissions: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'appPermissions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        available_to_other_tenants: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'availableToOtherTenants',
          type: {
            name: 'Boolean'
          }
        },
        identifier_uris: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'identifierUris',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        reply_urls: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'replyUrls',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        homepage: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'homepage',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end