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,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: 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
- require "uri"
13
+ require 'uri'
14
14
 
15
15
  module SwaggerAemClient
16
16
  class CustomApi
@@ -19,30 +19,25 @@ module SwaggerAemClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
-
23
- #
24
- #
25
22
  # @param [Hash] opts the optional parameters
26
23
  # @option opts [String] :tags
27
24
  # @option opts [BOOLEAN] :combine_tags_or
28
25
  # @return [String]
29
26
  def get_aem_health_check(opts = {})
30
27
  data, _status_code, _headers = get_aem_health_check_with_http_info(opts)
31
- return data
28
+ data
32
29
  end
33
30
 
34
- #
35
- #
36
31
  # @param [Hash] opts the optional parameters
37
32
  # @option opts [String] :tags
38
33
  # @option opts [BOOLEAN] :combine_tags_or
39
34
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
40
35
  def get_aem_health_check_with_http_info(opts = {})
41
36
  if @api_client.config.debugging
42
- @api_client.config.logger.debug "Calling API: CustomApi.get_aem_health_check ..."
37
+ @api_client.config.logger.debug 'Calling API: CustomApi.get_aem_health_check ...'
43
38
  end
44
39
  # resource path
45
- local_var_path = "/system/health"
40
+ local_var_path = '/system/health'
46
41
 
47
42
  # query parameters
48
43
  query_params = {}
@@ -72,30 +67,25 @@ module SwaggerAemClient
72
67
  end
73
68
  return data, status_code, headers
74
69
  end
75
-
76
- #
77
- #
78
70
  # @param [Hash] opts the optional parameters
79
71
  # @option opts [Array<String>] :bundles_ignored
80
72
  # @option opts [String] :bundles_ignored_type_hint
81
73
  # @return [nil]
82
74
  def post_config_aem_health_check_servlet(opts = {})
83
75
  post_config_aem_health_check_servlet_with_http_info(opts)
84
- return nil
76
+ nil
85
77
  end
86
78
 
87
- #
88
- #
89
79
  # @param [Hash] opts the optional parameters
90
80
  # @option opts [Array<String>] :bundles_ignored
91
81
  # @option opts [String] :bundles_ignored_type_hint
92
82
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
93
83
  def post_config_aem_health_check_servlet_with_http_info(opts = {})
94
84
  if @api_client.config.debugging
95
- @api_client.config.logger.debug "Calling API: CustomApi.post_config_aem_health_check_servlet ..."
85
+ @api_client.config.logger.debug 'Calling API: CustomApi.post_config_aem_health_check_servlet ...'
96
86
  end
97
87
  # resource path
98
- local_var_path = "/apps/system/config/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck"
88
+ local_var_path = '/apps/system/config/com.shinesolutions.healthcheck.hc.impl.ActiveBundleHealthCheck'
99
89
 
100
90
  # query parameters
101
91
  query_params = {}
@@ -104,8 +94,6 @@ module SwaggerAemClient
104
94
 
105
95
  # header parameters
106
96
  header_params = {}
107
- # HTTP header 'Accept' (if needed)
108
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
109
97
 
110
98
  # form parameters
111
99
  form_params = {}
@@ -124,30 +112,25 @@ module SwaggerAemClient
124
112
  end
125
113
  return data, status_code, headers
126
114
  end
127
-
128
- #
129
- #
130
115
  # @param [Hash] opts the optional parameters
131
116
  # @option opts [Array<String>] :pwdreset_authorizables
132
117
  # @option opts [String] :pwdreset_authorizables_type_hint
133
118
  # @return [nil]
134
119
  def post_config_aem_password_reset(opts = {})
135
120
  post_config_aem_password_reset_with_http_info(opts)
136
- return nil
121
+ nil
137
122
  end
138
123
 
139
- #
140
- #
141
124
  # @param [Hash] opts the optional parameters
142
125
  # @option opts [Array<String>] :pwdreset_authorizables
143
126
  # @option opts [String] :pwdreset_authorizables_type_hint
144
127
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
145
128
  def post_config_aem_password_reset_with_http_info(opts = {})
146
129
  if @api_client.config.debugging
147
- @api_client.config.logger.debug "Calling API: CustomApi.post_config_aem_password_reset ..."
130
+ @api_client.config.logger.debug 'Calling API: CustomApi.post_config_aem_password_reset ...'
148
131
  end
149
132
  # resource path
150
- local_var_path = "/apps/system/config/com.shinesolutions.aem.passwordreset.Activator"
133
+ local_var_path = '/apps/system/config/com.shinesolutions.aem.passwordreset.Activator'
151
134
 
152
135
  # query parameters
153
136
  query_params = {}
@@ -156,8 +139,6 @@ module SwaggerAemClient
156
139
 
157
140
  # header parameters
158
141
  header_params = {}
159
- # HTTP header 'Accept' (if needed)
160
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
161
142
 
162
143
  # form parameters
163
144
  form_params = {}
@@ -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: 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
- require "uri"
13
+ require 'uri'
14
14
 
15
15
  module SwaggerAemClient
16
16
  class SlingApi
@@ -19,27 +19,22 @@ module SwaggerAemClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
-
23
- #
24
- #
25
22
  # @param runmode
26
23
  # @param name
27
24
  # @param [Hash] opts the optional parameters
28
25
  # @return [nil]
29
26
  def delete_agent(runmode, name, opts = {})
30
27
  delete_agent_with_http_info(runmode, name, opts)
31
- return nil
28
+ nil
32
29
  end
33
30
 
34
- #
35
- #
36
31
  # @param runmode
37
32
  # @param name
38
33
  # @param [Hash] opts the optional parameters
39
34
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
40
35
  def delete_agent_with_http_info(runmode, name, opts = {})
41
36
  if @api_client.config.debugging
42
- @api_client.config.logger.debug "Calling API: SlingApi.delete_agent ..."
37
+ @api_client.config.logger.debug 'Calling API: SlingApi.delete_agent ...'
43
38
  end
44
39
  # verify the required parameter 'runmode' is set
45
40
  if @api_client.config.client_side_validation && runmode.nil?
@@ -50,15 +45,13 @@ module SwaggerAemClient
50
45
  fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.delete_agent"
51
46
  end
52
47
  # resource path
53
- local_var_path = "/etc/replication/agents.{runmode}/{name}".sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
48
+ local_var_path = '/etc/replication/agents.{runmode}/{name}'.sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
54
49
 
55
50
  # query parameters
56
51
  query_params = {}
57
52
 
58
53
  # header parameters
59
54
  header_params = {}
60
- # HTTP header 'Accept' (if needed)
61
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
62
55
 
63
56
  # form parameters
64
57
  form_params = {}
@@ -77,27 +70,22 @@ module SwaggerAemClient
77
70
  end
78
71
  return data, status_code, headers
79
72
  end
80
-
81
- #
82
- #
83
73
  # @param path
84
74
  # @param name
85
75
  # @param [Hash] opts the optional parameters
86
76
  # @return [nil]
87
77
  def delete_node(path, name, opts = {})
88
78
  delete_node_with_http_info(path, name, opts)
89
- return nil
79
+ nil
90
80
  end
91
81
 
92
- #
93
- #
94
82
  # @param path
