swagger_aem 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,982 @@
1
+ =begin
2
+ #Adobe Experience Manager (AEM) API
3
+
4
+ #Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ Licensed under the Apache License, Version 2.0 (the "License");
11
+ you may not use this file except in compliance with the License.
12
+ You may obtain a copy of the License at
13
+
14
+ http://www.apache.org/licenses/LICENSE-2.0
15
+
16
+ Unless required by applicable law or agreed to in writing, software
17
+ distributed under the License is distributed on an "AS IS" BASIS,
18
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
+ See the License for the specific language governing permissions and
20
+ limitations under the License.
21
+
22
+ =end
23
+
24
+ require "uri"
25
+
26
+ module SwaggerAemClient
27
+ class SlingApi
28
+ attr_accessor :api_client
29
+
30
+ def initialize(api_client = ApiClient.default)
31
+ @api_client = api_client
32
+ end
33
+
34
+ #
35
+ #
36
+ # @param runmode
37
+ # @param name
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [nil]
40
+ def delete_agent(runmode, name, opts = {})
41
+ delete_agent_with_http_info(runmode, name, opts)
42
+ return nil
43
+ end
44
+
45
+ #
46
+ #
47
+ # @param runmode
48
+ # @param name
49
+ # @param [Hash] opts the optional parameters
50
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
51
+ def delete_agent_with_http_info(runmode, name, opts = {})
52
+ if @api_client.config.debugging
53
+ @api_client.config.logger.debug "Calling API: SlingApi.delete_agent ..."
54
+ end
55
+ # verify the required parameter 'runmode' is set
56
+ fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.delete_agent" if runmode.nil?
57
+ # verify the required parameter 'name' is set
58
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.delete_agent" if name.nil?
59
+ # resource path
60
+ local_var_path = "/etc/replication/agents.{runmode}/{name}".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
61
+
62
+ # query parameters
63
+ query_params = {}
64
+
65
+ # header parameters
66
+ header_params = {}
67
+
68
+ # HTTP header 'Accept' (if needed)
69
+ local_header_accept = ['text/plain']
70
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
71
+
72
+ # HTTP header 'Content-Type'
73
+ local_header_content_type = []
74
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
75
+
76
+ # form parameters
77
+ form_params = {}
78
+
79
+ # http body (model)
80
+ post_body = nil
81
+ auth_names = ['aemAuth']
82
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
83
+ :header_params => header_params,
84
+ :query_params => query_params,
85
+ :form_params => form_params,
86
+ :body => post_body,
87
+ :auth_names => auth_names)
88
+ if @api_client.config.debugging
89
+ @api_client.config.logger.debug "API called: SlingApi#delete_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
90
+ end
91
+ return data, status_code, headers
92
+ end
93
+
94
+ #
95
+ #
96
+ # @param path
97
+ # @param name
98
+ # @param [Hash] opts the optional parameters
99
+ # @return [nil]
100
+ def delete_node(path, name, opts = {})
101
+ delete_node_with_http_info(path, name, opts)
102
+ return nil
103
+ end
104
+
105
+ #
106
+ #
107
+ # @param path
108
+ # @param name
109
+ # @param [Hash] opts the optional parameters
110
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
111
+ def delete_node_with_http_info(path, name, opts = {})
112
+ if @api_client.config.debugging
113
+ @api_client.config.logger.debug "Calling API: SlingApi.delete_node ..."
114
+ end
115
+ # verify the required parameter 'path' is set
116
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.delete_node" if path.nil?
117
+ # verify the required parameter 'name' is set
118
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.delete_node" if name.nil?
119
+ # resource path
120
+ local_var_path = "/{path}/{name}".sub('{format}','json').sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
121
+
122
+ # query parameters
123
+ query_params = {}
124
+
125
+ # header parameters
126
+ header_params = {}
127
+
128
+ # HTTP header 'Accept' (if needed)
129
+ local_header_accept = ['text/plain']
130
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
131
+
132
+ # HTTP header 'Content-Type'
133
+ local_header_content_type = []
134
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
135
+
136
+ # form parameters
137
+ form_params = {}
138
+
139
+ # http body (model)
140
+ post_body = nil
141
+ auth_names = ['aemAuth']
142
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
143
+ :header_params => header_params,
144
+ :query_params => query_params,
145
+ :form_params => form_params,
146
+ :body => post_body,
147
+ :auth_names => auth_names)
148
+ if @api_client.config.debugging
149
+ @api_client.config.logger.debug "API called: SlingApi#delete_node\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
150
+ end
151
+ return data, status_code, headers
152
+ end
153
+
154
+ #
155
+ #
156
+ # @param runmode
157
+ # @param name
158
+ # @param [Hash] opts the optional parameters
159
+ # @return [nil]
160
+ def get_agent(runmode, name, opts = {})
161
+ get_agent_with_http_info(runmode, name, opts)
162
+ return nil
163
+ end
164
+
165
+ #
166
+ #
167
+ # @param runmode
168
+ # @param name
169
+ # @param [Hash] opts the optional parameters
170
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
171
+ def get_agent_with_http_info(runmode, name, opts = {})
172
+ if @api_client.config.debugging
173
+ @api_client.config.logger.debug "Calling API: SlingApi.get_agent ..."
174
+ end
175
+ # verify the required parameter 'runmode' is set
176
+ fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.get_agent" if runmode.nil?
177
+ # verify the required parameter 'name' is set
178
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_agent" if name.nil?
179
+ # resource path
180
+ local_var_path = "/etc/replication/agents.{runmode}/{name}".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
181
+
182
+ # query parameters
183
+ query_params = {}
184
+
185
+ # header parameters
186
+ header_params = {}
187
+
188
+ # HTTP header 'Accept' (if needed)
189
+ local_header_accept = ['text/plain']
190
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
191
+
192
+ # HTTP header 'Content-Type'
193
+ local_header_content_type = []
194
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
195
+
196
+ # form parameters
197
+ form_params = {}
198
+
199
+ # http body (model)
200
+ post_body = nil
201
+ auth_names = ['aemAuth']
202
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
203
+ :header_params => header_params,
204
+ :query_params => query_params,
205
+ :form_params => form_params,
206
+ :body => post_body,
207
+ :auth_names => auth_names)
208
+ if @api_client.config.debugging
209
+ @api_client.config.logger.debug "API called: SlingApi#get_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
210
+ end
211
+ return data, status_code, headers
212
+ end
213
+
214
+ #
215
+ #
216
+ # @param path
217
+ # @param name
218
+ # @param [Hash] opts the optional parameters
219
+ # @return [nil]
220
+ def get_node(path, name, opts = {})
221
+ get_node_with_http_info(path, name, opts)
222
+ return nil
223
+ end
224
+
225
+ #
226
+ #
227
+ # @param path
228
+ # @param name
229
+ # @param [Hash] opts the optional parameters
230
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
231
+ def get_node_with_http_info(path, name, opts = {})
232
+ if @api_client.config.debugging
233
+ @api_client.config.logger.debug "Calling API: SlingApi.get_node ..."
234
+ end
235
+ # verify the required parameter 'path' is set
236
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.get_node" if path.nil?
237
+ # verify the required parameter 'name' is set
238
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_node" if name.nil?
239
+ # resource path
240
+ local_var_path = "/{path}/{name}".sub('{format}','json').sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
241
+
242
+ # query parameters
243
+ query_params = {}
244
+
245
+ # header parameters
246
+ header_params = {}
247
+
248
+ # HTTP header 'Accept' (if needed)
249
+ local_header_accept = ['text/plain']
250
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
251
+
252
+ # HTTP header 'Content-Type'
253
+ local_header_content_type = []
254
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
255
+
256
+ # form parameters
257
+ form_params = {}
258
+
259
+ # http body (model)
260
+ post_body = nil
261
+ auth_names = ['aemAuth']
262
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
263
+ :header_params => header_params,
264
+ :query_params => query_params,
265
+ :form_params => form_params,
266
+ :body => post_body,
267
+ :auth_names => auth_names)
268
+ if @api_client.config.debugging
269
+ @api_client.config.logger.debug "API called: SlingApi#get_node\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
270
+ end
271
+ return data, status_code, headers
272
+ end
273
+
274
+ #
275
+ #
276
+ # @param group
277
+ # @param name
278
+ # @param version
279
+ # @param [Hash] opts the optional parameters
280
+ # @return [File]
281
+ def get_package(group, name, version, opts = {})
282
+ data, _status_code, _headers = get_package_with_http_info(group, name, version, opts)
283
+ return data
284
+ end
285
+
286
+ #
287
+ #
288
+ # @param group
289
+ # @param name
290
+ # @param version
291
+ # @param [Hash] opts the optional parameters
292
+ # @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
293
+ def get_package_with_http_info(group, name, version, opts = {})
294
+ if @api_client.config.debugging
295
+ @api_client.config.logger.debug "Calling API: SlingApi.get_package ..."
296
+ end
297
+ # verify the required parameter 'group' is set
298
+ fail ArgumentError, "Missing the required parameter 'group' when calling SlingApi.get_package" if group.nil?
299
+ # verify the required parameter 'name' is set
300
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_package" if name.nil?
301
+ # verify the required parameter 'version' is set
302
+ fail ArgumentError, "Missing the required parameter 'version' when calling SlingApi.get_package" if version.nil?
303
+ # resource path
304
+ local_var_path = "/etc/packages/{group}/{name}-{version}.zip".sub('{format}','json').sub('{' + 'group' + '}', group.to_s).sub('{' + 'name' + '}', name.to_s).sub('{' + 'version' + '}', version.to_s)
305
+
306
+ # query parameters
307
+ query_params = {}
308
+
309
+ # header parameters
310
+ header_params = {}
311
+
312
+ # HTTP header 'Accept' (if needed)
313
+ local_header_accept = ['application/octet-stream']
314
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
315
+
316
+ # HTTP header 'Content-Type'
317
+ local_header_content_type = []
318
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
319
+
320
+ # form parameters
321
+ form_params = {}
322
+
323
+ # http body (model)
324
+ post_body = nil
325
+ auth_names = ['aemAuth']
326
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
327
+ :header_params => header_params,
328
+ :query_params => query_params,
329
+ :form_params => form_params,
330
+ :body => post_body,
331
+ :auth_names => auth_names,
332
+ :return_type => 'File')
333
+ if @api_client.config.debugging
334
+ @api_client.config.logger.debug "API called: SlingApi#get_package\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
335
+ end
336
+ return data, status_code, headers
337
+ end
338
+
339
+ #
340
+ #
341
+ # @param group
342
+ # @param name
343
+ # @param version
344
+ # @param [Hash] opts the optional parameters
345
+ # @return [String]
346
+ def get_package_filter(group, name, version, opts = {})
347
+ data, _status_code, _headers = get_package_filter_with_http_info(group, name, version, opts)
348
+ return data
349
+ end
350
+
351
+ #
352
+ #
353
+ # @param group
354
+ # @param name
355
+ # @param version
356
+ # @param [Hash] opts the optional parameters
357
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
358
+ def get_package_filter_with_http_info(group, name, version, opts = {})
359
+ if @api_client.config.debugging
360
+ @api_client.config.logger.debug "Calling API: SlingApi.get_package_filter ..."
361
+ end
362
+ # verify the required parameter 'group' is set
363
+ fail ArgumentError, "Missing the required parameter 'group' when calling SlingApi.get_package_filter" if group.nil?
364
+ # verify the required parameter 'name' is set
365
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.get_package_filter" if name.nil?
366
+ # verify the required parameter 'version' is set
367
+ fail ArgumentError, "Missing the required parameter 'version' when calling SlingApi.get_package_filter" if version.nil?
368
+ # resource path
369
+ local_var_path = "/etc/packages/{group}/{name}-{version}.zip/jcr:content/vlt:definition/filter.tidy.2.json".sub('{format}','json').sub('{' + 'group' + '}', group.to_s).sub('{' + 'name' + '}', name.to_s).sub('{' + 'version' + '}', version.to_s)
370
+
371
+ # query parameters
372
+ query_params = {}
373
+
374
+ # header parameters
375
+ header_params = {}
376
+
377
+ # HTTP header 'Accept' (if needed)
378
+ local_header_accept = ['application/json']
379
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
380
+
381
+ # HTTP header 'Content-Type'
382
+ local_header_content_type = []
383
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
384
+
385
+ # form parameters
386
+ form_params = {}
387
+
388
+ # http body (model)
389
+ post_body = nil
390
+ auth_names = ['aemAuth']
391
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
392
+ :header_params => header_params,
393
+ :query_params => query_params,
394
+ :form_params => form_params,
395
+ :body => post_body,
396
+ :auth_names => auth_names,
397
+ :return_type => 'String')
398
+ if @api_client.config.debugging
399
+ @api_client.config.logger.debug "API called: SlingApi#get_package_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
400
+ end
401
+ return data, status_code, headers
402
+ end
403
+
404
+ #
405
+ #
406
+ # @param runmode
407
+ # @param name
408
+ # @param [Hash] opts the optional parameters
409
+ # @option opts [String] :jcrprimary_type
410
+ # @option opts [String] :jcrcontentcqname
411
+ # @option opts [String] :jcrcontentjcrtitle
412
+ # @option opts [String] :jcrcontentjcrdescription
413
+ # @option opts [String] :jcrcontentslingresource_type
414
+ # @option opts [String] :jcrcontenttransport_uri
415
+ # @option opts [String] :jcrcontentlog_level
416
+ # @option opts [BOOLEAN] :jcrcontentno_versioning
417
+ # @option opts [Array<String>] :jcrcontentprotocol_http_headers
418
+ # @option opts [String] :jcrcontentprotocol_http_headers_type_hint
419
+ # @option opts [String] :jcrcontentprotocol_http_method
420
+ # @option opts [String] :jcrcontentretry_delay
421
+ # @option opts [String] :jcrcontentserialization_type
422
+ # @option opts [String] :jcrcontentjcrmixin_types
423
+ # @option opts [BOOLEAN] :jcrcontenttrigger_receive
424
+ # @option opts [BOOLEAN] :jcrcontenttrigger_specific
425
+ # @option opts [String] :jcrcontentcqtemplate
426
+ # @option opts [BOOLEAN] :jcrcontentenabled
427
+ # @return [nil]
428
+ def post_agent(runmode, name, opts = {})
429
+ post_agent_with_http_info(runmode, name, opts)
430
+ return nil
431
+ end
432
+
433
+ #
434
+ #
435
+ # @param runmode
436
+ # @param name
437
+ # @param [Hash] opts the optional parameters
438
+ # @option opts [String] :jcrprimary_type
439
+ # @option opts [String] :jcrcontentcqname
440
+ # @option opts [String] :jcrcontentjcrtitle
441
+ # @option opts [String] :jcrcontentjcrdescription
442
+ # @option opts [String] :jcrcontentslingresource_type
443
+ # @option opts [String] :jcrcontenttransport_uri
444
+ # @option opts [String] :jcrcontentlog_level
445
+ # @option opts [BOOLEAN] :jcrcontentno_versioning
446
+ # @option opts [Array<String>] :jcrcontentprotocol_http_headers
447
+ # @option opts [String] :jcrcontentprotocol_http_headers_type_hint
448
+ # @option opts [String] :jcrcontentprotocol_http_method
449
+ # @option opts [String] :jcrcontentretry_delay
450
+ # @option opts [String] :jcrcontentserialization_type
451
+ # @option opts [String] :jcrcontentjcrmixin_types
452
+ # @option opts [BOOLEAN] :jcrcontenttrigger_receive
453
+ # @option opts [BOOLEAN] :jcrcontenttrigger_specific
454
+ # @option opts [String] :jcrcontentcqtemplate
455
+ # @option opts [BOOLEAN] :jcrcontentenabled
456
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
457
+ def post_agent_with_http_info(runmode, name, opts = {})
458
+ if @api_client.config.debugging
459
+ @api_client.config.logger.debug "Calling API: SlingApi.post_agent ..."
460
+ end
461
+ # verify the required parameter 'runmode' is set
462
+ fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_agent" if runmode.nil?
463
+ # verify the required parameter 'name' is set
464
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_agent" if name.nil?
465
+ # resource path
466
+ local_var_path = "/etc/replication/agents.{runmode}/{name}".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
467
+
468
+ # query parameters
469
+ query_params = {}
470
+ query_params[:'jcr:primaryType'] = opts[:'jcrprimary_type'] if !opts[:'jcrprimary_type'].nil?
471
+ query_params[:'jcr:content/cq:name'] = opts[:'jcrcontentcqname'] if !opts[:'jcrcontentcqname'].nil?
472
+ query_params[:'jcr:content/jcr:title'] = opts[:'jcrcontentjcrtitle'] if !opts[:'jcrcontentjcrtitle'].nil?
473
+ query_params[:'jcr:content/jcr:description'] = opts[:'jcrcontentjcrdescription'] if !opts[:'jcrcontentjcrdescription'].nil?
474
+ query_params[:'jcr:content/sling:resourceType'] = opts[:'jcrcontentslingresource_type'] if !opts[:'jcrcontentslingresource_type'].nil?
475
+ query_params[:'jcr:content/transportUri'] = opts[:'jcrcontenttransport_uri'] if !opts[:'jcrcontenttransport_uri'].nil?
476
+ query_params[:'jcr:content/logLevel'] = opts[:'jcrcontentlog_level'] if !opts[:'jcrcontentlog_level'].nil?
477
+ query_params[:'jcr:content/noVersioning'] = opts[:'jcrcontentno_versioning'] if !opts[:'jcrcontentno_versioning'].nil?
478
+ query_params[:'jcr:content/protocolHTTPHeaders'] = @api_client.build_collection_param(opts[:'jcrcontentprotocol_http_headers'], :multi) if !opts[:'jcrcontentprotocol_http_headers'].nil?
479
+ query_params[:'jcr:content/protocolHTTPHeaders@TypeHint'] = opts[:'jcrcontentprotocol_http_headers_type_hint'] if !opts[:'jcrcontentprotocol_http_headers_type_hint'].nil?
480
+ query_params[:'jcr:content/protocolHTTPMethod'] = opts[:'jcrcontentprotocol_http_method'] if !opts[:'jcrcontentprotocol_http_method'].nil?
481
+ query_params[:'jcr:content/retryDelay'] = opts[:'jcrcontentretry_delay'] if !opts[:'jcrcontentretry_delay'].nil?
482
+ query_params[:'jcr:content/serializationType'] = opts[:'jcrcontentserialization_type'] if !opts[:'jcrcontentserialization_type'].nil?
483
+ query_params[:'jcr:content/jcr:mixinTypes'] = opts[:'jcrcontentjcrmixin_types'] if !opts[:'jcrcontentjcrmixin_types'].nil?
484
+ query_params[:'jcr:content/triggerReceive'] = opts[:'jcrcontenttrigger_receive'] if !opts[:'jcrcontenttrigger_receive'].nil?
485
+ query_params[:'jcr:content/triggerSpecific'] = opts[:'jcrcontenttrigger_specific'] if !opts[:'jcrcontenttrigger_specific'].nil?
486
+ query_params[:'jcr:content/cq:template'] = opts[:'jcrcontentcqtemplate'] if !opts[:'jcrcontentcqtemplate'].nil?
487
+ query_params[:'jcr:content/enabled'] = opts[:'jcrcontentenabled'] if !opts[:'jcrcontentenabled'].nil?
488
+
489
+ # header parameters
490
+ header_params = {}
491
+
492
+ # HTTP header 'Accept' (if needed)
493
+ local_header_accept = ['text/plain']
494
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
495
+
496
+ # HTTP header 'Content-Type'
497
+ local_header_content_type = []
498
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
499
+
500
+ # form parameters
501
+ form_params = {}
502
+
503
+ # http body (model)
504
+ post_body = nil
505
+ auth_names = ['aemAuth']
506
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
507
+ :header_params => header_params,
508
+ :query_params => query_params,
509
+ :form_params => form_params,
510
+ :body => post_body,
511
+ :auth_names => auth_names)
512
+ if @api_client.config.debugging
513
+ @api_client.config.logger.debug "API called: SlingApi#post_agent\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
514
+ end
515
+ return data, status_code, headers
516
+ end
517
+
518
+ #
519
+ #
520
+ # @param authorizable_id
521
+ # @param intermediate_path
522
+ # @param [Hash] opts the optional parameters
523
+ # @option opts [String] :create_user
524
+ # @option opts [String] :create_group
525
+ # @option opts [String] :reppassword
526
+ # @option opts [String] :profilegiven_name
527
+ # @return [String]
528
+ def post_authorizables(authorizable_id, intermediate_path, opts = {})
529
+ data, _status_code, _headers = post_authorizables_with_http_info(authorizable_id, intermediate_path, opts)
530
+ return data
531
+ end
532
+
533
+ #
534
+ #
535
+ # @param authorizable_id
536
+ # @param intermediate_path
537
+ # @param [Hash] opts the optional parameters
538
+ # @option opts [String] :create_user
539
+ # @option opts [String] :create_group
540
+ # @option opts [String] :reppassword
541
+ # @option opts [String] :profilegiven_name
542
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
543
+ def post_authorizables_with_http_info(authorizable_id, intermediate_path, opts = {})
544
+ if @api_client.config.debugging
545
+ @api_client.config.logger.debug "Calling API: SlingApi.post_authorizables ..."
546
+ end
547
+ # verify the required parameter 'authorizable_id' is set
548
+ fail ArgumentError, "Missing the required parameter 'authorizable_id' when calling SlingApi.post_authorizables" if authorizable_id.nil?
549
+ # verify the required parameter 'intermediate_path' is set
550
+ fail ArgumentError, "Missing the required parameter 'intermediate_path' when calling SlingApi.post_authorizables" if intermediate_path.nil?
551
+ # resource path
552
+ local_var_path = "/libs/granite/security/post/authorizables".sub('{format}','json')
553
+
554
+ # query parameters
555
+ query_params = {}
556
+ query_params[:'authorizableId'] = authorizable_id
557
+ query_params[:'intermediatePath'] = intermediate_path
558
+ query_params[:'createUser'] = opts[:'create_user'] if !opts[:'create_user'].nil?
559
+ query_params[:'createGroup'] = opts[:'create_group'] if !opts[:'create_group'].nil?
560
+ query_params[:'rep:password'] = opts[:'reppassword'] if !opts[:'reppassword'].nil?
561
+ query_params[:'profile/givenName'] = opts[:'profilegiven_name'] if !opts[:'profilegiven_name'].nil?
562
+
563
+ # header parameters
564
+ header_params = {}
565
+
566
+ # HTTP header 'Accept' (if needed)
567
+ local_header_accept = ['text/html']
568
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
569
+
570
+ # HTTP header 'Content-Type'
571
+ local_header_content_type = []
572
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
573
+
574
+ # form parameters
575
+ form_params = {}
576
+
577
+ # http body (model)
578
+ post_body = nil
579
+ auth_names = ['aemAuth']
580
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
581
+ :header_params => header_params,
582
+ :query_params => query_params,
583
+ :form_params => form_params,
584
+ :body => post_body,
585
+ :auth_names => auth_names,
586
+ :return_type => 'String')
587
+ if @api_client.config.debugging
588
+ @api_client.config.logger.debug "API called: SlingApi#post_authorizables\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
589
+ end
590
+ return data, status_code, headers
591
+ end
592
+
593
+ #
594
+ #
595
+ # @param runmode
596
+ # @param name
597
+ # @param [Hash] opts the optional parameters
598
+ # @option opts [BOOLEAN] :org_apache_felix_https_nio
599
+ # @option opts [String] :org_apache_felix_https_nio_type_hint
600
+ # @option opts [String] :org_apache_felix_https_keystore
601
+ # @option opts [String] :org_apache_felix_https_keystore_type_hint
602
+ # @option opts [String] :org_apache_felix_https_keystore_password
603
+ # @option opts [String] :org_apache_felix_https_keystore_password_type_hint
604
+ # @option opts [String] :org_apache_felix_https_keystore_key
605
+ # @option opts [String] :org_apache_felix_https_keystore_key_type_hint
606
+ # @option opts [String] :org_apache_felix_https_keystore_key_password
607
+ # @option opts [String] :org_apache_felix_https_keystore_key_password_type_hint
608
+ # @option opts [String] :org_apache_felix_https_truststore
609
+ # @option opts [String] :org_apache_felix_https_truststore_type_hint
610
+ # @option opts [String] :org_apache_felix_https_truststore_password
611
+ # @option opts [String] :org_apache_felix_https_truststore_password_type_hint
612
+ # @option opts [String] :org_apache_felix_https_clientcertificate
613
+ # @option opts [String] :org_apache_felix_https_clientcertificate_type_hint
614
+ # @option opts [String] :org_apache_felix_https_enable
615
+ # @option opts [String] :org_apache_felix_https_enable_type_hint
616
+ # @option opts [String] :org_osgi_service_http_port_secure
617
+ # @option opts [String] :org_osgi_service_http_port_secure_type_hint
618
+ # @return [nil]
619
+ def post_config(runmode, name, opts = {})
620
+ post_config_with_http_info(runmode, name, opts)
621
+ return nil
622
+ end
623
+
624
+ #
625
+ #
626
+ # @param runmode
627
+ # @param name
628
+ # @param [Hash] opts the optional parameters
629
+ # @option opts [BOOLEAN] :org_apache_felix_https_nio
630
+ # @option opts [String] :org_apache_felix_https_nio_type_hint
631
+ # @option opts [String] :org_apache_felix_https_keystore
632
+ # @option opts [String] :org_apache_felix_https_keystore_type_hint
633
+ # @option opts [String] :org_apache_felix_https_keystore_password
634
+ # @option opts [String] :org_apache_felix_https_keystore_password_type_hint
635
+ # @option opts [String] :org_apache_felix_https_keystore_key
636
+ # @option opts [String] :org_apache_felix_https_keystore_key_type_hint
637
+ # @option opts [String] :org_apache_felix_https_keystore_key_password
638
+ # @option opts [String] :org_apache_felix_https_keystore_key_password_type_hint
639
+ # @option opts [String] :org_apache_felix_https_truststore
640
+ # @option opts [String] :org_apache_felix_https_truststore_type_hint
641
+ # @option opts [String] :org_apache_felix_https_truststore_password
642
+ # @option opts [String] :org_apache_felix_https_truststore_password_type_hint
643
+ # @option opts [String] :org_apache_felix_https_clientcertificate
644
+ # @option opts [String] :org_apache_felix_https_clientcertificate_type_hint
645
+ # @option opts [String] :org_apache_felix_https_enable
646
+ # @option opts [String] :org_apache_felix_https_enable_type_hint
647
+ # @option opts [String] :org_osgi_service_http_port_secure
648
+ # @option opts [String] :org_osgi_service_http_port_secure_type_hint
649
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
650
+ def post_config_with_http_info(runmode, name, opts = {})
651
+ if @api_client.config.debugging
652
+ @api_client.config.logger.debug "Calling API: SlingApi.post_config ..."
653
+ end
654
+ # verify the required parameter 'runmode' is set
655
+ fail ArgumentError, "Missing the required parameter 'runmode' when calling SlingApi.post_config" if runmode.nil?
656
+ # verify the required parameter 'name' is set
657
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_config" if name.nil?
658
+ # resource path
659
+ local_var_path = "/apps/system/config.{runmode}/{name}".sub('{format}','json').sub('{' + 'runmode' + '}', runmode.to_s).sub('{' + 'name' + '}', name.to_s)
660
+
661
+ # query parameters
662
+ query_params = {}
663
+ query_params[:'org.apache.felix.https.nio'] = opts[:'org_apache_felix_https_nio'] if !opts[:'org_apache_felix_https_nio'].nil?
664
+ query_params[:'org.apache.felix.https.nio@TypeHint'] = opts[:'org_apache_felix_https_nio_type_hint'] if !opts[:'org_apache_felix_https_nio_type_hint'].nil?
665
+ query_params[:'org.apache.felix.https.keystore'] = opts[:'org_apache_felix_https_keystore'] if !opts[:'org_apache_felix_https_keystore'].nil?
666
+ query_params[:'org.apache.felix.https.keystore@TypeHint'] = opts[:'org_apache_felix_https_keystore_type_hint'] if !opts[:'org_apache_felix_https_keystore_type_hint'].nil?
667
+ query_params[:'org.apache.felix.https.keystore.password'] = opts[:'org_apache_felix_https_keystore_password'] if !opts[:'org_apache_felix_https_keystore_password'].nil?
668
+ query_params[:'org.apache.felix.https.keystore.password@TypeHint'] = opts[:'org_apache_felix_https_keystore_password_type_hint'] if !opts[:'org_apache_felix_https_keystore_password_type_hint'].nil?
669
+ query_params[:'org.apache.felix.https.keystore.key'] = opts[:'org_apache_felix_https_keystore_key'] if !opts[:'org_apache_felix_https_keystore_key'].nil?
670
+ query_params[:'org.apache.felix.https.keystore.key@TypeHint'] = opts[:'org_apache_felix_https_keystore_key_type_hint'] if !opts[:'org_apache_felix_https_keystore_key_type_hint'].nil?
671
+ query_params[:'org.apache.felix.https.keystore.key.password'] = opts[:'org_apache_felix_https_keystore_key_password'] if !opts[:'org_apache_felix_https_keystore_key_password'].nil?
672
+ query_params[:'org.apache.felix.https.keystore.key.password@TypeHint'] = opts[:'org_apache_felix_https_keystore_key_password_type_hint'] if !opts[:'org_apache_felix_https_keystore_key_password_type_hint'].nil?
673
+ query_params[:'org.apache.felix.https.truststore'] = opts[:'org_apache_felix_https_truststore'] if !opts[:'org_apache_felix_https_truststore'].nil?
674
+ query_params[:'org.apache.felix.https.truststore@TypeHint'] = opts[:'org_apache_felix_https_truststore_type_hint'] if !opts[:'org_apache_felix_https_truststore_type_hint'].nil?
675
+ query_params[:'org.apache.felix.https.truststore.password'] = opts[:'org_apache_felix_https_truststore_password'] if !opts[:'org_apache_felix_https_truststore_password'].nil?
676
+ query_params[:'org.apache.felix.https.truststore.password@TypeHint'] = opts[:'org_apache_felix_https_truststore_password_type_hint'] if !opts[:'org_apache_felix_https_truststore_password_type_hint'].nil?
677
+ query_params[:'org.apache.felix.https.clientcertificate'] = opts[:'org_apache_felix_https_clientcertificate'] if !opts[:'org_apache_felix_https_clientcertificate'].nil?
678
+ query_params[:'org.apache.felix.https.clientcertificate@TypeHint'] = opts[:'org_apache_felix_https_clientcertificate_type_hint'] if !opts[:'org_apache_felix_https_clientcertificate_type_hint'].nil?
679
+ query_params[:'org.apache.felix.https.enable'] = opts[:'org_apache_felix_https_enable'] if !opts[:'org_apache_felix_https_enable'].nil?
680
+ query_params[:'org.apache.felix.https.enable@TypeHint'] = opts[:'org_apache_felix_https_enable_type_hint'] if !opts[:'org_apache_felix_https_enable_type_hint'].nil?
681
+ query_params[:'org.osgi.service.http.port.secure'] = opts[:'org_osgi_service_http_port_secure'] if !opts[:'org_osgi_service_http_port_secure'].nil?
682
+ query_params[:'org.osgi.service.http.port.secure@TypeHint'] = opts[:'org_osgi_service_http_port_secure_type_hint'] if !opts[:'org_osgi_service_http_port_secure_type_hint'].nil?
683
+
684
+ # header parameters
685
+ header_params = {}
686
+
687
+ # HTTP header 'Accept' (if needed)
688
+ local_header_accept = ['text/plain']
689
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
690
+
691
+ # HTTP header 'Content-Type'
692
+ local_header_content_type = []
693
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
694
+
695
+ # form parameters
696
+ form_params = {}
697
+
698
+ # http body (model)
699
+ post_body = nil
700
+ auth_names = ['aemAuth']
701
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
702
+ :header_params => header_params,
703
+ :query_params => query_params,
704
+ :form_params => form_params,
705
+ :body => post_body,
706
+ :auth_names => auth_names)
707
+ if @api_client.config.debugging
708
+ @api_client.config.logger.debug "API called: SlingApi#post_config\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
709
+ end
710
+ return data, status_code, headers
711
+ end
712
+
713
+ #
714
+ #
715
+ # @param path
716
+ # @param name
717
+ # @param [Hash] opts the optional parameters
718
+ # @option opts [String] :add_members
719
+ # @return [nil]
720
+ def post_node_rw(path, name, opts = {})
721
+ post_node_rw_with_http_info(path, name, opts)
722
+ return nil
723
+ end
724
+
725
+ #
726
+ #
727
+ # @param path
728
+ # @param name
729
+ # @param [Hash] opts the optional parameters
730
+ # @option opts [String] :add_members
731
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
732
+ def post_node_rw_with_http_info(path, name, opts = {})
733
+ if @api_client.config.debugging
734
+ @api_client.config.logger.debug "Calling API: SlingApi.post_node_rw ..."
735
+ end
736
+ # verify the required parameter 'path' is set
737
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_node_rw" if path.nil?
738
+ # verify the required parameter 'name' is set
739
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_node_rw" if name.nil?
740
+ # resource path
741
+ local_var_path = "/{path}/{name}.rw.html".sub('{format}','json').sub('{' + 'path' + '}', path.to_s).sub('{' + 'name' + '}', name.to_s)
742
+
743
+ # query parameters
744
+ query_params = {}
745
+ query_params[:'addMembers'] = opts[:'add_members'] if !opts[:'add_members'].nil?
746
+
747
+ # header parameters
748
+ header_params = {}
749
+
750
+ # HTTP header 'Accept' (if needed)
751
+ local_header_accept = ['text/plain']
752
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
753
+
754
+ # HTTP header 'Content-Type'
755
+ local_header_content_type = []
756
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
757
+
758
+ # form parameters
759
+ form_params = {}
760
+
761
+ # http body (model)
762
+ post_body = nil
763
+ auth_names = ['aemAuth']
764
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
765
+ :header_params => header_params,
766
+ :query_params => query_params,
767
+ :form_params => form_params,
768
+ :body => post_body,
769
+ :auth_names => auth_names)
770
+ if @api_client.config.debugging
771
+ @api_client.config.logger.debug "API called: SlingApi#post_node_rw\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
772
+ end
773
+ return data, status_code, headers
774
+ end
775
+
776
+ #
777
+ #
778
+ # @param path
779
+ # @param jcrprimary_type
780
+ # @param name
781
+ # @param [Hash] opts the optional parameters
782
+ # @return [nil]
783
+ def post_path(path, jcrprimary_type, name, opts = {})
784
+ post_path_with_http_info(path, jcrprimary_type, name, opts)
785
+ return nil
786
+ end
787
+
788
+ #
789
+ #
790
+ # @param path
791
+ # @param jcrprimary_type
792
+ # @param name
793
+ # @param [Hash] opts the optional parameters
794
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
795
+ def post_path_with_http_info(path, jcrprimary_type, name, opts = {})
796
+ if @api_client.config.debugging
797
+ @api_client.config.logger.debug "Calling API: SlingApi.post_path ..."
798
+ end
799
+ # verify the required parameter 'path' is set
800
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_path" if path.nil?
801
+ # verify the required parameter 'jcrprimary_type' is set
802
+ fail ArgumentError, "Missing the required parameter 'jcrprimary_type' when calling SlingApi.post_path" if jcrprimary_type.nil?
803
+ # verify the required parameter 'name' is set
804
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlingApi.post_path" if name.nil?
805
+ # resource path
806
+ local_var_path = "/{path}/".sub('{format}','json').sub('{' + 'path' + '}', path.to_s)
807
+
808
+ # query parameters
809
+ query_params = {}
810
+ query_params[:'jcr:primaryType'] = jcrprimary_type
811
+ query_params[:':name'] = name
812
+
813
+ # header parameters
814
+ header_params = {}
815
+
816
+ # HTTP header 'Accept' (if needed)
817
+ local_header_accept = ['text/plain']
818
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
819
+
820
+ # HTTP header 'Content-Type'
821
+ local_header_content_type = []
822
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
823
+
824
+ # form parameters
825
+ form_params = {}
826
+
827
+ # http body (model)
828
+ post_body = nil
829
+ auth_names = ['aemAuth']
830
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
831
+ :header_params => header_params,
832
+ :query_params => query_params,
833
+ :form_params => form_params,
834
+ :body => post_body,
835
+ :auth_names => auth_names)
836
+ if @api_client.config.debugging
837
+ @api_client.config.logger.debug "API called: SlingApi#post_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
838
+ end
839
+ return data, status_code, headers
840
+ end
841
+
842
+ #
843
+ #
844
+ # @param path
845
+ # @param p_limit
846
+ # @param _1_property
847
+ # @param _1_property_value
848
+ # @param [Hash] opts the optional parameters
849
+ # @return [String]
850
+ def post_query(path, p_limit, _1_property, _1_property_value, opts = {})
851
+ data, _status_code, _headers = post_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts)
852
+ return data
853
+ end
854
+
855
+ #
856
+ #
857
+ # @param path
858
+ # @param p_limit
859
+ # @param _1_property
860
+ # @param _1_property_value
861
+ # @param [Hash] opts the optional parameters
862
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
863
+ def post_query_with_http_info(path, p_limit, _1_property, _1_property_value, opts = {})
864
+ if @api_client.config.debugging
865
+ @api_client.config.logger.debug "Calling API: SlingApi.post_query ..."
866
+ end
867
+ # verify the required parameter 'path' is set
868
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_query" if path.nil?
869
+ # verify the required parameter 'p_limit' is set
870
+ fail ArgumentError, "Missing the required parameter 'p_limit' when calling SlingApi.post_query" if p_limit.nil?
871
+ # verify the required parameter '_1_property' is set
872
+ fail ArgumentError, "Missing the required parameter '_1_property' when calling SlingApi.post_query" if _1_property.nil?
873
+ # verify the required parameter '_1_property_value' is set
874
+ fail ArgumentError, "Missing the required parameter '_1_property_value' when calling SlingApi.post_query" if _1_property_value.nil?
875
+ # resource path
876
+ local_var_path = "/bin/querybuilder.json".sub('{format}','json')
877
+
878
+ # query parameters
879
+ query_params = {}
880
+ query_params[:'path'] = path
881
+ query_params[:'p.limit'] = p_limit
882
+ query_params[:'1_property'] = _1_property
883
+ query_params[:'1_property.value'] = _1_property_value
884
+
885
+ # header parameters
886
+ header_params = {}
887
+
888
+ # HTTP header 'Accept' (if needed)
889
+ local_header_accept = ['application/json']
890
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
891
+
892
+ # HTTP header 'Content-Type'
893
+ local_header_content_type = []
894
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
895
+
896
+ # form parameters
897
+ form_params = {}
898
+
899
+ # http body (model)
900
+ post_body = nil
901
+ auth_names = ['aemAuth']
902
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
903
+ :header_params => header_params,
904
+ :query_params => query_params,
905
+ :form_params => form_params,
906
+ :body => post_body,
907
+ :auth_names => auth_names,
908
+ :return_type => 'String')
909
+ if @api_client.config.debugging
910
+ @api_client.config.logger.debug "API called: SlingApi#post_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
911
+ end
912
+ return data, status_code, headers
913
+ end
914
+
915
+ #
916
+ #
917
+ # @param ignoredeactivated
918
+ # @param onlymodified
919
+ # @param path
920
+ # @param [Hash] opts the optional parameters
921
+ # @return [nil]
922
+ def post_tree_activation(ignoredeactivated, onlymodified, path, opts = {})
923
+ post_tree_activation_with_http_info(ignoredeactivated, onlymodified, path, opts)
924
+ return nil
925
+ end
926
+
927
+ #
928
+ #
929
+ # @param ignoredeactivated
930
+ # @param onlymodified
931
+ # @param path
932
+ # @param [Hash] opts the optional parameters
933
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
934
+ def post_tree_activation_with_http_info(ignoredeactivated, onlymodified, path, opts = {})
935
+ if @api_client.config.debugging
936
+ @api_client.config.logger.debug "Calling API: SlingApi.post_tree_activation ..."
937
+ end
938
+ # verify the required parameter 'ignoredeactivated' is set
939
+ fail ArgumentError, "Missing the required parameter 'ignoredeactivated' when calling SlingApi.post_tree_activation" if ignoredeactivated.nil?
940
+ # verify the required parameter 'onlymodified' is set
941
+ fail ArgumentError, "Missing the required parameter 'onlymodified' when calling SlingApi.post_tree_activation" if onlymodified.nil?
942
+ # verify the required parameter 'path' is set
943
+ fail ArgumentError, "Missing the required parameter 'path' when calling SlingApi.post_tree_activation" if path.nil?
944
+ # resource path
945
+ local_var_path = "/etc/replication/treeactivation.html".sub('{format}','json')
946
+
947
+ # query parameters
948
+ query_params = {}
949
+ query_params[:'ignoredeactivated'] = ignoredeactivated
950
+ query_params[:'onlymodified'] = onlymodified
951
+ query_params[:'path'] = path
952
+
953
+ # header parameters
954
+ header_params = {}
955
+
956
+ # HTTP header 'Accept' (if needed)
957
+ local_header_accept = ['text/plain']
958
+ local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
959
+
960
+ # HTTP header 'Content-Type'
961
+ local_header_content_type = []
962
+ header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
963
+
964
+ # form parameters
965
+ form_params = {}
966
+
967
+ # http body (model)
968
+ post_body = nil
969
+ auth_names = ['aemAuth']
970
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
971
+ :header_params => header_params,
972
+ :query_params => query_params,
973
+ :form_params => form_params,
974
+ :body => post_body,
975
+ :auth_names => auth_names)
976
+ if @api_client.config.debugging
977
+ @api_client.config.logger.debug "API called: SlingApi#post_tree_activation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
978
+ end
979
+ return data, status_code, headers
980
+ end
981
+ end
982
+ end