azure_mgmt_graph 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +3 -0
- data/LICENSE.txt +21 -0
- data/Rakefile +5 -0
- data/azure_mgmt_graph.gemspec +35 -0
- data/lib/azure_mgmt_graph.rb +55 -0
- data/lib/azure_mgmt_graph/application_operations.rb +336 -0
- data/lib/azure_mgmt_graph/graph_rbac_management_client.rb +82 -0
- data/lib/azure_mgmt_graph/group_operations.rb +647 -0
- data/lib/azure_mgmt_graph/models/aadobject.rb +138 -0
- data/lib/azure_mgmt_graph/models/adgroup.rb +92 -0
- data/lib/azure_mgmt_graph/models/application.rb +122 -0
- data/lib/azure_mgmt_graph/models/application_create_parameters.rb +160 -0
- data/lib/azure_mgmt_graph/models/application_filter.rb +74 -0
- data/lib/azure_mgmt_graph/models/application_list_result.rb +76 -0
- data/lib/azure_mgmt_graph/models/get_objects_parameters.rb +77 -0
- data/lib/azure_mgmt_graph/models/get_objects_result.rb +85 -0
- data/lib/azure_mgmt_graph/models/group_add_member_parameters.rb +56 -0
- data/lib/azure_mgmt_graph/models/group_create_parameters.rb +86 -0
- data/lib/azure_mgmt_graph/models/group_get_member_groups_parameters.rb +58 -0
- data/lib/azure_mgmt_graph/models/group_get_member_groups_result.rb +56 -0
- data/lib/azure_mgmt_graph/models/group_list_result.rb +85 -0
- data/lib/azure_mgmt_graph/models/key_credential.rb +105 -0
- data/lib/azure_mgmt_graph/models/password_credential.rb +87 -0
- data/lib/azure_mgmt_graph/models/service_principal.rb +92 -0
- data/lib/azure_mgmt_graph/models/service_principal_create_parameters.rb +66 -0
- data/lib/azure_mgmt_graph/models/service_principal_list_result.rb +86 -0
- data/lib/azure_mgmt_graph/models/user.rb +101 -0
- data/lib/azure_mgmt_graph/models/user_create_parameters.rb +103 -0
- data/lib/azure_mgmt_graph/models/user_create_parameters_password_profile.rb +65 -0
- data/lib/azure_mgmt_graph/models/user_get_member_groups_parameters.rb +58 -0
- data/lib/azure_mgmt_graph/models/user_get_member_groups_result.rb +56 -0
- data/lib/azure_mgmt_graph/models/user_list_result.rb +85 -0
- data/lib/azure_mgmt_graph/module_definition.rb +8 -0
- data/lib/azure_mgmt_graph/object_operations.rb +217 -0
- data/lib/azure_mgmt_graph/service_principal_operations.rb +331 -0
- data/lib/azure_mgmt_graph/user_operations.rb +408 -0
- data/lib/azure_mgmt_graph/version.rb +8 -0
- metadata +166 -0
@@ -0,0 +1,138 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Graph
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Active Directory object information
|
10
|
+
#
|
11
|
+
class AADObject
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Gets or sets object Id
|
16
|
+
attr_accessor :object_id
|
17
|
+
|
18
|
+
# @return [String] Gets or sets object type
|
19
|
+
attr_accessor :object_type
|
20
|
+
|
21
|
+
# @return [String] Gets or sets object display name
|
22
|
+
attr_accessor :display_name
|
23
|
+
|
24
|
+
# @return [String] Gets or sets principal name
|
25
|
+
attr_accessor :user_principal_name
|
26
|
+
|
27
|
+
# @return [String] Gets or sets mail
|
28
|
+
attr_accessor :mail
|
29
|
+
|
30
|
+
# @return [Boolean] Gets or sets MailEnabled field
|
31
|
+
attr_accessor :mail_enabled
|
32
|
+
|
33
|
+
# @return [Boolean] Gets or sets SecurityEnabled field
|
34
|
+
attr_accessor :security_enabled
|
35
|
+
|
36
|
+
# @return [String] Gets or sets signIn name
|
37
|
+
attr_accessor :sign_in_name
|
38
|
+
|
39
|
+
# @return [Array<String>] Gets or sets the list of service principal
|
40
|
+
# names.
|
41
|
+
attr_accessor :service_principal_names
|
42
|
+
|
43
|
+
# @return [String] Gets or sets the user type
|
44
|
+
attr_accessor :user_type
|
45
|
+
|
46
|
+
#
|
47
|
+
# Validate the object. Throws ValidationError if validation fails.
|
48
|
+
#
|
49
|
+
def validate
|
50
|
+
@service_principal_names.each{ |e| e.validate if e.respond_to?(:validate) } unless @service_principal_names.nil?
|
51
|
+
end
|
52
|
+
|
53
|
+
#
|
54
|
+
# Serializes given Model object into Ruby Hash.
|
55
|
+
# @param object Model object to serialize.
|
56
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
57
|
+
#
|
58
|
+
def self.serialize_object(object)
|
59
|
+
object.validate
|
60
|
+
output_object = {}
|
61
|
+
|
62
|
+
serialized_property = object.object_id
|
63
|
+
output_object['objectId'] = serialized_property unless serialized_property.nil?
|
64
|
+
|
65
|
+
serialized_property = object.object_type
|
66
|
+
output_object['objectType'] = serialized_property unless serialized_property.nil?
|
67
|
+
|
68
|
+
serialized_property = object.display_name
|
69
|
+
output_object['displayName'] = serialized_property unless serialized_property.nil?
|
70
|
+
|
71
|
+
serialized_property = object.user_principal_name
|
72
|
+
output_object['userPrincipalName'] = serialized_property unless serialized_property.nil?
|
73
|
+
|
74
|
+
serialized_property = object.mail
|
75
|
+
output_object['mail'] = serialized_property unless serialized_property.nil?
|
76
|
+
|
77
|
+
serialized_property = object.mail_enabled
|
78
|
+
output_object['mailEnabled'] = serialized_property unless serialized_property.nil?
|
79
|
+
|
80
|
+
serialized_property = object.security_enabled
|
81
|
+
output_object['securityEnabled'] = serialized_property unless serialized_property.nil?
|
82
|
+
|
83
|
+
serialized_property = object.sign_in_name
|
84
|
+
output_object['signInName'] = serialized_property unless serialized_property.nil?
|
85
|
+
|
86
|
+
serialized_property = object.service_principal_names
|
87
|
+
output_object['servicePrincipalNames'] = serialized_property unless serialized_property.nil?
|
88
|
+
|
89
|
+
serialized_property = object.user_type
|
90
|
+
output_object['userType'] = serialized_property unless serialized_property.nil?
|
91
|
+
|
92
|
+
output_object
|
93
|
+
end
|
94
|
+
|
95
|
+
#
|
96
|
+
# Deserializes given Ruby Hash into Model object.
|
97
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
98
|
+
# @return [AADObject] Deserialized object.
|
99
|
+
#
|
100
|
+
def self.deserialize_object(object)
|
101
|
+
return if object.nil?
|
102
|
+
output_object = AADObject.new
|
103
|
+
|
104
|
+
deserialized_property = object['objectId']
|
105
|
+
output_object.object_id = deserialized_property
|
106
|
+
|
107
|
+
deserialized_property = object['objectType']
|
108
|
+
output_object.object_type = deserialized_property
|
109
|
+
|
110
|
+
deserialized_property = object['displayName']
|
111
|
+
output_object.display_name = deserialized_property
|
112
|
+
|
113
|
+
deserialized_property = object['userPrincipalName']
|
114
|
+
output_object.user_principal_name = deserialized_property
|
115
|
+
|
116
|
+
deserialized_property = object['mail']
|
117
|
+
output_object.mail = deserialized_property
|
118
|
+
|
119
|
+
deserialized_property = object['mailEnabled']
|
120
|
+
output_object.mail_enabled = deserialized_property
|
121
|
+
|
122
|
+
deserialized_property = object['securityEnabled']
|
123
|
+
output_object.security_enabled = deserialized_property
|
124
|
+
|
125
|
+
deserialized_property = object['signInName']
|
126
|
+
output_object.sign_in_name = deserialized_property
|
127
|
+
|
128
|
+
deserialized_property = object['servicePrincipalNames']
|
129
|
+
output_object.service_principal_names = deserialized_property
|
130
|
+
|
131
|
+
deserialized_property = object['userType']
|
132
|
+
output_object.user_type = deserialized_property
|
133
|
+
|
134
|
+
output_object
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
@@ -0,0 +1,92 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Graph
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Active Directory group information
|
10
|
+
#
|
11
|
+
class ADGroup
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Gets or sets object Id
|
16
|
+
attr_accessor :object_id
|
17
|
+
|
18
|
+
# @return [String] Gets or sets object type
|
19
|
+
attr_accessor :object_type
|
20
|
+
|
21
|
+
# @return [String] Gets or sets group display name
|
22
|
+
attr_accessor :display_name
|
23
|
+
|
24
|
+
# @return [Boolean] Gets or sets security enabled field
|
25
|
+
attr_accessor :security_enabled
|
26
|
+
|
27
|
+
# @return [String] Gets or sets mail field
|
28
|
+
attr_accessor :mail
|
29
|
+
|
30
|
+
#
|
31
|
+
# Validate the object. Throws ValidationError if validation fails.
|
32
|
+
#
|
33
|
+
def validate
|
34
|
+
# Nothing to validate
|
35
|
+
end
|
36
|
+
|
37
|
+
#
|
38
|
+
# Serializes given Model object into Ruby Hash.
|
39
|
+
# @param object Model object to serialize.
|
40
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
41
|
+
#
|
42
|
+
def self.serialize_object(object)
|
43
|
+
object.validate
|
44
|
+
output_object = {}
|
45
|
+
|
46
|
+
serialized_property = object.object_id
|
47
|
+
output_object['objectId'] = serialized_property unless serialized_property.nil?
|
48
|
+
|
49
|
+
serialized_property = object.object_type
|
50
|
+
output_object['objectType'] = serialized_property unless serialized_property.nil?
|
51
|
+
|
52
|
+
serialized_property = object.display_name
|
53
|
+
output_object['displayName'] = serialized_property unless serialized_property.nil?
|
54
|
+
|
55
|
+
serialized_property = object.security_enabled
|
56
|
+
output_object['securityEnabled'] = serialized_property unless serialized_property.nil?
|
57
|
+
|
58
|
+
serialized_property = object.mail
|
59
|
+
output_object['mail'] = serialized_property unless serialized_property.nil?
|
60
|
+
|
61
|
+
output_object
|
62
|
+
end
|
63
|
+
|
64
|
+
#
|
65
|
+
# Deserializes given Ruby Hash into Model object.
|
66
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
67
|
+
# @return [ADGroup] Deserialized object.
|
68
|
+
#
|
69
|
+
def self.deserialize_object(object)
|
70
|
+
return if object.nil?
|
71
|
+
output_object = ADGroup.new
|
72
|
+
|
73
|
+
deserialized_property = object['objectId']
|
74
|
+
output_object.object_id = deserialized_property
|
75
|
+
|
76
|
+
deserialized_property = object['objectType']
|
77
|
+
output_object.object_type = deserialized_property
|
78
|
+
|
79
|
+
deserialized_property = object['displayName']
|
80
|
+
output_object.display_name = deserialized_property
|
81
|
+
|
82
|
+
deserialized_property = object['securityEnabled']
|
83
|
+
output_object.security_enabled = deserialized_property
|
84
|
+
|
85
|
+
deserialized_property = object['mail']
|
86
|
+
output_object.mail = deserialized_property
|
87
|
+
|
88
|
+
output_object
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
@@ -0,0 +1,122 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Graph
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Active Directory user information
|
10
|
+
#
|
11
|
+
class Application
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Gets or sets object Id
|
16
|
+
attr_accessor :object_id
|
17
|
+
|
18
|
+
# @return [String] Gets or sets object type
|
19
|
+
attr_accessor :object_type
|
20
|
+
|
21
|
+
# @return [String] Gets or sets application Id
|
22
|
+
attr_accessor :app_id
|
23
|
+
|
24
|
+
# @return [Array<String>] Gets or sets application permissions
|
25
|
+
attr_accessor :app_permissions
|
26
|
+
|
27
|
+
# @return [Boolean] Indicates if the application will be available to
|
28
|
+
# other tenants
|
29
|
+
attr_accessor :available_to_other_tenants
|
30
|
+
|
31
|
+
# @return [String] Gets or sets the displayName
|
32
|
+
attr_accessor :display_name
|
33
|
+
|
34
|
+
# @return [Array<String>] Gets or sets the application identifier Uris
|
35
|
+
attr_accessor :identifier_uris
|
36
|
+
|
37
|
+
# @return [Array<String>] Gets or sets the application reply Urls
|
38
|
+
attr_accessor :reply_urls
|
39
|
+
|
40
|
+
#
|
41
|
+
# Validate the object. Throws ValidationError if validation fails.
|
42
|
+
#
|
43
|
+
def validate
|
44
|
+
@app_permissions.each{ |e| e.validate if e.respond_to?(:validate) } unless @app_permissions.nil?
|
45
|
+
@identifier_uris.each{ |e| e.validate if e.respond_to?(:validate) } unless @identifier_uris.nil?
|
46
|
+
@reply_urls.each{ |e| e.validate if e.respond_to?(:validate) } unless @reply_urls.nil?
|
47
|
+
end
|
48
|
+
|
49
|
+
#
|
50
|
+
# Serializes given Model object into Ruby Hash.
|
51
|
+
# @param object Model object to serialize.
|
52
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
53
|
+
#
|
54
|
+
def self.serialize_object(object)
|
55
|
+
object.validate
|
56
|
+
output_object = {}
|
57
|
+
|
58
|
+
serialized_property = object.object_id
|
59
|
+
output_object['objectId'] = serialized_property unless serialized_property.nil?
|
60
|
+
|
61
|
+
serialized_property = object.object_type
|
62
|
+
output_object['objectType'] = serialized_property unless serialized_property.nil?
|
63
|
+
|
64
|
+
serialized_property = object.app_id
|
65
|
+
output_object['appId'] = serialized_property unless serialized_property.nil?
|
66
|
+
|
67
|
+
serialized_property = object.app_permissions
|
68
|
+
output_object['appPermissions'] = serialized_property unless serialized_property.nil?
|
69
|
+
|
70
|
+
serialized_property = object.available_to_other_tenants
|
71
|
+
output_object['availableToOtherTenants'] = serialized_property unless serialized_property.nil?
|
72
|
+
|
73
|
+
serialized_property = object.display_name
|
74
|
+
output_object['displayName'] = serialized_property unless serialized_property.nil?
|
75
|
+
|
76
|
+
serialized_property = object.identifier_uris
|
77
|
+
output_object['identifierUris'] = serialized_property unless serialized_property.nil?
|
78
|
+
|
79
|
+
serialized_property = object.reply_urls
|
80
|
+
output_object['replyUrls'] = serialized_property unless serialized_property.nil?
|
81
|
+
|
82
|
+
output_object
|
83
|
+
end
|
84
|
+
|
85
|
+
#
|
86
|
+
# Deserializes given Ruby Hash into Model object.
|
87
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
88
|
+
# @return [Application] Deserialized object.
|
89
|
+
#
|
90
|
+
def self.deserialize_object(object)
|
91
|
+
return if object.nil?
|
92
|
+
output_object = Application.new
|
93
|
+
|
94
|
+
deserialized_property = object['objectId']
|
95
|
+
output_object.object_id = deserialized_property
|
96
|
+
|
97
|
+
deserialized_property = object['objectType']
|
98
|
+
output_object.object_type = deserialized_property
|
99
|
+
|
100
|
+
deserialized_property = object['appId']
|
101
|
+
output_object.app_id = deserialized_property
|
102
|
+
|
103
|
+
deserialized_property = object['appPermissions']
|
104
|
+
output_object.app_permissions = deserialized_property
|
105
|
+
|
106
|
+
deserialized_property = object['availableToOtherTenants']
|
107
|
+
output_object.available_to_other_tenants = deserialized_property
|
108
|
+
|
109
|
+
deserialized_property = object['displayName']
|
110
|
+
output_object.display_name = deserialized_property
|
111
|
+
|
112
|
+
deserialized_property = object['identifierUris']
|
113
|
+
output_object.identifier_uris = deserialized_property
|
114
|
+
|
115
|
+
deserialized_property = object['replyUrls']
|
116
|
+
output_object.reply_urls = deserialized_property
|
117
|
+
|
118
|
+
output_object
|
119
|
+
end
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
@@ -0,0 +1,160 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::ARM::Graph
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Request parameters for create a new application
|
10
|
+
#
|
11
|
+
class ApplicationCreateParameters
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Indicates if the application will be available to
|
16
|
+
# other tenants
|
17
|
+
attr_accessor :available_to_other_tenants
|
18
|
+
|
19
|
+
# @return [String] Application display name
|
20
|
+
attr_accessor :display_name
|
21
|
+
|
22
|
+
# @return [String] Application homepage
|
23
|
+
attr_accessor :homepage
|
24
|
+
|
25
|
+
# @return [Array<String>] Application Uris
|
26
|
+
attr_accessor :identifier_uris
|
27
|
+
|
28
|
+
# @return [Array<String>] Application reply Urls
|
29
|
+
attr_accessor :reply_urls
|
30
|
+
|
31
|
+
# @return [Array<KeyCredential>] Gets or sets the list of KeyCredential
|
32
|
+
# objects
|
33
|
+
attr_accessor :key_credentials
|
34
|
+
|
35
|
+
# @return [Array<PasswordCredential>] Gets or sets the list of
|
36
|
+
# PasswordCredential objects
|
37
|
+
attr_accessor :password_credentials
|
38
|
+
|
39
|
+
#
|
40
|
+
# Validate the object. Throws ValidationError if validation fails.
|
41
|
+
#
|
42
|
+
def validate
|
43
|
+
fail MsRest::ValidationError, 'property available_to_other_tenants is nil' if @available_to_other_tenants.nil?
|
44
|
+
fail MsRest::ValidationError, 'property display_name is nil' if @display_name.nil?
|
45
|
+
fail MsRest::ValidationError, 'property homepage is nil' if @homepage.nil?
|
46
|
+
fail MsRest::ValidationError, 'property identifier_uris is nil' if @identifier_uris.nil?
|
47
|
+
@identifier_uris.each{ |e| e.validate if e.respond_to?(:validate) } unless @identifier_uris.nil?
|
48
|
+
@reply_urls.each{ |e| e.validate if e.respond_to?(:validate) } unless @reply_urls.nil?
|
49
|
+
@key_credentials.each{ |e| e.validate if e.respond_to?(:validate) } unless @key_credentials.nil?
|
50
|
+
@password_credentials.each{ |e| e.validate if e.respond_to?(:validate) } unless @password_credentials.nil?
|
51
|
+
end
|
52
|
+
|
53
|
+
#
|
54
|
+
# Serializes given Model object into Ruby Hash.
|
55
|
+
# @param object Model object to serialize.
|
56
|
+
# @return [Hash] Serialized object in form of Ruby Hash.
|
57
|
+
#
|
58
|
+
def self.serialize_object(object)
|
59
|
+
object.validate
|
60
|
+
output_object = {}
|
61
|
+
|
62
|
+
serialized_property = object.available_to_other_tenants
|
63
|
+
output_object['availableToOtherTenants'] = serialized_property unless serialized_property.nil?
|
64
|
+
|
65
|
+
serialized_property = object.display_name
|
66
|
+
output_object['displayName'] = serialized_property unless serialized_property.nil?
|
67
|
+
|
68
|
+
serialized_property = object.homepage
|
69
|
+
output_object['homepage'] = serialized_property unless serialized_property.nil?
|
70
|
+
|
71
|
+
serialized_property = object.identifier_uris
|
72
|
+
output_object['identifierUris'] = serialized_property unless serialized_property.nil?
|
73
|
+
|
74
|
+
serialized_property = object.reply_urls
|
75
|
+
output_object['replyUrls'] = serialized_property unless serialized_property.nil?
|
76
|
+
|
77
|
+
serialized_property = object.key_credentials
|
78
|
+
unless serialized_property.nil?
|
79
|
+
serializedArray = []
|
80
|
+
serialized_property.each do |element2|
|
81
|
+
unless element2.nil?
|
82
|
+
element2 = KeyCredential.serialize_object(element2)
|
83
|
+
end
|
84
|
+
serializedArray.push(element2)
|
85
|
+
end
|
86
|
+
serialized_property = serializedArray
|
87
|
+
end
|
88
|
+
output_object['keyCredentials'] = serialized_property unless serialized_property.nil?
|
89
|
+
|
90
|
+
serialized_property = object.password_credentials
|
91
|
+
unless serialized_property.nil?
|
92
|
+
serializedArray = []
|
93
|
+
serialized_property.each do |element3|
|
94
|
+
unless element3.nil?
|
95
|
+
element3 = PasswordCredential.serialize_object(element3)
|
96
|
+
end
|
97
|
+
serializedArray.push(element3)
|
98
|
+
end
|
99
|
+
serialized_property = serializedArray
|
100
|
+
end
|
101
|
+
output_object['passwordCredentials'] = serialized_property unless serialized_property.nil?
|
102
|
+
|
103
|
+
output_object
|
104
|
+
end
|
105
|
+
|
106
|
+
#
|
107
|
+
# Deserializes given Ruby Hash into Model object.
|
108
|
+
# @param object [Hash] Ruby Hash object to deserialize.
|
109
|
+
# @return [ApplicationCreateParameters] Deserialized object.
|
110
|
+
#
|
111
|
+
def self.deserialize_object(object)
|
112
|
+
return if object.nil?
|
113
|
+
output_object = ApplicationCreateParameters.new
|
114
|
+
|
115
|
+
deserialized_property = object['availableToOtherTenants']
|
116
|
+
output_object.available_to_other_tenants = deserialized_property
|
117
|
+
|
118
|
+
deserialized_property = object['displayName']
|
119
|
+
output_object.display_name = deserialized_property
|
120
|
+
|
121
|
+
deserialized_property = object['homepage']
|
122
|
+
output_object.homepage = deserialized_property
|
123
|
+
|
124
|
+
deserialized_property = object['identifierUris']
|
125
|
+
output_object.identifier_uris = deserialized_property
|
126
|
+
|
127
|
+
deserialized_property = object['replyUrls']
|
128
|
+
output_object.reply_urls = deserialized_property
|
129
|
+
|
130
|
+
deserialized_property = object['keyCredentials']
|
131
|
+
unless deserialized_property.nil?
|
132
|
+
deserialized_array = []
|
133
|
+
deserialized_property.each do |element6|
|
134
|
+
unless element6.nil?
|
135
|
+
element6 = KeyCredential.deserialize_object(element6)
|
136
|
+
end
|
137
|
+
deserialized_array.push(element6)
|
138
|
+
end
|
139
|
+
deserialized_property = deserialized_array
|
140
|
+
end
|
141
|
+
output_object.key_credentials = deserialized_property
|
142
|
+
|
143
|
+
deserialized_property = object['passwordCredentials']
|
144
|
+
unless deserialized_property.nil?
|
145
|
+
deserialized_array = []
|
146
|
+
deserialized_property.each do |element7|
|
147
|
+
unless element7.nil?
|
148
|
+
element7 = PasswordCredential.deserialize_object(element7)
|
149
|
+
end
|
150
|
+
deserialized_array.push(element7)
|
151
|
+
end
|
152
|
+
deserialized_property = deserialized_array
|
153
|
+
end
|
154
|
+
output_object.password_credentials = deserialized_property
|
155
|
+
|
156
|
+
output_object
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|