95
83
  # @param name
96
84
  # @param [Hash] opts the optional parameters
97
85
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
98
86
  def delete_node_with_http_info(path, name, opts = {})
99
87
  if @api_client.config.debugging
100
- @api_client.config.logger.debug "Calling API: SlingApi.delete_node ..."
88
+ @api_client.config.logger.debug 'Calling API: SlingApi.delete_node ...'
101
89
  end
102
90
  # verify the required parameter 'path' is set
103
91
  if @api_client.config.client_side_validation && path.nil?
@@ -108,15 +96,13 @@ module SwaggerAemClient
108
96
  fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.delete_node"
109
97
  end
110
98
  # resource path
111
- local_var_path = "/{path}/{name}".sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
99
+ local_var_path = '/{path}/{name}'.sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
112
100
 
113
101
  # query parameters
114
102
  query_params = {}
115
103
 
116
104
  # header parameters
117
105
  header_params = {}
118
- # HTTP header 'Accept' (if needed)
119
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
120
106
 
121
107
  # form parameters
122
108
  form_params = {}
@@ -135,27 +121,22 @@ module SwaggerAemClient
135
121
  end
136
122
  return data, status_code, headers
137
123
  end
138
-
139
- #
140
- #
141
124
  # @param runmode
142
125
  # @param name
143
126
  # @param [Hash] opts the optional parameters
144
127
  # @return [nil]
145
128
  def get_agent(runmode, name, opts = {})
146
129
  get_agent_with_http_info(runmode, name, opts)
147
- return nil
130
+ nil
148
131
  end
149
132
 
150
- #
151
- #
152
133
  # @param runmode
153
134
  # @param name
154
135
  # @param [Hash] opts the optional parameters
155
136
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
156
137
  def get_agent_with_http_info(runmode, name, opts = {})
157
138
  if @api_client.config.debugging
158
- @api_client.config.logger.debug "Calling API: SlingApi.get_agent ..."
139
+ @api_client.config.logger.debug 'Calling API: SlingApi.get_agent ...'
159
140
  end
160
141
  # verify the required parameter 'runmode' is set
161
142
  if @api_client.config.client_side_validation && runmode.nil?
@@ -166,15 +147,13 @@ module SwaggerAemClient
166
147
  fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_agent"
167
148
  end
168
149
  # resource path
169
- local_var_path = "/etc/replication/agents.{runmode}/{name}".sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
150
+ local_var_path = '/etc/replication/agents.{runmode}/{name}'.sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
170
151
 
171
152
  # query parameters
172
153
  query_params = {}
173
154
 
174
155
  # header parameters
175
156
  header_params = {}
176
- # HTTP header 'Accept' (if needed)
177
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
178
157
 
179
158
  # form parameters
180
159
  form_params = {}
@@ -193,32 +172,27 @@ module SwaggerAemClient
193
172
  end
194
173
  return data, status_code, headers
195
174
  end
196
-
197
- #
198
- #
199
175
  # @param runmode
200
176
  # @param [Hash] opts the optional parameters
201
177
  # @return [String]
202
178
  def get_agents(runmode, opts = {})
203
179
  data, _status_code, _headers = get_agents_with_http_info(runmode, opts)
204
- return data
180
+ data
205
181
  end
206
182
 
207
- #
208
- #
209
183
  # @param runmode
210
184
  # @param [Hash] opts the optional parameters
211
185
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
212
186
  def get_agents_with_http_info(runmode, opts = {})
213
187
  if @api_client.config.debugging
214
- @api_client.config.logger.debug "Calling API: SlingApi.get_agents ..."
188
+ @api_client.config.logger.debug 'Calling API: SlingApi.get_agents ...'
215
189
  end
216
190
  # verify the required parameter 'runmode' is set
217
191
  if @api_client.config.client_side_validation && runmode.nil?
218
192
  fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.get_agents"
219
193
  end
220
194
  # resource path
221
- local_var_path = "/etc/replication/agents.{runmode}.-1.json".sub('{' + 'runmode' + '}', runmode.to_s)
195
+ local_var_path = '/etc/replication/agents.{runmode}.-1.json'.sub('{' + 'runmode' + '}', runmode.to_s)
222
196
 
223
197
  # query parameters
224
198
  query_params = {}
@@ -246,27 +220,22 @@ module SwaggerAemClient
246
220
  end
247
221
  return data, status_code, headers
248
222
  end
249
-
250
- #
251
- #
252
223
  # @param intermediate_path
253
224
  # @param authorizable_id
254
225
  # @param [Hash] opts the optional parameters
255
226
  # @return [KeystoreInfo]
256
227
  def get_authorizable_keystore(intermediate_path, authorizable_id, opts = {})
257
228
  data, _status_code, _headers = get_authorizable_keystore_with_http_info(intermediate_path, authorizable_id, opts)
258
- return data
229
+ data
259
230
  end
260
231
 
261
- #
262
- #
263
232
  # @param intermediate_path
264
233
  # @param authorizable_id
265
234
  # @param [Hash] opts the optional parameters
266
235
  # @return [Array<(KeystoreInfo, Fixnum, Hash)>] KeystoreInfo data, response status code and response headers
267
236
  def get_authorizable_keystore_with_http_info(intermediate_path, authorizable_id, opts = {})
268
237
  if @api_client.config.debugging
269
- @api_client.config.logger.debug "Calling API: SlingApi.get_authorizable_keystore ..."
238
+ @api_client.config.logger.debug 'Calling API: SlingApi.get_authorizable_keystore ...'
270
239
  end
271
240
  # verify the required parameter 'intermediate_path' is set
272
241
  if @api_client.config.client_side_validation && intermediate_path.nil?
@@ -277,7 +246,7 @@ module SwaggerAemClient
277
246
  fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.get_authorizable_keystore"
278
247
  end
279
248
  # resource path
280
- local_var_path = "/{intermediatePath}/{authorizableId}.ks.json".sub('{' + 'intermediatePath' + '}', intermediate_path.to_s).sub('{' + 'authorizableId' + '}', authorizable_id.to_s)
249
+ local_var_path = '/{intermediatePath}/{authorizableId}.ks.json'.sub('{' + 'intermediatePath' + '}', intermediate_path.to_s).sub('{' + 'authorizableId' + '}', authorizable_id.to_s)
281
250
 
282
251
  # query parameters
283
252
  query_params = {}
@@ -305,27 +274,22 @@ module SwaggerAemClient
305
274
  end
306
275
  return data, status_code, headers
307
276
  end
308
-
309
- #
310
- #
311
277
  # @param intermediate_path
312
278
  # @param authorizable_id
313
279
  # @param [Hash] opts the optional parameters
314
280
  # @return [File]
315
281
  def get_keystore(intermediate_path, authorizable_id, opts = {})
316
282
  data, _status_code, _headers = get_keystore_with_http_info(intermediate_path, authorizable_id, opts)
317
- return data
283
+ data
318
284
  end
319
285
 
320
- #
321
- #
322
286
  # @param intermediate_path
323
287
  # @param authorizable_id
324
288
  # @param [Hash] opts the optional parameters
325
289
  # @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
326
290
  def get_keystore_with_http_info(intermediate_path, authorizable_id, opts = {})
