swagger_aem 3.1.0 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -1
  3. data/Gemfile.lock +44 -43
  4. data/README.md +15 -7
  5. data/docs/ConsoleApi.md +43 -33
  6. data/docs/CqApi.md +12 -8
  7. data/docs/CrxApi.md +41 -27
  8. data/docs/CustomApi.md +19 -13
  9. data/docs/InlineObject.md +17 -0
  10. data/docs/InlineObject1.md +17 -0
  11. data/docs/InlineObject2.md +17 -0
  12. data/docs/InlineObject3.md +17 -0
  13. data/docs/InlineObject4.md +21 -0
  14. data/docs/InstallStatus.md +9 -0
  15. data/docs/InstallStatusStatus.md +11 -1
  16. data/docs/KeystoreChainItems.md +13 -0
  17. data/docs/KeystoreInfo.md +11 -1
  18. data/docs/KeystoreItems.md +13 -0
  19. data/docs/SamlConfigurationInfo.md +14 -0
  20. data/docs/SamlConfigurationProperties.md +32 -0
  21. data/docs/SamlConfigurationPropertyItemsArray.md +16 -2
  22. data/docs/SamlConfigurationPropertyItemsBoolean.md +17 -3
  23. data/docs/SamlConfigurationPropertyItemsLong.md +16 -2
  24. data/docs/SamlConfigurationPropertyItemsString.md +16 -2
  25. data/docs/SlingApi.md +320 -214
  26. data/docs/TruststoreInfo.md +11 -1
  27. data/docs/TruststoreItems.md +15 -0
  28. data/git_push.sh +10 -7
  29. data/lib/swagger_aem.rb +7 -2
  30. data/lib/swagger_aem/api/console_api.rb +118 -67
  31. data/lib/swagger_aem/api/cq_api.rb +43 -23
  32. data/lib/swagger_aem/api/crx_api.rb +154 -84
  33. data/lib/swagger_aem/api/custom_api.rb +60 -29
  34. data/lib/swagger_aem/api/sling_api.rb +850 -500
  35. data/lib/swagger_aem/api_client.rb +42 -43
  36. data/lib/swagger_aem/api_error.rb +21 -2
  37. data/lib/swagger_aem/configuration.rb +46 -7
  38. data/lib/swagger_aem/models/inline_object.rb +206 -0
  39. data/lib/swagger_aem/models/inline_object1.rb +206 -0
  40. data/lib/swagger_aem/models/inline_object2.rb +206 -0
  41. data/lib/swagger_aem/models/inline_object3.rb +206 -0
  42. data/lib/swagger_aem/models/inline_object4.rb +224 -0
  43. data/lib/swagger_aem/models/install_status.rb +35 -12
  44. data/lib/swagger_aem/models/install_status_status.rb +38 -15
  45. data/lib/swagger_aem/models/keystore_chain_items.rb +42 -19
  46. data/lib/swagger_aem/models/keystore_info.rb +37 -14
  47. data/lib/swagger_aem/models/keystore_items.rb +41 -18
  48. data/lib/swagger_aem/models/saml_configuration_info.rb +40 -17
  49. data/lib/swagger_aem/models/saml_configuration_properties.rb +81 -58
  50. data/lib/swagger_aem/models/saml_configuration_property_items_array.rb +42 -19
  51. data/lib/swagger_aem/models/saml_configuration_property_items_boolean.rb +43 -20
  52. data/lib/swagger_aem/models/saml_configuration_property_items_long.rb +42 -19
  53. data/lib/swagger_aem/models/saml_configuration_property_items_string.rb +42 -19
  54. data/lib/swagger_aem/models/truststore_info.rb +37 -14
  55. data/lib/swagger_aem/models/truststore_items.rb +46 -23
  56. data/lib/swagger_aem/version.rb +3 -3
  57. data/spec/models/inline_object1_spec.rb +41 -0
  58. data/spec/models/inline_object2_spec.rb +41 -0
  59. data/spec/models/inline_object3_spec.rb +41 -0
  60. data/spec/models/inline_object4_spec.rb +53 -0
  61. data/spec/models/inline_object_spec.rb +41 -0
  62. data/swagger_aem.gemspec +2 -8
  63. metadata +22 -122
