swagger_aem 2.5.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -6
  3. data/README.md +7 -7
  4. data/Rakefile +2 -0
  5. data/docs/ConsoleApi.md +26 -32
  6. data/docs/CqApi.md +3 -6
  7. data/docs/CrxApi.md +19 -33
  8. data/docs/CustomApi.md +10 -13
  9. data/docs/SamlConfigurationInfo.md +1 -1
  10. data/docs/SamlConfigurationProperties.md +24 -24
  11. data/docs/SlingApi.md +211 -280
  12. data/git_push.sh +3 -3
  13. data/lib/swagger_aem.rb +3 -3
  14. data/lib/swagger_aem/api/console_api.rb +16 -40
  15. data/lib/swagger_aem/api/cq_api.rb +10 -22
  16. data/lib/swagger_aem/api/crx_api.rb +26 -61
  17. data/lib/swagger_aem/api/custom_api.rb +13 -32
  18. data/lib/swagger_aem/api/sling_api.rb +94 -264
  19. data/lib/swagger_aem/api_client.rb +14 -14
  20. data/lib/swagger_aem/api_error.rb +3 -3
  21. data/lib/swagger_aem/configuration.rb +5 -5
  22. data/lib/swagger_aem/models/install_status.rb +11 -16
  23. data/lib/swagger_aem/models/install_status_status.rb +11 -16
  24. data/lib/swagger_aem/models/keystore_chain_items.rb +11 -16
  25. data/lib/swagger_aem/models/keystore_info.rb +11 -16
  26. data/lib/swagger_aem/models/keystore_items.rb +11 -16
  27. data/lib/swagger_aem/models/saml_configuration_info.rb +12 -17
  28. data/lib/swagger_aem/models/saml_configuration_properties.rb +59 -136
  29. data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +11 -16
  30. data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +11 -16
  31. data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +11 -16
  32. data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +11 -16
  33. data/lib/swagger_aem/models/truststore_info.rb +11 -16
  34. data/lib/swagger_aem/models/truststore_items.rb +11 -16
  35. data/lib/swagger_aem/version.rb +4 -4
  36. data/spec/api/console_api_spec.rb +8 -16
  37. data/spec/api/cq_api_spec.rb +6 -10
  38. data/spec/api/crx_api_spec.rb +11 -25
  39. data/spec/api/custom_api_spec.rb +7 -13
  40. data/spec/api/sling_api_spec.rb +32 -88
  41. data/spec/api_client_spec.rb +37 -37
  42. data/spec/configuration_spec.rb +11 -11
  43. data/spec/models/install_status_spec.rb +5 -6
  44. data/spec/models/install_status_status_spec.rb +6 -7
  45. data/spec/models/keystore_chain_items_spec.rb +9 -10
  46. data/spec/models/keystore_info_spec.rb +6 -7
  47. data/spec/models/keystore_items_spec.rb +9 -10
  48. data/spec/models/saml_configuration_info_spec.rb +10 -11
  49. data/spec/models/saml_configuration_properties_spec.rb +28 -29
  50. data/spec/models/saml_configuration_property_items_array_spec.rb +10 -11
  51. data/spec/models/saml_configuration_property_items_boolean_spec.rb +10 -11
  52. data/spec/models/saml_configuration_property_items_long_spec.rb +10 -11
  53. data/spec/models/saml_configuration_property_items_string_spec.rb +10 -11
  54. data/spec/models/truststore_info_spec.rb +6 -7
  55. data/spec/models/truststore_items_spec.rb +11 -12
  56. data/spec/spec_helper.rb +3 -3
  57. data/swagger_aem.gemspec +6 -6
  58. metadata +3 -3
@@ -3,17 +3,16 @@
3
3
 
4
4
  #Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
5
5
 
6
- OpenAPI spec version: 2.4.0
6
+ OpenAPI spec version: 3.0.0
7
7
  Contact: opensource@shinesolutions.com
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.0-SNAPSHOT
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 3.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module SwaggerAemClient
16
-
17
16
  class KeystoreItems
18
17
  # Keystore alias name
19
18
  attr_accessor :_alias
@@ -29,7 +28,6 @@ module SwaggerAemClient
29
28
 