327
291
  if @api_client.config.debugging
328
- @api_client.config.logger.debug "Calling API: SlingApi.get_keystore ..."
292
+ @api_client.config.logger.debug 'Calling API: SlingApi.get_keystore ...'
329
293
  end
330
294
  # verify the required parameter 'intermediate_path' is set
331
295
  if @api_client.config.client_side_validation && intermediate_path.nil?
@@ -336,7 +300,7 @@ module SwaggerAemClient
336
300
  fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.get_keystore"
337
301
  end
338
302
  # resource path
339
- local_var_path = "/{intermediatePath}/{authorizableId}/keystore/store.p12".sub('{' + 'intermediatePath' + '}', intermediate_path.to_s).sub('{' + 'authorizableId' + '}', authorizable_id.to_s)
303
+ local_var_path = '/{intermediatePath}/{authorizableId}/keystore/store.p12'.sub('{' + 'intermediatePath' + '}', intermediate_path.to_s).sub('{' + 'authorizableId' + '}', authorizable_id.to_s)
340
304
 
341
305
  # query parameters
342
306
  query_params = {}
@@ -364,27 +328,22 @@ module SwaggerAemClient
364
328
  end
365
329
  return data, status_code, headers
366
330
  end
367
-
368
- #
369
- #
370
331
  # @param path
371
332
  # @param name
372
333
  # @param [Hash] opts the optional parameters
373
334
  # @return [nil]
374
335
  def get_node(path, name, opts = {})
375
336
  get_node_with_http_info(path, name, opts)
376
- return nil
337
+ nil
377
338
  end
378
339
 
379
- #
380
- #
381
340
  # @param path
382
341
  # @param name
383
342
  # @param [Hash] opts the optional parameters
384
343
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
385
344
  def get_node_with_http_info(path, name, opts = {})
386
345
  if @api_client.config.debugging
387
- @api_client.config.logger.debug "Calling API: SlingApi.get_node ..."
346
+ @api_client.config.logger.debug 'Calling API: SlingApi.get_node ...'
388
347
  end
389
348
  # verify the required parameter 'path' is set
390
349
  if @api_client.config.client_side_validation && path.nil?
@@ -395,15 +354,13 @@ module SwaggerAemClient
395
354
  fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_node"
396
355
  end
397
356
  # resource path
398
- local_var_path = "/{path}/{name}".sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
357
+ local_var_path = '/{path}/{name}'.sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
399
358
 
400
359
  # query parameters
401
360
  query_params = {}
402
361
 
403
362
  # header parameters
404
363
  header_params = {}
405
- # HTTP header 'Accept' (if needed)
406
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
407
364
 
408
365
  # form parameters
409
366
  form_params = {}
@@ -422,9 +379,6 @@ module SwaggerAemClient
422
379
  end
423
380
  return data, status_code, headers
424
381
  end
425
-
426
- #
427
- #
428
382
  # @param group
429
383
  # @param name
430
384
  # @param version
@@ -432,11 +386,9 @@ module SwaggerAemClient
432
386
  # @return [File]
433
387
  def get_package(group, name, version, opts = {})
434
388
  data, _status_code, _headers = get_package_with_http_info(group, name, version, opts)
435
- return data
389
+ data
436
390
  end
437
391
 
438
- #
439
- #
440
392
  # @param group
441
393
  # @param name
442
394
  # @param version
@@ -444,7 +396,7 @@ module SwaggerAemClient
444
396
  # @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
445
397
  def get_package_with_http_info(group, name, version, opts = {})
446
398
  if @api_client.config.debugging
447
- @api_client.config.logger.debug "Calling API: SlingApi.get_package ..."
399
+ @api_client.config.logger.debug 'Calling API: SlingApi.get_package ...'
448
400
  end
449
401
  # verify the required parameter 'group' is set
450
402
  if @api_client.config.client_side_validation && group.nil?
@@ -459,7 +411,7 @@ module SwaggerAemClient
459
411
  fail ArgumentError, "Missing the required parameter 'version' when calling SlingApi.get_package"
460
412
  end
461
413
  # resource path
462
- local_var_path = "/etc/packages/{group}/{name}-{version}.zip".sub('{' + 'group' + '}', group.to_s).sub('{' + 'name' + '}', name.to_s).sub('{' + 'version' + '}', version.to_s)
414
+ local_var_path = '/etc/packages/{group}/{name}-{version}.zip'.sub('{' + 'group' + '}', group.to_s).sub('{' + 'name' + '}', name.to_s).sub('{' + 'version' + '}', version.to_s)
463
415
 
464
416
  # query parameters
465
417
  query_params = {}
@@ -487,9 +439,6 @@ module SwaggerAemClient
487
439
  end
488
440
  return data, status_code, headers
489
441
  end
490
-
491
- #
492
- #
493
442
  # @param group
494
443
  # @param name
495
444
  # @param version
@@ -497,11 +446,9 @@ module SwaggerAemClient
497
446
  # @return [String]
498
447
  def get_package_filter(group, name, version, opts = {})
499
448
  data, _status_code, _headers = get_package_filter_with_http_info(group, name, version, opts)
500
- return data
449
+ data
501
450
  end
502
451
 
503
- #
504
- #
505
452
  # @param group
506
453
  # @param name
507
454
  # @param version
@@ -509,7 +456,7 @@ module SwaggerAemClient
509
456
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
510
457
  def get_package_filter_with_http_info(group, name, version, opts = {})
511
458
  if @api_client.config.debugging
512
- @api_client.config.logger.debug "Calling API: SlingApi.get_package_filter ..."
459
+ @api_client.config.logger.debug 'Calling API: SlingApi.get_package_filter ...'
513
460
  end
514
461
  # verify the required parameter 'group' is set
515
462
  if @api_client.config.client_side_validation && group.nil?
@@ -524,7 +471,7 @@ module SwaggerAemClient
524
471
  fail ArgumentError, "Missing the required parameter 'version' when calling SlingApi.get_package_filter"
525
472
  end
526
473
  # resource path
527
- local_var_path = "/etc/packages/{group}/{name}-{version}.zip/jcr:content/vlt:definition/filter.tidy.2.json".sub('{' + 'group' + '}', group.to_s).sub('{' + 'name' + '}', name.to_s).sub('{' + 'version' + '}', version.to_s)
474
+ local_var_path = '/etc/packages/{group}/{name}-{version}.zip/jcr:content/vlt:definition/filter.tidy.2.json'.sub('{' + 'group' + '}', group.to_s).sub('{' + 'name' + '}', name.to_s).sub('{' + 'version' + '}', version.to_s)
528
475
 
529
476
  # query parameters
530
477
  query_params = {}
@@ -552,9 +499,6 @@ module SwaggerAemClient
552
499
  end
553
500
  return data, status_code, headers
554
501
  end
555
-
556
- #
557
- #
558
502
  # @param path
559
503
  # @param p_limit
560
504
  # @param _1_property
@@ -563,11 +507,9 @@ module SwaggerAemClient
563
507
  # @return [String]
564
508
  def get_query(path, p_limit, _1_property, _1_property_value, opts = {})
565
509
  data, _status_code, _headers = get_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts)