@@ -1,9 +1,19 @@
1
1
  # SwaggerAemClient::TruststoreInfo
2
2
 
3
3
  ## Properties
4
+
4
5
  Name | Type | Description | Notes
5
6
  ------------ | ------------- | ------------- | -------------
6
7
  **aliases** | [**Array<TruststoreItems>**](TruststoreItems.md) | | [optional]
7
- **exists** | **BOOLEAN** | False if truststore don't exist | [optional]
8
+ **exists** | **Boolean** | False if truststore don't exist | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'SwaggerAemClient'
14
+
15
+ instance = SwaggerAemClient::TruststoreInfo.new(aliases: null,
16
+ exists: null)
17
+ ```
8
18
 
9
19
 
@@ -1,6 +1,7 @@
1
1
  # SwaggerAemClient::TruststoreItems
2
2
 
3
3
  ## Properties
4
+
4
5
  Name | Type | Description | Notes
5
6
  ------------ | ------------- | ------------- | -------------
6
7
  **_alias** | **String** | Truststore alias name | [optional]
@@ -11,4 +12,18 @@ Name | Type | Description | Notes
11
12
  **not_after** | **String** | e.g. \"Sun Jun 30 23:59:50 AEST 2019\" | [optional]
12
13
  **serial_number** | **Integer** | 18165099476682912368 | [optional]
13
14
 
15
+ ## Code Sample
16
+
17
+ ```ruby
18
+ require 'SwaggerAemClient'
19
+
20
+ instance = SwaggerAemClient::TruststoreItems.new(_alias: null,
21
+ entry_type: null,
22
+ subject: null,
23
+ issuer: null,
24
+ not_before: null,
25
+ not_after: null,
26
+ serial_number: null)
27
+ ```
28
+
14
29
 
@@ -1,14 +1,17 @@
1
1
  #!/bin/sh
2
- #
3
- # Generated by: https://openapi-generator.tech
4
- #
5
2
  # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
6
3
  #
7
- # Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
4
+ # Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
8
5
 
9
6
  git_user_id=$1
10
7
  git_repo_id=$2
11
8
  release_note=$3
9
+ git_host=$4
10
+
11
+ if [ "$git_host" = "" ]; then
12
+ git_host="github.com"
13
+ echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
+ fi
12
15
 
13
16
  if [ "$git_user_id" = "" ]; then
14
17
  git_user_id="GIT_USER_ID"
@@ -40,9 +43,9 @@ if [ "$git_remote" = "" ]; then # git remote not defined
40
43
 
41
44
  if [ "$GIT_TOKEN" = "" ]; then
42
45
  echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
43
- git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
46
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
44
47
  else
45
- git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
48
+ git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
46
49
  fi
47
50
 
48
51
  fi
@@ -50,6 +53,6 @@ fi
50
53
  git pull origin master
51
54
 
52
55
  # Pushes (Forces) the changes in the local repository up to the remote repository
53
- echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
56
+ echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
54
57
  git push origin master 2>&1 | grep -v 'To https'
55
58
 
@@ -3,10 +3,10 @@
3
3
 
4
4
  #Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
5
5
 
6
- OpenAPI spec version: 3.1.0
6
+ The version of the OpenAPI document: 3.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 3.2.1-SNAPSHOT
9
+ OpenAPI Generator version: 4.3.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -17,6 +17,11 @@ require 'swagger_aem/version'
17
17
  require 'swagger_aem/configuration'
18
18
 
19
19
  # Models
20
+ require 'swagger_aem/models/inline_object'
21
+ require 'swagger_aem/models/inline_object1'
22
+ require 'swagger_aem/models/inline_object2'
23
+ require 'swagger_aem/models/inline_object3'
24
+ require 'swagger_aem/models/inline_object4'
20
25
  require 'swagger_aem/models/install_status'
21
26
  require 'swagger_aem/models/install_status_status'
22
27
  require 'swagger_aem/models/keystore_chain_items'
@@ -3,14 +3,14 @@
3
3
 
4
4
  #Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
5
5
 
6
- OpenAPI spec version: 3.1.0
6
+ The version of the OpenAPI document: 3.2.0
7
7
  Contact: opensource@shinesolutions.com
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 3.2.1-SNAPSHOT
9
+ OpenAPI Generator version: 4.3.1-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
13
- require 'uri'
13
+ require 'cgi'
14
14
 
15
15
  module SwaggerAemClient
16
16
  class ConsoleApi
@@ -27,7 +27,7 @@ module SwaggerAemClient
27
27
  end
28
28
 
29
29
  # @param [Hash] opts the optional parameters
30
- # @return [Array<(Array<String>, Fixnum, Hash)>] Array<String> data, response status code and response headers
30
+ # @return [Array<(Array<String>, Integer, Hash)>] Array<String> data, response status code and response headers
31
31
  def get_aem_product_info_with_http_info(opts = {})
32
32
  if @api_client.config.debugging
33
33
  @api_client.config.logger.debug 'Calling API: ConsoleApi.get_aem_product_info ...'
@@ -36,31 +36,41 @@ module SwaggerAemClient
36
36
  local_var_path = '/system/console/status-productinfo.json'
37
37
 
38
38
  # query parameters
39
- query_params = {}
39
+ query_params = opts[:query_params] || {}
40
40
 
41
41
  # header parameters
42
- header_params = {}
42
+ header_params = opts[:header_params] || {}
43
43
  # HTTP header 'Accept' (if needed)
44
44
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
45
45
 
46
46
  # form parameters
47
- form_params = {}
47
+ form_params = opts[:form_params] || {}
48
48
 
49
49
  # http body (model)
50
- post_body = nil
51
- auth_names = ['aemAuth']
52
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
50
+ post_body = opts[:body]
51
+
52
+ # return_type
53
+ return_type = opts[:return_type] || 'Array<String>'
54
+
55
+ # auth_names
56
+ auth_names = opts[:auth_names] || ['aemAuth']
57
+
58
+ new_options = opts.merge(
53
59
  :header_params => header_params,
54
60
  :query_params => query_params,
55
61
  :form_params => form_params,
56
62
  :body => post_body,
57
63
  :auth_names => auth_names,
58
- :return_type => 'Array<String>')
64
+ :return_type => return_type
65
+ )
66
+
67
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
59
68
  if @api_client.config.debugging
60
69
  @api_client.config.logger.debug "API called: ConsoleApi#get_aem_product_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
61
70
  end
62
71
  return data, status_code, headers
63
72
  end
73
+
64
74
  # @param [Hash] opts the optional parameters
65
75
  # @return [String]
66
76
  def get_config_mgr(opts = {})
@@ -69,7 +79,7 @@ module SwaggerAemClient
69
79
  end
70
80
 
71
81
  # @param [Hash] opts the optional parameters
72
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
82
+ # @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
73
83
  def get_config_mgr_with_http_info(opts = {})
74
84
  if @api_client.config.debugging
75
85
  @api_client.config.logger.debug 'Calling API: ConsoleApi.get_config_mgr ...'
@@ -78,33 +88,43 @@ module SwaggerAemClient
78
88
  local_var_path = '/system/console/configMgr'
79
89
 
80
90
  # query parameters
81
- query_params = {}
91
+ query_params = opts[:query_params] || {}
82
92
 
83
93
  # header parameters
84
- header_params = {}
94
+ header_params = opts[:header_params] || {}
85
95
  # HTTP header 'Accept' (if needed)
86
96
  header_params['Accept'] = @api_client.select_header_accept(['text/xml'])
87
97
 
88
98
  # form parameters
89
- form_params = {}
99
+ form_params = opts[:form_params] || {}
90
100
 
91
101
  # http body (model)
92
- post_body = nil
93
- auth_names = ['aemAuth']
94
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
102
+ post_body = opts[:body]
103
+
104
+ # return_type
105
+ return_type = opts[:return_type] || 'String'
106
+
107
+ # auth_names
108
+ auth_names = opts[:auth_names] || ['aemAuth']
109
+
110
+ new_options = opts.merge(
95
111
  :header_params => header_params,
96
112
  :query_params => query_params,
97
113
  :form_params => form_params,
98
114
  :body => post_body,
99
115
  :auth_names => auth_names,
100
- :return_type => 'String')
116
+ :return_type => return_type
117
+ )
118
+
119
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
101
120
  if @api_client.config.debugging
102
121
  @api_client.config.logger.debug "API called: ConsoleApi#get_config_mgr\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
103
122
  end
104
123
  return data, status_code, headers
105
124
  end
106
- # @param name
107
- # @param action
125
+
126
+ # @param name [String]
127
+ # @param action [String]
108
128
  # @param [Hash] opts the optional parameters
109
129
  # @return [nil]
110
130
  def post_bundle(name, action, opts = {})
@@ -112,10 +132,10 @@ module SwaggerAemClient
112
132
  nil
113
133
  end
114
134
 
115
- # @param name
116
- # @param action
135
+ # @param name [String]
136
+ # @param action [String]
117
137
  # @param [Hash] opts the optional parameters
118
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
138
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
119
139
  def post_bundle_with_http_info(name, action, opts = {})
120
140
  if @api_client.config.debugging
121
141
  @api_client.config.logger.debug 'Calling API: ConsoleApi.post_bundle ...'
@@ -129,33 +149,44 @@ module SwaggerAemClient
129
149
  fail ArgumentError, "Missing the required parameter 'action' when calling ConsoleApi.post_bundle"
130
150
  end
131
151
  # resource path
132
- local_var_path = '/system/console/bundles/{name}'.sub('{' + 'name' + '}', name.to_s)
152
+ local_var_path = '/system/console/bundles/{name}'.sub('{' + 'name' + '}', CGI.escape(name.to_s))
133
153
 
134
154
  # query parameters
135
- query_params = {}
155
+ query_params = opts[:query_params] || {}
136
156
  query_params[:'action'] = action
137
157
 
138
158
  # header parameters
139
- header_params = {}
159
+ header_params = opts[:header_params] || {}
140
160
 
141
161
  # form parameters
142
- form_params = {}
162
+ form_params = opts[:form_params] || {}
143
163
 
144
164
  # http body (model)
145
- post_body = nil
146
- auth_names = ['aemAuth']
147
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
165
+ post_body = opts[:body]
166
+
167
+ # return_type
168
+ return_type = opts[:return_type]
169
+
170
+ # auth_names
171
+ auth_names = opts[:auth_names] || ['aemAuth']
172
+
173
+ new_options = opts.merge(
148
174
  :header_params => header_params,
149
175
  :query_params => query_params,
150
176
  :form_params => form_params,
151
177
  :body => post_body,
152
- :auth_names => auth_names)
178
+ :auth_names => auth_names,
179
+ :return_type => return_type
180
+ )
181
+
182
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
153
183
  if @api_client.config.debugging
154
184
  @api_client.config.logger.debug "API called: ConsoleApi#post_bundle\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
155
185
  end
156
186
  return data, status_code, headers
157
187
  end
158
- # @param action
188
+
189
+ # @param action [String]
159
190
  # @param [Hash] opts the optional parameters
160
191
  # @return [nil]
161
192
  def post_jmx_repository(action, opts = {})
@@ -163,9 +194,9 @@ module SwaggerAemClient
163
194
  nil
164
195
  end
165
196
 
166
- # @param action
197
+ # @param action [String]
167
198
  # @param [Hash] opts the optional parameters
168
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
199
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
169
200
  def post_jmx_repository_with_http_info(action, opts = {})
170
201
  if @api_client.config.debugging
171
202
  @api_client.config.logger.debug 'Calling API: ConsoleApi.post_jmx_repository ...'
@@ -175,56 +206,67 @@ module SwaggerAemClient
175
206
  fail ArgumentError, "Missing the required parameter 'action' when calling ConsoleApi.post_jmx_repository"
176
207
  end
177
208
  # resource path
178
- local_var_path = '/system/console/jmx/com.adobe.granite:type=Repository/op/{action}'.sub('{' + 'action' + '}', action.to_s)
209
+ local_var_path = '/system/console/jmx/com.adobe.granite:type=Repository/op/{action}'.sub('{' + 'action' + '}', CGI.escape(action.to_s))
179
210
 
180
211
  # query parameters
181
- query_params = {}
212
+ query_params = opts[:query_params] || {}
182
213
 
183
214
  # header parameters
184
- header_params = {}
215
+ header_params = opts[:header_params] || {}
185
216
 
186
217
  # form parameters
187
- form_params = {}
218
+ form_params = opts[:form_params] || {}
188
219
 
189
220
  # http body (model)
190
- post_body = nil
191
- auth_names = ['aemAuth']
192
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
221
+ post_body = opts[:body]
222
+
223
+ # return_type
224
+ return_type = opts[:return_type]
225
+
226
+ # auth_names
227
+ auth_names = opts[:auth_names] || ['aemAuth']
228
+
229
+ new_options = opts.merge(
193
230
  :header_params => header_params,
194
231
  :query_params => query_params,
195
232
  :form_params => form_params,
196
233
  :body => post_body,
197
- :auth_names => auth_names)
234
+ :auth_names => auth_names,
235
+ :return_type => return_type
236
+ )
237
+
238
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
198
239
  if @api_client.config.debugging
199
240
  @api_client.config.logger.debug "API called: ConsoleApi#post_jmx_repository\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
200
241
  end
201
242
  return data, status_code, headers
202
243
  end
244
+
203
245
  # @param [Hash] opts the optional parameters
204
- # @option opts [BOOLEAN] :post
205
- # @option opts [BOOLEAN] :apply
206
- # @option opts [BOOLEAN] :delete
246
+ # @option opts [Boolean] :post
247
+ # @option opts [Boolean] :apply
248
+ # @option opts [Boolean] :delete
207
249
  # @option opts [String] :action
208
250
  # @option opts [String] :location
209
251
  # @option opts [Array<String>] :path
210
252
  # @option opts [Integer] :service_ranking
211
253
  # @option opts [String] :idp_url
212
254
  # @option opts [String] :idp_cert_alias
213
- # @option opts [BOOLEAN] :idp_http_redirect
255
+ # @option opts [Boolean] :idp_http_redirect
214
256
  # @option opts [String] :service_provider_entity_id
215
257
  # @option opts [String] :assertion_consumer_service_url
216
258
  # @option opts [String] :sp_private_key_alias
217
259
  # @option opts [String] :key_store_password
218
260
  # @option opts [String] :default_redirect_url
219
261
  # @option opts [String] :user_id_attribute
220
- # @option opts [BOOLEAN] :use_encryption
221
- # @option opts [BOOLEAN] :create_user
222
- # @option opts [BOOLEAN] :add_group_memberships
262
+ # @option opts [Boolean] :use_encryption
263
+ # @option opts [Boolean] :create_user
264
+ # @option opts [Boolean] :add_group_memberships
223
265
  # @option opts [String] :group_membership_attribute
224
266
  # @option opts [Array<String>] :default_groups
225
267
  # @option opts [String] :name_id_format
226
268
  # @option opts [Array<String>] :synchronize_attributes
227
- # @option opts [BOOLEAN] :handle_logout
269
+ # @option opts [Boolean] :handle_logout
228
270
  # @option opts [String] :logout_url
229
271
  # @option opts [Integer] :clock_tolerance
230
272
  # @option opts [String] :digest_method
@@ -238,37 +280,37 @@ module SwaggerAemClient
238
280
  end
239
281
 
240
282
  # @param [Hash] opts the optional parameters
241
- # @option opts [BOOLEAN] :post
242
- # @option opts [BOOLEAN] :apply
243
- # @option opts [BOOLEAN] :delete
283
+ # @option opts [Boolean] :post
284
+ # @option opts [Boolean] :apply
285
+ # @option opts [Boolean] :delete
244
286
  # @option opts [String] :action
245
287
  # @option opts [String] :location
246
288
  # @option opts [Array<String>] :path
247
289
  # @option opts [Integer] :service_ranking
248
290
  # @option opts [String] :idp_url
249
291
  # @option opts [String] :idp_cert_alias
250
- # @option opts [BOOLEAN] :idp_http_redirect
292
+ # @option opts [Boolean] :idp_http_redirect
251
293
  # @option opts [String] :service_provider_entity_id
252
294
  # @option opts [String] :assertion_consumer_service_url
253
295
  # @option opts [String] :sp_private_key_alias
254
296
  # @option opts [String] :key_store_password
255
297
  # @option opts [String] :default_redirect_url
256
298
  # @option opts [String] :user_id_attribute
257
- # @option opts [BOOLEAN] :use_encryption
258
- # @option opts [BOOLEAN] :create_user
259
- # @option opts [BOOLEAN] :add_group_memberships
299
+ # @option opts [Boolean] :use_encryption
300
+ # @option opts [Boolean] :create_user
301
+ # @option opts [Boolean] :add_group_memberships
260
302
  # @option opts [String] :group_membership_attribute
261
303
  # @option opts [Array<String>] :default_groups
262
304
  # @option opts [String] :name_id_format
263
305
  # @option opts [Array<String>] :synchronize_attributes
264
- # @option opts [BOOLEAN] :handle_logout
306
+ # @option opts [Boolean] :handle_logout
265
307
  # @option opts [String] :logout_url
266
308
  # @option opts [Integer] :clock_tolerance
267
309
  # @option opts [String] :digest_method
268
310
  # @option opts [String] :signature_method
269
311
  # @option opts [String] :user_intermediate_path
270
312
  # @option opts [Array<String>] :propertylist
271
- # @return [Array<(SamlConfigurationInfo, Fixnum, Hash)>] SamlConfigurationInfo data, response status code and response headers
313
+ # @return [Array<(SamlConfigurationInfo, Integer, Hash)>] SamlConfigurationInfo data, response status code and response headers
272
314
  def post_saml_configuration_with_http_info(opts = {})
273
315
  if @api_client.config.debugging
274
316
  @api_client.config.logger.debug 'Calling API: ConsoleApi.post_saml_configuration ...'
@@ -277,7 +319,7 @@ module SwaggerAemClient
277
319
  local_var_path = '/system/console/configMgr/com.adobe.granite.auth.saml.SamlAuthenticationHandler'
278
320
 
279
321
  # query parameters
280
- query_params = {}
322
+ query_params = opts[:query_params] || {}
281
323
  query_params[:'post'] = opts[:'post'] if !opts[:'post'].nil?
282
324
  query_params[:'apply'] = opts[:'apply'] if !opts[:'apply'].nil?
283
325
  query_params[:'delete'] = opts[:'delete'] if !opts[:'delete'].nil?
@@ -310,23 +352,32 @@ module SwaggerAemClient
310
352
  query_params[:'propertylist'] = @api_client.build_collection_param(opts[:'propertylist'], :csv) if !opts[:'propertylist'].nil?
311
353
 
312
354
  # header parameters
313
- header_params = {}
355
+ header_params = opts[:header_params] || {}
314
356
  # HTTP header 'Accept' (if needed)
315
357
  header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
316
358
 
317
359
  # form parameters
318
- form_params = {}
360
+ form_params = opts[:form_params] || {}
319
361
 
320
362
  # http body (model)
321
- post_body = nil
322
- auth_names = ['aemAuth']
323
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
363
+ post_body = opts[:body]
364
+
365
+ # return_type
366
+ return_type = opts[:return_type] || 'SamlConfigurationInfo'
367
+
368
+ # auth_names
369
+ auth_names = opts[:auth_names] || ['aemAuth']
370
+
371
+ new_options = opts.merge(
324
372
  :header_params => header_params,
325
373
  :query_params => query_params,
326
374
  :form_params => form_params,
327
375
  :body => post_body,
328
376
  :auth_names => auth_names,
329
- :return_type => 'SamlConfigurationInfo')
377
+ :return_type => return_type
378
+ )
379
+
380
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
330
381
  if @api_client.config.debugging
331
382
  @api_client.config.logger.debug "API called: ConsoleApi#post_saml_configuration\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
332
383
  end