30
29
  attr_accessor :chain
31
30
 
32
-
33
31
  # Attribute mapping from ruby-style variable name to JSON key.
34
32
  def self.attribute_map
35
33
  {
@@ -42,7 +40,7 @@ module SwaggerAemClient
42
40
  end
43
41
 
44
42
  # Attribute type mapping.
45
- def self.swagger_types
43
+ def self.openapi_types
46
44
  {
47
45
  :'_alias' => :'String',
48
46
  :'entry_type' => :'String',
@@ -58,7 +56,7 @@ module SwaggerAemClient
58
56
  return unless attributes.is_a?(Hash)
59
57
 
60
58
  # convert string to symbol for hash key
61
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
59
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
62
60
 
63
61
  if attributes.has_key?(:'alias')
64
62
  self._alias = attributes[:'alias']
@@ -81,20 +79,19 @@ module SwaggerAemClient
81
79
  self.chain = value
82
80
  end
83
81
  end
84
-
85
82
  end
86
83
 
87
84
  # Show invalid properties with the reasons. Usually used together with valid?
88
- # @return Array for valid properies with the reasons
85
+ # @return Array for valid properties with the reasons
89
86
  def list_invalid_properties
90
87
  invalid_properties = Array.new
91
- return invalid_properties
88
+ invalid_properties
92
89
  end
93
90
 
94
91
  # Check to see if the all the properties in the model are valid
95
92
  # @return true if the model is valid
96
93
  def valid?
97
- return true
94
+ true
98
95
  end
99
96
 
100
97
  # Checks equality by comparing each attribute.
@@ -126,12 +123,12 @@ module SwaggerAemClient
126
123
  # @return [Object] Returns the model itself
127
124
  def build_from_hash(attributes)
128
125
  return nil unless attributes.is_a?(Hash)
129
- self.class.swagger_types.each_pair do |key, type|
126
+ self.class.openapi_types.each_pair do |key, type|
130
127
  if type =~ /\AArray<(.*)>/i
131
128
  # check to ensure the input is an array given that the the attribute
132
129
  # is documented as an array but the input is not
133
130
  if attributes[self.class.attribute_map[key]].is_a?(Array)
134
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
131
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
135
132
  end
136
133
  elsif !attributes[self.class.attribute_map[key]].nil?
137
134
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -213,7 +210,7 @@ module SwaggerAemClient
213
210
  # @return [Hash] Returns the value in the form of hash
214
211
  def _to_hash(value)
215
212
  if value.is_a?(Array)
216
- value.compact.map{ |v| _to_hash(v) }
213
+ value.compact.map { |v| _to_hash(v) }
217
214
  elsif value.is_a?(Hash)
218
215
  {}.tap do |hash|
219
216
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -224,7 +221,5 @@ module SwaggerAemClient
224
221
  value
225
222
  end
226
223
  end
227
-
228
224
  end
229
-
230
225
  end
@@ -3,17 +3,16 @@
3
3
 
4
4
  #Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
5
5
 
6
- OpenAPI spec version: 2.4.0
6
+ OpenAPI spec version: 3.0.0
7
7
  Contact: opensource@shinesolutions.com
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.0-SNAPSHOT
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 3.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module SwaggerAemClient
16
-
17
16
  class SamlConfigurationInfo
18
17
  # Persistent Identity (PID)
19
18
  attr_accessor :pid
@@ -32,7 +31,6 @@ module SwaggerAemClient
32
31
 
33
32
  attr_accessor :properties
34
33
 
35
-
36
34
  # Attribute mapping from ruby-style variable name to JSON key.
37
35
  def self.attribute_map
38
36
  {
@@ -46,14 +44,14 @@ module SwaggerAemClient
46
44
  end
47
45
 
48
46
  # Attribute type mapping.
49
- def self.swagger_types
47
+ def self.openapi_types
50
48
  {
51
49
  :'pid' => :'String',
52
50
  :'title' => :'String',
53
51
  :'description' => :'String',
54
52
  :'bundle_location' => :'String',
55
53
  :'service_location' => :'String',
56
- :'properties' => :'Object'
54
+ :'properties' => :'SamlConfigurationProperties'
57
55
  }
58
56
  end
59
57
 
@@ -63,7 +61,7 @@ module SwaggerAemClient
63
61
  return unless attributes.is_a?(Hash)
64
62
 
65
63
  # convert string to symbol for hash key
66
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
64
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
67
65
 
68
66
  if attributes.has_key?(:'pid')
69
67
  self.pid = attributes[:'pid']
@@ -88,20 +86,19 @@ module SwaggerAemClient
88
86
  if attributes.has_key?(:'properties')
89
87
  self.properties = attributes[:'properties']
90
88
  end
91
-
92
89
  end
93
90
 
94
91
  # Show invalid properties with the reasons. Usually used together with valid?
95
- # @return Array for valid properies with the reasons
92
+ # @return Array for valid properties with the reasons
96
93
  def list_invalid_properties
97
94
  invalid_properties = Array.new
98
- return invalid_properties
95
+ invalid_properties
99
96
  end
100
97
 
101
98
  # Check to see if the all the properties in the model are valid
102
99
  # @return true if the model is valid
103
100
  def valid?
104
- return true
101
+ true
105
102
  end
106
103
 
107
104
  # Checks equality by comparing each attribute.
@@ -134,12 +131,12 @@ module SwaggerAemClient
134
131
  # @return [Object] Returns the model itself
135
132
  def build_from_hash(attributes)
136
133
  return nil unless attributes.is_a?(Hash)
137
- self.class.swagger_types.each_pair do |key, type|
134
+ self.class.openapi_types.each_pair do |key, type|
138
135
  if type =~ /\AArray<(.*)>/i
139
136
  # check to ensure the input is an array given that the the attribute
140
137
  # is documented as an array but the input is not
141
138
  if attributes[self.class.attribute_map[key]].is_a?(Array)
142
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
139
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
143
140
  end
144
141
  elsif !attributes[self.class.attribute_map[key]].nil?
145
142
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -221,7 +218,7 @@ module SwaggerAemClient
221
218
  # @return [Hash] Returns the value in the form of hash
222
219
  def _to_hash(value)
223
220
  if value.is_a?(Array)
224
- value.compact.map{ |v| _to_hash(v) }
221
+ value.compact.map { |v| _to_hash(v) }
225
222
  elsif value.is_a?(Hash)
226
223
  {}.tap do |hash|
227
224
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -232,7 +229,5 @@ module SwaggerAemClient
232
229
  value
233
230
  end
234
231
  end
235
-
236
232
  end
237
-
238
233
  end
@@ -3,91 +3,65 @@
3
3
 
4
4
  #Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
5
5
 
6
- OpenAPI spec version: 2.4.0
6
+ OpenAPI spec version: 3.0.0
7
7
  Contact: opensource@shinesolutions.com
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.0-SNAPSHOT
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 3.2.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
13
13
  require 'date'
14
14
 
15
15
  module SwaggerAemClient
16
-
17
16
  class SamlConfigurationProperties
18
- # Repository path for which this authentication handler should be used by Sling. If this is empty, the authentication handler will be disabled.
19
17
  attr_accessor :path
20
18
 
21
- # OSGi Framework Service Ranking value to indicate the order in which to call this service. This is an int value where higher values designate higher precedence. Default value is 0.
22
19
  attr_accessor :service_ranking
23
20
 
24
- # URL of the IDP where the SAML Authentication Request should be sent to. If this property is empty the authentication handler is disabled. (idpUrl)
25
21
  attr_accessor :idp_url
26
22
 
27
- # The alias of the IdP's certificate in the global truststore. If this property is empty the authentication handler is disabled.
28
23
  attr_accessor :idp_cert_alias
29
24
 
30
- # Use an HTTP Redirect to the IDP URL instead of sending an AuthnRequest-message to request credentials. Use this for IDP initiated authentication.
31
25
  attr_accessor :idp_http_redirect
32
26
 
33
- # ID which uniquely identifies this service provider with the identity provider. If this property is empty the authentication handler is disabled.
34
27
  attr_accessor :service_provider_entity_id
35
28
 
36
- # The (optional) AssertionConsumerServiceURL attribute of an Authn request specifies the location to which a <Response> message MUST be sent to the requester.
37
29
  attr_accessor :assertion_consumer_service_url
38
30
 
39
- # The alias of the SP's private key in the key-store of the 'authentication-service' system user. If this property is empty the handler will not be able to sign or decrypt messages.
40
31
  attr_accessor :sp_private_key_alias
41
32
 
42
- # The password of the key-store of the 'authentication-service' system user.
43
33
  attr_accessor :key_store_password
44
34
 
45
- # The default location to redirect to after successful authentication.
46
35
  attr_accessor :default_redirect_url
47
36
 
48
- # The name of the attribute containing the user ID used to authenticate and create the user in the CRX repository. Leave empty to use the Subject:NameId.
49
37
  attr_accessor :user_id_attribute
50
38
 
51
- # Whether or not this authentication handler expects encrypted SAML assertions. If this is enabled the SP's private key must be provided in the key-store of the 'authentication-service' system user (see SP Private Key Alias above).
52
39
  attr_accessor :use_encryption
53
40
 
54
- # Whether or not to autocreate nonexisting users in the repository.
55
41
  attr_accessor :create_user
56
42
 
57
- # Whether or not a user should be automatically added to CRX groups after successful authentication.
58
43
  attr_accessor :add_group_memberships
59
44
 
60
- # The name of the attribute containing a list of CRX groups this user should be added to.
61
45
  attr_accessor :group_membership_attribute
62
46
 
63
- # A list of default CRX groups users are added to after successful authentication.
64
47
  attr_accessor :default_groups
65
48
 
66
- # The value of the NameIDPolicy format parameter to send in the AuthnRequest message.
67
49
  attr_accessor :name_id_format
68
50
 
69
- # A list of attribute mappings (in the format \\attributename=path/relative/to/user/node\\) which should be stored in the repository on user-synchronization.
70
51
  attr_accessor :synchronize_attributes
71
52
 
72
- # Whether or not logout (dropCredentials) requests will be processed by this handler.
73
53
  attr_accessor :handle_logout
74
54
 
75
- # URL of the IDP where the SAML Logout Request should be sent to. If this property is empty the authentication handler won't handle logouts.
76
55
  attr_accessor :logout_url
77
56
 
78
- # Time tolerance in seconds to compensate clock skew between IDP and SP when validating Assertions.
79
57
  attr_accessor :clock_tolerance
80
58
 
81
- # The digest algorithm to use when signing a SAML message.
82
59
  attr_accessor :digest_method
83
60
 
84
- # The signature algorithm to use when signing a SAML message.
85
61
  attr_accessor :signature_method
86
62
 
87
- # User intermediate path to store created users.
88
63
  attr_accessor :user_intermediate_path
89
64
 
90
-
91
65
  # Attribute mapping from ruby-style variable name to JSON key.
92
66
  def self.attribute_map
93
67
  {
@@ -119,32 +93,32 @@ module SwaggerAemClient
119
93
  end
120
94
 
121
95
  # Attribute type mapping.
122
- def self.swagger_types
96
+ def self.openapi_types
123
97
  {
124
- :'path' => :'Array<SamlConfigurationPropertyItemsArray>',
125
- :'service_ranking' => :'Array<SamlConfigurationPropertyItemsLong>',
126
- :'idp_url' => :'Array<SamlConfigurationPropertyItemsString>',
127
- :'idp_cert_alias' => :'Array<SamlConfigurationPropertyItemsString>',
128
- :'idp_http_redirect' => :'Array<SamlConfigurationPropertyItemsBoolean>',
129
- :'service_provider_entity_id' => :'Array<SamlConfigurationPropertyItemsString>',
130
- :'assertion_consumer_service_url' => :'Array<SamlConfigurationPropertyItemsString>',
131
- :'sp_private_key_alias' => :'Array<SamlConfigurationPropertyItemsString>',
132
- :'key_store_password' => :'Array<SamlConfigurationPropertyItemsString>',
133
- :'default_redirect_url' => :'Array<SamlConfigurationPropertyItemsString>',
134
- :'user_id_attribute' => :'Array<SamlConfigurationPropertyItemsString>',
135
- :'use_encryption' => :'Array<SamlConfigurationPropertyItemsBoolean>',
136
- :'create_user' => :'Array<SamlConfigurationPropertyItemsBoolean>',
137
- :'add_group_memberships' => :'Array<SamlConfigurationPropertyItemsBoolean>',
138
- :'group_membership_attribute' => :'Array<SamlConfigurationPropertyItemsString>',
139
- :'default_groups' => :'Array<SamlConfigurationPropertyItemsArray>',
140
- :'name_id_format' => :'Array<SamlConfigurationPropertyItemsString>',
141
- :'synchronize_attributes' => :'Array<SamlConfigurationPropertyItemsArray>',
142
- :'handle_logout' => :'Array<SamlConfigurationPropertyItemsBoolean>',
143
- :'logout_url' => :'Array<SamlConfigurationPropertyItemsString>',
144
- :'clock_tolerance' => :'Array<SamlConfigurationPropertyItemsLong>',
145
- :'digest_method' => :'Array<SamlConfigurationPropertyItemsString>',
146
- :'signature_method' => :'Array<SamlConfigurationPropertyItemsString>',
147
- :'user_intermediate_path' => :'Array<SamlConfigurationPropertyItemsString>'
98
+ :'path' => :'SamlConfigurationPropertyItemsArray',
99
+ :'service_ranking' => :'SamlConfigurationPropertyItemsLong',
100
+ :'idp_url' => :'SamlConfigurationPropertyItemsString',
101
+ :'idp_cert_alias' => :'SamlConfigurationPropertyItemsString',
102
+ :'idp_http_redirect' => :'SamlConfigurationPropertyItemsBoolean',
103
+ :'service_provider_entity_id' => :'SamlConfigurationPropertyItemsString',
104
+ :'assertion_consumer_service_url' => :'SamlConfigurationPropertyItemsString',
105
+ :'sp_private_key_alias' => :'SamlConfigurationPropertyItemsString',
106
+ :'key_store_password' => :'SamlConfigurationPropertyItemsString',
107
+ :'default_redirect_url' => :'SamlConfigurationPropertyItemsString',
108
+ :'user_id_attribute' => :'SamlConfigurationPropertyItemsString',
109
+ :'use_encryption' => :'SamlConfigurationPropertyItemsBoolean',
110
+ :'create_user' => :'SamlConfigurationPropertyItemsBoolean',
111
+ :'add_group_memberships' => :'SamlConfigurationPropertyItemsBoolean',
112
+ :'group_membership_attribute' => :'SamlConfigurationPropertyItemsString',
113
+ :'default_groups' => :'SamlConfigurationPropertyItemsArray',
114
+ :'name_id_format' => :'SamlConfigurationPropertyItemsString',
115
+ :'synchronize_attributes' => :'SamlConfigurationPropertyItemsArray',
116
+ :'handle_logout' => :'SamlConfigurationPropertyItemsBoolean',
117
+ :'logout_url' => :'SamlConfigurationPropertyItemsString',
118
+ :'clock_tolerance' => :'SamlConfigurationPropertyItemsLong',
119
+ :'digest_method' => :'SamlConfigurationPropertyItemsString',
120
+ :'signature_method' => :'SamlConfigurationPropertyItemsString',
121
+ :'user_intermediate_path' => :'SamlConfigurationPropertyItemsString'
148
122
  }
149
123
  end
150
124
 
@@ -154,165 +128,116 @@ module SwaggerAemClient
154
128
  return unless attributes.is_a?(Hash)
155
129
 
156
130
  # convert string to symbol for hash key
157
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
131
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
158
132
 
159
133
  if attributes.has_key?(:'path')
160
- if (value = attributes[:'path']).is_a?(Array)
161
- self.path = value
162
- end
134
+ self.path = attributes[:'path']
163
135
  end
164
136
 
165
137
  if attributes.has_key?(:'service.ranking')
166
- if (value = attributes[:'service.ranking']).is_a?(Array)
167
- self.service_ranking = value
168
- end
138
+ self.service_ranking = attributes[:'service.ranking']
169
139
  end
170
140
 
171
141
  if attributes.has_key?(:'idpUrl')
172
- if (value = attributes[:'idpUrl']).is_a?(Array)
173
- self.idp_url = value
174
- end
142
+ self.idp_url = attributes[:'idpUrl']
175
143
  end
176
144
 
177
145
  if attributes.has_key?(:'idpCertAlias')
178
- if (value = attributes[:'idpCertAlias']).is_a?(Array)
179
- self.idp_cert_alias = value
180
- end
146
+ self.idp_cert_alias = attributes[:'idpCertAlias']
181
147
  end
182
148
 
183
149
  if attributes.has_key?(:'idpHttpRedirect')
184
- if (value = attributes[:'idpHttpRedirect']).is_a?(Array)
185
- self.idp_http_redirect = value
186
- end
150
+ self.idp_http_redirect = attributes[:'idpHttpRedirect']
187
151
  end
188
152
 
189
153
  if attributes.has_key?(:'serviceProviderEntityId')
190
- if (value = attributes[:'serviceProviderEntityId']).is_a?(Array)
191
- self.service_provider_entity_id = value
192
- end
154
+ self.service_provider_entity_id = attributes[:'serviceProviderEntityId']
193
155
  end
194
156
 
195
157
  if attributes.has_key?(:'assertionConsumerServiceURL')
196
- if (value = attributes[:'assertionConsumerServiceURL']).is_a?(Array)
197
- self.assertion_consumer_service_url = value
198
- end
158
+ self.assertion_consumer_service_url = attributes[:'assertionConsumerServiceURL']
199
159
  end
200
160
 
201
161
  if attributes.has_key?(:'spPrivateKeyAlias')
202
- if (value = attributes[:'spPrivateKeyAlias']).is_a?(Array)
203
- self.sp_private_key_alias = value
204
- end
162
+ self.sp_private_key_alias = attributes[:'spPrivateKeyAlias']
205
163
  end
206
164
 
207
165
  if attributes.has_key?(:'keyStorePassword')
208
- if (value = attributes[:'keyStorePassword']).is_a?(Array)
209
- self.key_store_password = value
210
- end
166
+ self.key_store_password = attributes[:'keyStorePassword']
211
167
  end
212
168
 
213
169
  if attributes.has_key?(:'defaultRedirectUrl')
214
- if (value = attributes[:'defaultRedirectUrl']).is_a?(Array)
215
- self.default_redirect_url = value
216
- end
170
+ self.default_redirect_url = attributes[:'defaultRedirectUrl']
217
171
  end
218
172
 
219
173
  if attributes.has_key?(:'userIDAttribute')
220
- if (value = attributes[:'userIDAttribute']).is_a?(Array)
221
- self.user_id_attribute = value
222
- end
174
+ self.user_id_attribute = attributes[:'userIDAttribute']
223
175
  end
224
176
 
225
177
  if attributes.has_key?(:'useEncryption')
226
- if (value = attributes[:'useEncryption']).is_a?(Array)
227
- self.use_encryption = value
228
- end
178
+ self.use_encryption = attributes[:'useEncryption']
229
179
  end
230
180
 
231
181
  if attributes.has_key?(:'createUser')
232
- if (value = attributes[:'createUser']).is_a?(Array)
233
- self.create_user = value
234
- end
182
+ self.create_user = attributes[:'createUser']
235
183
  end
236
184
 
237
185
  if attributes.has_key?(:'addGroupMemberships')
238
- if (value = attributes[:'addGroupMemberships']).is_a?(Array)
239
- self.add_group_memberships = value
240
- end
186
+ self.add_group_memberships = attributes[:'addGroupMemberships']
241
187
  end
242
188
 
243
189
  if attributes.has_key?(:'groupMembershipAttribute')
244
- if (value = attributes[:'groupMembershipAttribute']).is_a?(Array)
245
- self.group_membership_attribute = value
246
- end
190
+ self.group_membership_attribute = attributes[:'groupMembershipAttribute']
247
191
  end
248
192
 
249
193
  if attributes.has_key?(:'defaultGroups')
250
- if (value = attributes[:'defaultGroups']).is_a?(Array)
251
- self.default_groups = value
252
- end
194
+ self.default_groups = attributes[:'defaultGroups']
253
195
  end
254
196
 
255
197
  if attributes.has_key?(:'nameIdFormat')
256
- if (value = attributes[:'nameIdFormat']).is_a?(Array)
257
- self.name_id_format = value
258
- end
198
+ self.name_id_format = attributes[:'nameIdFormat']
259
199
  end
260
200
 
261
201
  if attributes.has_key?(:'synchronizeAttributes')
262
- if (value = attributes[:'synchronizeAttributes']).is_a?(Array)
263
- self.synchronize_attributes = value
264
- end
202
+ self.synchronize_attributes = attributes[:'synchronizeAttributes']
265
203
  end
266
204
 
267
205
  if attributes.has_key?(:'handleLogout')
268
- if (value = attributes[:'handleLogout']).is_a?(Array)
269
- self.handle_logout = value
270
- end
206
+ self.handle_logout = attributes[:'handleLogout']
271
207
  end
272
208
 
273
209
  if attributes.has_key?(:'logoutUrl')
274
- if (value = attributes[:'logoutUrl']).is_a?(Array)
275
- self.logout_url = value
276
- end
210
+ self.logout_url = attributes[:'logoutUrl']
277
211
  end
278
212
 
279
213
  if attributes.has_key?(:'clockTolerance')
280
- if (value = attributes[:'clockTolerance']).is_a?(Array)
281
- self.clock_tolerance = value
282
- end
214
+ self.clock_tolerance = attributes[:'clockTolerance']
283
215
  end
284
216
 
285
217
  if attributes.has_key?(:'digestMethod')
286
- if (value = attributes[:'digestMethod']).is_a?(Array)
287
- self.digest_method = value
288
- end
218
+ self.digest_method = attributes[:'digestMethod']
289
219
  end
290
220
 
291
221
  if attributes.has_key?(:'signatureMethod')
292
- if (value = attributes[:'signatureMethod']).is_a?(Array)
293
- self.signature_method = value
294
- end
222
+ self.signature_method = attributes[:'signatureMethod']
295
223
  end
296
224
 
297
225
  if attributes.has_key?(:'userIntermediatePath')
298
- if (value = attributes[:'userIntermediatePath']).is_a?(Array)
299
- self.user_intermediate_path = value
300
- end
226
+ self.user_intermediate_path = attributes[:'userIntermediatePath']
301
227
  end
302
-
303
228
  end
304
229
 
305
230
  # Show invalid properties with the reasons. Usually used together with valid?
306
- # @return Array for valid properies with the reasons
231
+ # @return Array for valid properties with the reasons
307
232
  def list_invalid_properties
308
233
  invalid_properties = Array.new
309
- return invalid_properties
234
+ invalid_properties
310
235
  end
311
236
 
312
237
  # Check to see if the all the properties in the model are valid
313
238
  # @return true if the model is valid
314
239
  def valid?
315
- return true
240
+ true
316
241
  end
317
242
 
318
243
  # Checks equality by comparing each attribute.
@@ -363,12 +288,12 @@ module SwaggerAemClient
363
288
  # @return [Object] Returns the model itself
364
289
  def build_from_hash(attributes)
365
290
  return nil unless attributes.is_a?(Hash)
366
- self.class.swagger_types.each_pair do |key, type|
291
+ self.class.openapi_types.each_pair do |key, type|
367
292
  if type =~ /\AArray<(.*)>/i
368
293
  # check to ensure the input is an array given that the the attribute
369
294
  # is documented as an array but the input is not
370
295
  if attributes[self.class.attribute_map[key]].is_a?(Array)
371
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
296
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
372
297
  end
373
298
  elsif !attributes[self.class.attribute_map[key]].nil?
374
299
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -450,7 +375,7 @@ module SwaggerAemClient
450
375
  # @return [Hash] Returns the value in the form of hash
451
376
  def _to_hash(value)
452
377
  if value.is_a?(Array)
453
- value.compact.map{ |v| _to_hash(v) }
378
+ value.compact.map { |v| _to_hash(v) }
454
379
  elsif value.is_a?(Hash)
455
380
  {}.tap do |hash|
456
381
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -461,7 +386,5 @@ module SwaggerAemClient
461
386
  value
462
387
  end
463
388
  end
464
-
465
389
  end
466
-
467
390
  end