566
- return data
510
+ data
567
511
  end
568
512
 
569
- #
570
- #
571
513
  # @param path
572
514
  # @param p_limit
573
515
  # @param _1_property
@@ -576,7 +518,7 @@ module SwaggerAemClient
576
518
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
577
519
  def get_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts = {})
578
520
  if @api_client.config.debugging
579
- @api_client.config.logger.debug "Calling API: SlingApi.get_query ..."
521
+ @api_client.config.logger.debug 'Calling API: SlingApi.get_query ...'
580
522
  end
581
523
  # verify the required parameter 'path' is set
582
524
  if @api_client.config.client_side_validation && path.nil?
@@ -595,7 +537,7 @@ module SwaggerAemClient
595
537
  fail ArgumentError, "Missing the required parameter '_1_property_value' when calling SlingApi.get_query"
596
538
  end
597
539
  # resource path
598
- local_var_path = "/bin/querybuilder.json"
540
+ local_var_path = '/bin/querybuilder.json'
599
541
 
600
542
  # query parameters
601
543
  query_params = {}
@@ -627,26 +569,21 @@ module SwaggerAemClient
627
569
  end
628
570
  return data, status_code, headers
629
571
  end
630
-
631
- #
632
- #
633
572
  # @param [Hash] opts the optional parameters
634
573
  # @return [File]
635
574
  def get_truststore(opts = {})
636
575
  data, _status_code, _headers = get_truststore_with_http_info(opts)
637
- return data
576
+ data
638
577
  end
639
578
 
640
- #
641
- #
642
579
  # @param [Hash] opts the optional parameters
643
580
  # @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
644
581
  def get_truststore_with_http_info(opts = {})
645
582
  if @api_client.config.debugging
646
- @api_client.config.logger.debug "Calling API: SlingApi.get_truststore ..."
583
+ @api_client.config.logger.debug 'Calling API: SlingApi.get_truststore ...'
647
584
  end
648
585
  # resource path
649
- local_var_path = "/etc/truststore/truststore.p12"
586
+ local_var_path = '/etc/truststore/truststore.p12'
650
587
 
651
588
  # query parameters
652
589
  query_params = {}
@@ -674,26 +611,21 @@ module SwaggerAemClient
674
611
  end
675
612
  return data, status_code, headers
676
613
  end
677
-
678
- #
679
- #
680
614
  # @param [Hash] opts the optional parameters
681
615
  # @return [TruststoreInfo]
682
616
  def get_truststore_info(opts = {})
683
617
  data, _status_code, _headers = get_truststore_info_with_http_info(opts)
684
- return data
618
+ data
685
619
  end
686
620
 
687
- #
688
- #
689
621
  # @param [Hash] opts the optional parameters
690
622
  # @return [Array<(TruststoreInfo, Fixnum, Hash)>] TruststoreInfo data, response status code and response headers
691
623
  def get_truststore_info_with_http_info(opts = {})
692
624
  if @api_client.config.debugging
693
- @api_client.config.logger.debug "Calling API: SlingApi.get_truststore_info ..."
625
+ @api_client.config.logger.debug 'Calling API: SlingApi.get_truststore_info ...'
694
626
  end
695
627
  # resource path
696
- local_var_path = "/libs/granite/security/truststore.json"
628
+ local_var_path = '/libs/granite/security/truststore.json'
697
629
 
698
630
  # query parameters
699
631
  query_params = {}
@@ -721,9 +653,6 @@ module SwaggerAemClient
721
653
  end
722
654
  return data, status_code, headers
723
655
  end
724
-
725
- #
726
- #
727
656
  # @param runmode
728
657
  # @param name
729
658
  # @param [Hash] opts the optional parameters
@@ -780,11 +709,9 @@ module SwaggerAemClient
780
709
  # @return [nil]
781
710
  def post_agent(runmode, name, opts = {})
782
711
  post_agent_with_http_info(runmode, name, opts)
783
- return nil
712
+ nil
784
713
  end
785
714
 
786
- #
787
- #
788
715
  # @param runmode
789
716
  # @param name
790
717
  # @param [Hash] opts the optional parameters
@@ -841,7 +768,7 @@ module SwaggerAemClient
841
768
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
842
769
  def post_agent_with_http_info(runmode, name, opts = {})
843
770
  if @api_client.config.debugging
844
- @api_client.config.logger.debug "Calling API: SlingApi.post_agent ..."
771
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_agent ...'
845
772
  end
846
773
  # verify the required parameter 'runmode' is set
847
774
  if @api_client.config.client_side_validation && runmode.nil?
@@ -852,7 +779,7 @@ module SwaggerAemClient
852
779
  fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_agent"
853
780
  end
854
781
  # resource path
855
- local_var_path = "/etc/replication/agents.{runmode}/{name}".sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
782
+ local_var_path = '/etc/replication/agents.{runmode}/{name}'.sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
856
783
 
857
784
  # query parameters
858
785
  query_params = {}
@@ -909,8 +836,6 @@ module SwaggerAemClient
909
836
 
910
837
  # header parameters
911
838
  header_params = {}
912
- # HTTP header 'Accept' (if needed)
913
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
914
839
 
915
840
  # form parameters
916
841
  form_params = {}
@@ -929,9 +854,6 @@ module SwaggerAemClient
929
854
  end
930
855
  return data, status_code, headers
931
856
  end
932
-
933
- #
934
- #
935
857
  # @param intermediate_path
936
858
  # @param authorizable_id
937
859
  # @param [Hash] opts the optional parameters
@@ -950,11 +872,9 @@ module SwaggerAemClient
950
872
  # @return [KeystoreInfo]
951
873
  def post_authorizable_keystore(intermediate_path, authorizable_id, opts = {})
952
874
  data, _status_code, _headers = post_authorizable_keystore_with_http_info(intermediate_path, authorizable_id, opts)
953
- return data
875
+ data
954
876
  end
955
877
 
956
- #
957
- #
958
878
  # @param intermediate_path
959
879
  # @param authorizable_id
960
880
  # @param [Hash] opts the optional parameters
@@ -973,7 +893,7 @@ module SwaggerAemClient
973
893
  # @return [Array<(KeystoreInfo, Fixnum, Hash)>] KeystoreInfo data, response status code and response headers
974
894
  def post_authorizable_keystore_with_http_info(intermediate_path, authorizable_id, opts = {})
975
895
  if @api_client.config.debugging
976
- @api_client.config.logger.debug "Calling API: SlingApi.post_authorizable_keystore ..."
896
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_authorizable_keystore ...'
977
897
  end
978
898
  # verify the required parameter 'intermediate_path' is set
979
899
  if @api_client.config.client_side_validation && intermediate_path.nil?
@@ -984,7 +904,7 @@ module SwaggerAemClient
984
904
  fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.post_authorizable_keystore"
985
905
  end
986
906
  # resource path
987
- local_var_path = "/{intermediatePath}/{authorizableId}.ks.html".sub('{' + 'intermediatePath' + '}', intermediate_path.to_s).sub('{' + 'authorizableId' + '}', authorizable_id.to_s)
907
+ local_var_path = '/{intermediatePath}/{authorizableId}.ks.html'.sub('{' + 'intermediatePath' + '}', intermediate_path.to_s).sub('{' + 'authorizableId' + '}', authorizable_id.to_s)
988
908
 
989
909
  # query parameters
990
910
  query_params = {}
@@ -1007,9 +927,9 @@ module SwaggerAemClient
1007
927
 
1008
928
  # form parameters
1009
929
  form_params = {}
1010
- form_params["cert-chain"] = opts[:'cert_chain'] if !opts[:'cert_chain'].nil?
1011
- form_params["pk"] = opts[:'pk'] if !opts[:'pk'].nil?
1012
- form_params["keyStore"] = opts[:'key_store'] if !opts[:'key_store'].nil?
930
+ form_params['cert-chain'] = opts[:'cert_chain'] if !opts[:'cert_chain'].nil?
931
+ form_params['pk'] = opts[:'pk'] if !opts[:'pk'].nil?
932
+ form_params['keyStore'] = opts[:'key_store'] if !opts[:'key_store'].nil?
1013
933
 
1014
934
  # http body (model)
1015
935
  post_body = nil
@@ -1026,9 +946,6 @@ module SwaggerAemClient
1026
946
  end
1027
947
  return data, status_code, headers
1028
948
  end
1029
-
1030
- #
1031
- #
1032
949
  # @param authorizable_id
1033
950
  # @param intermediate_path
1034
951
  # @param [Hash] opts the optional parameters
@@ -1039,11 +956,9 @@ module SwaggerAemClient
1039
956
  # @return [String]
1040
957
  def post_authorizables(authorizable_id, intermediate_path, opts = {})
1041
958
  data, _status_code, _headers = post_authorizables_with_http_info(authorizable_id, intermediate_path, opts)
1042
- return data
959
+ data
1043
960
  end
1044
961
 
1045
- #
1046
- #
1047
962
  # @param authorizable_id
1048
963
  # @param intermediate_path
1049
964
  # @param [Hash] opts the optional parameters
@@ -1054,7 +969,7 @@ module SwaggerAemClient
1054
969
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1055
970
  def post_authorizables_with_http_info(authorizable_id, intermediate_path, opts = {})
1056
971
  if @api_client.config.debugging
1057
- @api_client.config.logger.debug "Calling API: SlingApi.post_authorizables ..."
972
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_authorizables ...'
1058
973
  end
1059
974
  # verify the required parameter 'authorizable_id' is set
1060
975
  if @api_client.config.client_side_validation && authorizable_id.nil?
@@ -1065,7 +980,7 @@ module SwaggerAemClient
1065
980
  fail ArgumentError, "Missing the required parameter 'intermediate_path' when calling SlingApi.post_authorizables"
1066
981
  end
1067
982
  # resource path
1068
- local_var_path = "/libs/granite/security/post/authorizables"
983
+ local_var_path = '/libs/granite/security/post/authorizables'
1069
984
 
1070
985
  # query parameters
1071
986
  query_params = {}
@@ -1099,9 +1014,6 @@ module SwaggerAemClient
1099
1014
  end
1100
1015
  return data, status_code, headers
1101
1016
  end
1102
-
1103
- #
1104
- #
1105
1017
  # @param [Hash] opts the optional parameters
1106
1018
  # @option opts [String] :key_store_password
1107
1019
  # @option opts [String] :key_store_password_type_hint
@@ -1154,11 +1066,9 @@ module SwaggerAemClient
1154
1066
  # @return [nil]
1155
1067
  def post_config_adobe_granite_saml_authentication_handler(opts = {})
1156
1068
  post_config_adobe_granite_saml_authentication_handler_with_http_info(opts)
1157
- return nil
1069
+ nil
1158
1070
  end
1159
1071
 
1160
- #
1161
- #
1162
1072
  # @param [Hash] opts the optional parameters
1163
1073
  # @option opts [String] :key_store_password
1164
1074
  # @option opts [String] :key_store_password_type_hint
@@ -1211,10 +1121,10 @@ module SwaggerAemClient
1211
1121
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1212
1122
  def post_config_adobe_granite_saml_authentication_handler_with_http_info(opts = {})
1213
1123
  if @api_client.config.debugging
1214
- @api_client.config.logger.debug "Calling API: SlingApi.post_config_adobe_granite_saml_authentication_handler ..."
1124
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_config_adobe_granite_saml_authentication_handler ...'
1215
1125
  end
1216
1126
  # resource path
1217
- local_var_path = "/apps/system/config/com.adobe.granite.auth.saml.SamlAuthenticationHandler.config"
1127
+ local_var_path = '/apps/system/config/com.adobe.granite.auth.saml.SamlAuthenticationHandler.config'
1218
1128
 
1219
1129
  # query parameters
1220
1130
  query_params = {}
@@ -1269,8 +1179,6 @@ module SwaggerAemClient
1269
1179
 
1270
1180
  # header parameters
1271
1181
  header_params = {}
1272
- # HTTP header 'Accept' (if needed)
1273
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
1274
1182
 
1275
1183
  # form parameters
1276
1184
  form_params = {}
@@ -1289,9 +1197,6 @@ module SwaggerAemClient
1289
1197
  end
1290
1198
  return data, status_code, headers
1291
1199
  end
1292
-
1293
- #
1294
- #
1295
1200
  # @param [Hash] opts the optional parameters
1296
1201
  # @option opts [BOOLEAN] :org_apache_felix_https_nio
1297
1202
  # @option opts [String] :org_apache_felix_https_nio_type_hint
@@ -1316,11 +1221,9 @@ module SwaggerAemClient
1316
1221
  # @return [nil]
1317
1222
  def post_config_apache_felix_jetty_based_http_service(opts = {})
1318
1223
  post_config_apache_felix_jetty_based_http_service_with_http_info(opts)
1319
- return nil
1224
+ nil
1320
1225
  end
1321
1226
 
1322
- #
1323
- #
1324
1227
  # @param [Hash] opts the optional parameters
1325
1228
  # @option opts [BOOLEAN] :org_apache_felix_https_nio
1326
1229
  # @option opts [String] :org_apache_felix_https_nio_type_hint
@@ -1345,10 +1248,10 @@ module SwaggerAemClient
1345
1248
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1346
1249
  def post_config_apache_felix_jetty_based_http_service_with_http_info(opts = {})
1347
1250
  if @api_client.config.debugging
1348
- @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_felix_jetty_based_http_service ..."
1251
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_config_apache_felix_jetty_based_http_service ...'
1349
1252
  end
1350
1253
  # resource path
1351
- local_var_path = "/apps/system/config/org.apache.felix.http"
1254
+ local_var_path = '/apps/system/config/org.apache.felix.http'
1352
1255
 
1353
1256
  # query parameters
1354
1257
  query_params = {}
@@ -1375,8 +1278,6 @@ module SwaggerAemClient
1375
1278
 
1376
1279
  # header parameters
1377
1280
  header_params = {}
1378
- # HTTP header 'Accept' (if needed)
1379
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
1380
1281
 
1381
1282
  # form parameters
1382
1283
  form_params = {}
@@ -1395,9 +1296,6 @@ module SwaggerAemClient
1395
1296
  end
1396
1297
  return data, status_code, headers
1397
1298
  end
1398
-
1399
- #
1400
- #
1401
1299
  # @param [Hash] opts the optional parameters
1402
1300
  # @option opts [String] :proxy_host
1403
1301
  # @option opts [String] :proxy_host_type_hint
@@ -1414,11 +1312,9 @@ module SwaggerAemClient
1414
1312
  # @return [nil]
1415
1313
  def post_config_apache_http_components_proxy_configuration(opts = {})
1416
1314
  post_config_apache_http_components_proxy_configuration_with_http_info(opts)
1417
- return nil
1315
+ nil
1418
1316
  end
1419
1317
 
1420
- #
1421
- #
1422
1318
  # @param [Hash] opts the optional parameters
1423
1319
  # @option opts [String] :proxy_host
1424
1320
  # @option opts [String] :proxy_host_type_hint
@@ -1435,10 +1331,10 @@ module SwaggerAemClient
1435
1331
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1436
1332
  def post_config_apache_http_components_proxy_configuration_with_http_info(opts = {})
1437
1333
  if @api_client.config.debugging
1438
- @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_http_components_proxy_configuration ..."
1334
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_config_apache_http_components_proxy_configuration ...'
1439
1335
  end
1440
1336
  # resource path
1441
- local_var_path = "/apps/system/config/org.apache.http.proxyconfigurator.config"
1337
+ local_var_path = '/apps/system/config/org.apache.http.proxyconfigurator.config'
1442
1338
 
1443
1339
  # query parameters
1444
1340
  query_params = {}
@@ -1457,8 +1353,6 @@ module SwaggerAemClient
1457
1353
 
1458
1354
  # header parameters
1459
1355
  header_params = {}
1460
- # HTTP header 'Accept' (if needed)
1461
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
1462
1356
 
1463
1357
  # form parameters
1464
1358
  form_params = {}
@@ -1477,9 +1371,6 @@ module SwaggerAemClient
1477
1371
  end
1478
1372
  return data, status_code, headers
1479
1373
  end
1480
-
1481
- #
1482
- #
1483
1374
  # @param [Hash] opts the optional parameters
1484
1375
  # @option opts [String] :_alias
1485
1376
  # @option opts [String] :alias_type_hint
@@ -1488,11 +1379,9 @@ module SwaggerAemClient
1488
1379
  # @return [nil]
1489
1380
  def post_config_apache_sling_dav_ex_servlet(opts = {})
1490
1381
  post_config_apache_sling_dav_ex_servlet_with_http_info(opts)
1491
- return nil
1382
+ nil
1492
1383
  end
1493
1384
 
1494
- #
1495
- #
1496
1385
  # @param [Hash] opts the optional parameters
1497
1386
  # @option opts [String] :_alias
1498
1387
  # @option opts [String] :alias_type_hint
@@ -1501,10 +1390,10 @@ module SwaggerAemClient
1501
1390
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1502
1391
  def post_config_apache_sling_dav_ex_servlet_with_http_info(opts = {})
1503
1392
  if @api_client.config.debugging
1504
- @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_sling_dav_ex_servlet ..."
1393
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_config_apache_sling_dav_ex_servlet ...'
1505
1394
  end
1506
1395
  # resource path
1507
- local_var_path = "/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet"
1396
+ local_var_path = '/apps/system/config/org.apache.sling.jcr.davex.impl.servlets.SlingDavExServlet'
1508
1397
 
1509
1398
  # query parameters
1510
1399
  query_params = {}
@@ -1515,8 +1404,6 @@ module SwaggerAemClient
1515
1404
 
1516
1405
  # header parameters
1517
1406
  header_params = {}
1518
- # HTTP header 'Accept' (if needed)
1519
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
1520
1407
 
1521
1408
  # form parameters
1522
1409
  form_params = {}
@@ -1535,9 +1422,6 @@ module SwaggerAemClient
1535
1422
  end
1536
1423
  return data, status_code, headers
1537
1424
  end
1538
-
1539
- #
1540
- #
1541
1425
  # @param [Hash] opts the optional parameters
1542
1426
  # @option opts [String] :json_maximumresults
1543
1427
  # @option opts [String] :json_maximumresults_type_hint
@@ -1550,11 +1434,9 @@ module SwaggerAemClient
1550
1434
  # @return [nil]
1551
1435
  def post_config_apache_sling_get_servlet(opts = {})
1552
1436
  post_config_apache_sling_get_servlet_with_http_info(opts)
1553
- return nil
1437
+ nil
1554
1438
  end
1555
1439
 
1556
- #
1557
- #
1558
1440
  # @param [Hash] opts the optional parameters
1559
1441
  # @option opts [String] :json_maximumresults
1560
1442
  # @option opts [String] :json_maximumresults_type_hint
@@ -1567,10 +1449,10 @@ module SwaggerAemClient
1567
1449
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1568
1450
  def post_config_apache_sling_get_servlet_with_http_info(opts = {})
1569
1451
  if @api_client.config.debugging
1570
- @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_sling_get_servlet ..."
1452
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_config_apache_sling_get_servlet ...'
1571
1453
  end
1572
1454
  # resource path
1573
- local_var_path = "/apps/system/config/org.apache.sling.servlets.get.DefaultGetServlet"
1455
+ local_var_path = '/apps/system/config/org.apache.sling.servlets.get.DefaultGetServlet'
1574
1456
 
1575
1457
  # query parameters
1576
1458
  query_params = {}
@@ -1585,8 +1467,6 @@ module SwaggerAemClient
1585
1467
 
1586
1468
  # header parameters
1587
1469
  header_params = {}
1588
- # HTTP header 'Accept' (if needed)
1589
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
1590
1470
 
1591
1471
  # form parameters
1592
1472
  form_params = {}
@@ -1605,9 +1485,6 @@ module SwaggerAemClient
1605
1485
  end
1606
1486
  return data, status_code, headers
1607
1487
  end
1608
-
1609
- #
1610
- #
1611
1488
  # @param [Hash] opts the optional parameters
1612
1489
  # @option opts [BOOLEAN] :allow_empty
1613
1490
  # @option opts [String] :allow_empty_type_hint
@@ -1620,11 +1497,9 @@ module SwaggerAemClient
1620
1497
  # @return [nil]
1621
1498
  def post_config_apache_sling_referrer_filter(opts = {})
1622
1499
  post_config_apache_sling_referrer_filter_with_http_info(opts)
1623
- return nil
1500
+ nil
1624
1501
  end
1625
1502
 
1626
- #
1627
- #
1628
1503
  # @param [Hash] opts the optional parameters
1629
1504
  # @option opts [BOOLEAN] :allow_empty
1630
1505
  # @option opts [String] :allow_empty_type_hint
@@ -1637,10 +1512,10 @@ module SwaggerAemClient
1637
1512
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1638
1513
  def post_config_apache_sling_referrer_filter_with_http_info(opts = {})
1639
1514
  if @api_client.config.debugging
1640
- @api_client.config.logger.debug "Calling API: SlingApi.post_config_apache_sling_referrer_filter ..."
1515
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_config_apache_sling_referrer_filter ...'
1641
1516
  end
1642
1517
  # resource path
1643
- local_var_path = "/apps/system/config/org.apache.sling.security.impl.ReferrerFilter"
1518
+ local_var_path = '/apps/system/config/org.apache.sling.security.impl.ReferrerFilter'
1644
1519
 
1645
1520
  # query parameters
1646
1521
  query_params = {}
@@ -1655,8 +1530,6 @@ module SwaggerAemClient
1655
1530
 
1656
1531
  # header parameters
1657
1532
  header_params = {}
1658
- # HTTP header 'Accept' (if needed)
1659
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
1660
1533
 
1661
1534
  # form parameters
1662
1535
  form_params = {}
@@ -1675,9 +1548,6 @@ module SwaggerAemClient
1675
1548
  end
1676
1549
  return data, status_code, headers
1677
1550
  end
1678
-
1679
- #
1680
- #
1681
1551
  # @param path
1682
1552
  # @param name
1683
1553
  # @param [Hash] opts the optional parameters
@@ -1687,11 +1557,9 @@ module SwaggerAemClient
1687
1557
  # @return [nil]
1688
1558
  def post_node(path, name, opts = {})
1689
1559
  post_node_with_http_info(path, name, opts)
1690
- return nil
1560
+ nil
1691
1561
  end
1692
1562
 
1693
- #
1694
- #
1695
1563
  # @param path
1696
1564
  # @param name
1697
1565
  # @param [Hash] opts the optional parameters
@@ -1701,7 +1569,7 @@ module SwaggerAemClient
1701
1569
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1702
1570
  def post_node_with_http_info(path, name, opts = {})
1703
1571
  if @api_client.config.debugging
1704
- @api_client.config.logger.debug "Calling API: SlingApi.post_node ..."
1572
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_node ...'
1705
1573
  end
1706
1574
  # verify the required parameter 'path' is set
1707
1575
  if @api_client.config.client_side_validation && path.nil?
@@ -1712,7 +1580,7 @@ module SwaggerAemClient
1712
1580
  fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_node"
1713
1581
  end
1714
1582
  # resource path
1715
- local_var_path = "/{path}/{name}".sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
1583
+ local_var_path = '/{path}/{name}'.sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
1716
1584
 
1717
1585
  # query parameters
1718
1586
  query_params = {}
@@ -1721,14 +1589,12 @@ module SwaggerAemClient
1721
1589
 
1722
1590
  # header parameters
1723
1591
  header_params = {}
1724
- # HTTP header 'Accept' (if needed)
1725
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
1726
1592
  # HTTP header 'Content-Type'
1727
1593
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1728
1594
 
1729
1595
  # form parameters
1730
1596
  form_params = {}
1731
- form_params["file"] = opts[:'file'] if !opts[:'file'].nil?
1597
+ form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
1732
1598
 
1733
1599
  # http body (model)
1734
1600
  post_body = nil
@@ -1744,9 +1610,6 @@ module SwaggerAemClient
1744
1610
  end
1745
1611
  return data, status_code, headers
1746
1612
  end
1747
-
1748
- #
1749
- #
1750
1613
  # @param path
1751
1614
  # @param name
1752
1615
  # @param [Hash] opts the optional parameters
@@ -1754,11 +1617,9 @@ module SwaggerAemClient
1754
1617
  # @return [nil]
1755
1618
  def post_node_rw(path, name, opts = {})
1756
1619
  post_node_rw_with_http_info(path, name, opts)
1757
- return nil
1620
+ nil
1758
1621
  end
1759
1622
 
1760
- #
1761
- #
1762
1623
  # @param path
1763
1624
  # @param name
1764
1625
  # @param [Hash] opts the optional parameters
@@ -1766,7 +1627,7 @@ module SwaggerAemClient
1766
1627
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1767
1628
  def post_node_rw_with_http_info(path, name, opts = {})
1768
1629
  if @api_client.config.debugging
1769
- @api_client.config.logger.debug "Calling API: SlingApi.post_node_rw ..."
1630
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_node_rw ...'
1770
1631
  end
1771
1632
  # verify the required parameter 'path' is set
1772
1633
  if @api_client.config.client_side_validation && path.nil?
@@ -1777,7 +1638,7 @@ module SwaggerAemClient
1777
1638
  fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_node_rw"
1778
1639
  end
1779
1640
  # resource path
1780
- local_var_path = "/{path}/{name}.rw.html".sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
1641
+ local_var_path = '/{path}/{name}.rw.html'.sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
1781
1642
 
1782
1643
  # query parameters
1783
1644
  query_params = {}
@@ -1785,8 +1646,6 @@ module SwaggerAemClient
1785
1646
 
1786
1647
  # header parameters
1787
1648
  header_params = {}
1788
- # HTTP header 'Accept' (if needed)
1789
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
1790
1649
 
1791
1650
  # form parameters
1792
1651
  form_params = {}
@@ -1805,9 +1664,6 @@ module SwaggerAemClient
1805
1664
  end
1806
1665
  return data, status_code, headers
1807
1666
  end
1808
-
1809
- #
1810
- #
1811
1667
  # @param path
1812
1668
  # @param jcrprimary_type
1813
1669
  # @param name
@@ -1815,11 +1671,9 @@ module SwaggerAemClient
1815
1671
  # @return [nil]
1816
1672
  def post_path(path, jcrprimary_type, name, opts = {})
1817
1673
  post_path_with_http_info(path, jcrprimary_type, name, opts)
1818
- return nil
1674
+ nil
1819
1675
  end
1820
1676
 
1821
- #
1822
- #
1823
1677
  # @param path
1824
1678
  # @param jcrprimary_type
1825
1679
  # @param name
@@ -1827,7 +1681,7 @@ module SwaggerAemClient
1827
1681
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1828
1682
  def post_path_with_http_info(path, jcrprimary_type, name, opts = {})
1829
1683
  if @api_client.config.debugging
1830
- @api_client.config.logger.debug "Calling API: SlingApi.post_path ..."
1684
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_path ...'
1831
1685
  end
1832
1686
  # verify the required parameter 'path' is set
1833
1687
  if @api_client.config.client_side_validation && path.nil?
@@ -1842,7 +1696,7 @@ module SwaggerAemClient
1842
1696
  fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_path"
1843
1697
  end
1844
1698
  # resource path
1845
- local_var_path = "/{path}/".sub('{' + 'path' + '}', path.to_s)
1699
+ local_var_path = '/{path}/'.sub('{' + 'path' + '}', path.to_s)
1846
1700
 
1847
1701
  # query parameters
1848
1702
  query_params = {}
@@ -1851,8 +1705,6 @@ module SwaggerAemClient
1851
1705
 
1852
1706
  # header parameters
1853
1707
  header_params = {}
1854
- # HTTP header 'Accept' (if needed)
1855
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
1856
1708
 
1857
1709
  # form parameters
1858
1710
  form_params = {}
@@ -1871,9 +1723,6 @@ module SwaggerAemClient
1871
1723
  end
1872
1724
  return data, status_code, headers
1873
1725
  end
1874
-
1875
- #
1876
- #
1877
1726
  # @param path
1878
1727
  # @param p_limit
1879
1728
  # @param _1_property
@@ -1882,11 +1731,9 @@ module SwaggerAemClient
1882
1731
  # @return [String]
1883
1732
  def post_query(path, p_limit, _1_property, _1_property_value, opts = {})
1884
1733
  data, _status_code, _headers = post_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts)
1885
- return data
1734
+ data
1886
1735
  end
1887
1736
 
1888
- #
1889
- #
1890
1737
  # @param path
1891
1738
  # @param p_limit
1892
1739
  # @param _1_property
@@ -1895,7 +1742,7 @@ module SwaggerAemClient
1895
1742
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1896
1743
  def post_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts = {})
1897
1744
  if @api_client.config.debugging
1898
- @api_client.config.logger.debug "Calling API: SlingApi.post_query ..."
1745
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_query ...'
1899
1746
  end
1900
1747
  # verify the required parameter 'path' is set
1901
1748
  if @api_client.config.client_side_validation && path.nil?
@@ -1914,7 +1761,7 @@ module SwaggerAemClient
1914
1761
  fail ArgumentError, "Missing the required parameter '_1_property_value' when calling SlingApi.post_query"
1915
1762
  end
1916
1763
  # resource path
1917
- local_var_path = "/bin/querybuilder.json"
1764
+ local_var_path = '/bin/querybuilder.json'
1918
1765
 
1919
1766
  # query parameters
1920
1767
  query_params = {}
@@ -1946,9 +1793,6 @@ module SwaggerAemClient
1946
1793
  end
1947
1794
  return data, status_code, headers
1948
1795
  end
1949
-
1950
- #
1951
- #
1952
1796
  # @param ignoredeactivated
1953
1797
  # @param onlymodified
1954
1798
  # @param path
@@ -1956,11 +1800,9 @@ module SwaggerAemClient
1956
1800
  # @return [nil]
1957
1801
  def post_tree_activation(ignoredeactivated, onlymodified, path, opts = {})
1958
1802
  post_tree_activation_with_http_info(ignoredeactivated, onlymodified, path, opts)
1959
- return nil
1803
+ nil
1960
1804
  end
1961
1805
 
1962
- #
1963
- #
1964
1806
  # @param ignoredeactivated
1965
1807
  # @param onlymodified
1966
1808
  # @param path
@@ -1968,7 +1810,7 @@ module SwaggerAemClient
1968
1810
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1969
1811
  def post_tree_activation_with_http_info(ignoredeactivated, onlymodified, path, opts = {})
1970
1812
  if @api_client.config.debugging
1971
- @api_client.config.logger.debug "Calling API: SlingApi.post_tree_activation ..."
1813
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_tree_activation ...'
1972
1814
  end
1973
1815
  # verify the required parameter 'ignoredeactivated' is set
1974
1816
  if @api_client.config.client_side_validation && ignoredeactivated.nil?
@@ -1983,7 +1825,7 @@ module SwaggerAemClient
1983
1825
  fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_tree_activation"
1984
1826
  end
1985
1827
  # resource path
1986
- local_var_path = "/etc/replication/treeactivation.html"
1828
+ local_var_path = '/etc/replication/treeactivation.html'
1987
1829
 
1988
1830
  # query parameters
1989
1831
  query_params = {}
@@ -1993,8 +1835,6 @@ module SwaggerAemClient
1993
1835
 
1994
1836
  # header parameters
1995
1837
  header_params = {}
1996
- # HTTP header 'Accept' (if needed)
1997
- header_params['Accept'] = @api_client.select_header_accept(['text/plain'])
1998
1838
 
1999
1839
  # form parameters
2000
1840
  form_params = {}
@@ -2013,9 +1853,6 @@ module SwaggerAemClient
2013
1853
  end
2014
1854
  return data, status_code, headers
2015
1855
  end
2016
-
2017
- #
2018
- #
2019
1856
  # @param [Hash] opts the optional parameters
2020
1857
  # @option opts [String] :operation
2021
1858
  # @option opts [String] :new_password
@@ -2026,11 +1863,9 @@ module SwaggerAemClient
2026
1863
  # @return [String]
2027
1864
  def post_truststore(opts = {})
2028
1865
  data, _status_code, _headers = post_truststore_with_http_info(opts)
2029
- return data
1866
+ data
2030
1867
  end
2031
1868
 
2032
- #
2033
- #
2034
1869
  # @param [Hash] opts the optional parameters
2035
1870
  # @option opts [String] :operation
2036
1871
  # @option opts [String] :new_password
@@ -2041,10 +1876,10 @@ module SwaggerAemClient
2041
1876
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
2042
1877
  def post_truststore_with_http_info(opts = {})
2043
1878
  if @api_client.config.debugging
2044
- @api_client.config.logger.debug "Calling API: SlingApi.post_truststore ..."
1879
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_truststore ...'
2045
1880
  end
2046
1881
  # resource path
2047
- local_var_path = "/libs/granite/security/post/truststore"
1882
+ local_var_path = '/libs/granite/security/post/truststore'
2048
1883
 
2049
1884
  # query parameters
2050
1885
  query_params = {}
@@ -2063,7 +1898,7 @@ module SwaggerAemClient
2063
1898
 
2064
1899
  # form parameters
2065
1900
  form_params = {}
2066
- form_params["certificate"] = opts[:'certificate'] if !opts[:'certificate'].nil?
1901
+ form_params['certificate'] = opts[:'certificate'] if !opts[:'certificate'].nil?
2067
1902
 
2068
1903
  # http body (model)
2069
1904
  post_body = nil
@@ -2080,28 +1915,23 @@ module SwaggerAemClient
2080
1915
  end
2081
1916
  return data, status_code, headers
2082
1917
  end
2083
-
2084
- #
2085
- #
2086
1918
  # @param [Hash] opts the optional parameters
2087
1919
  # @option opts [File] :truststore_p12
2088
1920
  # @return [String]
2089
1921
  def post_truststore_pkcs12(opts = {})
2090
1922
  data, _status_code, _headers = post_truststore_pkcs12_with_http_info(opts)
2091
- return data
1923
+ data
2092
1924
  end
2093
1925
 
2094
- #
2095
- #
2096
1926
  # @param [Hash] opts the optional parameters
2097
1927
  # @option opts [File] :truststore_p12
2098
1928
  # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
2099
1929
  def post_truststore_pkcs12_with_http_info(opts = {})
2100
1930
  if @api_client.config.debugging
2101
- @api_client.config.logger.debug "Calling API: SlingApi.post_truststore_pkcs12 ..."
1931
+ @api_client.config.logger.debug 'Calling API: SlingApi.post_truststore_pkcs12 ...'
2102
1932
  end
2103
1933
  # resource path
2104
- local_var_path = "/etc/truststore"
1934
+ local_var_path = '/etc/truststore'
2105
1935
 
2106
1936
  # query parameters
2107
1937
  query_params = {}
@@ -2115,7 +1945,7 @@ module SwaggerAemClient
2115
1945
 
2116
1946
  # form parameters
2117
1947
  form_params = {}
2118
- form_params["truststore.p12"] = opts[:'truststore_p12'] if !opts[:'truststore_p12'].nil?
1948
+ form_params['truststore.p12'] = opts[:'truststore_p12'] if !opts[:'truststore_p12'].nil?
2119
1949
 
2120
1950
  # http body (model)
2121
1951
  post_body = nil