@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | $url = '/_xpack'; |
| 55 | 55 | $method = 'GET'; |
| 56 | 56 | |
| 57 | - $url = $this->addQueryString($url, $params, ['categories','accept_enterprise','pretty','human','error_trace','source','filter_path']); |
|
| 57 | + $url = $this->addQueryString($url, $params, ['categories', 'accept_enterprise', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 58 | 58 | $headers = [ |
| 59 | 59 | 'Accept' => 'application/json', |
| 60 | 60 | ]; |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | $url = '/_xpack/usage'; |
| 88 | 88 | $method = 'GET'; |
| 89 | 89 | |
| 90 | - $url = $this->addQueryString($url, $params, ['master_timeout','pretty','human','error_trace','source','filter_path']); |
|
| 90 | + $url = $this->addQueryString($url, $params, ['master_timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 91 | 91 | $headers = [ |
| 92 | 92 | 'Accept' => 'application/json', |
| 93 | 93 | ]; |
@@ -26,8 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * @generated This file is generated, please do not edit |
| 28 | 28 | */ |
| 29 | -class Xpack extends AbstractEndpoint |
|
| 30 | -{ |
|
| 29 | +class Xpack extends AbstractEndpoint { |
|
| 31 | 30 | /** |
| 32 | 31 | * Retrieves information about the installed X-Pack features. |
| 33 | 32 | * |
@@ -56,10 +56,10 @@ discard block |
||
| 56 | 56 | public function globalCheckpoints(array $params = []) |
| 57 | 57 | { |
| 58 | 58 | $this->checkRequiredParameters(['index'], $params); |
| 59 | - $url = '/' . $this->encode($params['index']) . '/_fleet/global_checkpoints'; |
|
| 59 | + $url = '/'.$this->encode($params['index']).'/_fleet/global_checkpoints'; |
|
| 60 | 60 | $method = 'GET'; |
| 61 | 61 | |
| 62 | - $url = $this->addQueryString($url, $params, ['wait_for_advance','wait_for_index','checkpoints','timeout','pretty','human','error_trace','source','filter_path']); |
|
| 62 | + $url = $this->addQueryString($url, $params, ['wait_for_advance', 'wait_for_index', 'checkpoints', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 63 | 63 | $headers = [ |
| 64 | 64 | 'Accept' => 'application/json', |
| 65 | 65 | 'Content-Type' => 'application/json', |
@@ -93,13 +93,13 @@ discard block |
||
| 93 | 93 | { |
| 94 | 94 | $this->checkRequiredParameters(['body'], $params); |
| 95 | 95 | if (isset($params['index'])) { |
| 96 | - $url = '/' . $this->encode($params['index']) . '/_fleet/_fleet_msearch'; |
|
| 96 | + $url = '/'.$this->encode($params['index']).'/_fleet/_fleet_msearch'; |
|
| 97 | 97 | $method = empty($params['body']) ? 'GET' : 'POST'; |
| 98 | 98 | } else { |
| 99 | 99 | $url = '/_fleet/_fleet_msearch'; |
| 100 | 100 | $method = empty($params['body']) ? 'GET' : 'POST'; |
| 101 | 101 | } |
| 102 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 102 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 103 | 103 | $headers = [ |
| 104 | 104 | 'Accept' => 'application/json', |
| 105 | 105 | 'Content-Type' => 'application/x-ndjson', |
@@ -136,10 +136,10 @@ discard block |
||
| 136 | 136 | public function search(array $params = []) |
| 137 | 137 | { |
| 138 | 138 | $this->checkRequiredParameters(['index'], $params); |
| 139 | - $url = '/' . $this->encode($params['index']) . '/_fleet/_fleet_search'; |
|
| 139 | + $url = '/'.$this->encode($params['index']).'/_fleet/_fleet_search'; |
|
| 140 | 140 | $method = empty($params['body']) ? 'GET' : 'POST'; |
| 141 | 141 | |
| 142 | - $url = $this->addQueryString($url, $params, ['wait_for_checkpoints','wait_for_checkpoints_timeout','allow_partial_search_results','pretty','human','error_trace','source','filter_path']); |
|
| 142 | + $url = $this->addQueryString($url, $params, ['wait_for_checkpoints', 'wait_for_checkpoints_timeout', 'allow_partial_search_results', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 143 | 143 | $headers = [ |
| 144 | 144 | 'Accept' => 'application/json', |
| 145 | 145 | 'Content-Type' => 'application/json', |
@@ -26,8 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * @generated This file is generated, please do not edit |
| 28 | 28 | */ |
| 29 | -class Fleet extends AbstractEndpoint |
|
| 30 | -{ |
|
| 29 | +class Fleet extends AbstractEndpoint { |
|
| 31 | 30 | /** |
| 32 | 31 | * Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project. |
| 33 | 32 | * |
@@ -55,10 +55,10 @@ |
||
| 55 | 55 | public function explore(array $params = []) |
| 56 | 56 | { |
| 57 | 57 | $this->checkRequiredParameters(['index'], $params); |
| 58 | - $url = '/' . $this->encode($params['index']) . '/_graph/explore'; |
|
| 58 | + $url = '/'.$this->encode($params['index']).'/_graph/explore'; |
|
| 59 | 59 | $method = empty($params['body']) ? 'GET' : 'POST'; |
| 60 | 60 | |
| 61 | - $url = $this->addQueryString($url, $params, ['routing','timeout','pretty','human','error_trace','source','filter_path']); |
|
| 61 | + $url = $this->addQueryString($url, $params, ['routing', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 62 | 62 | $headers = [ |
| 63 | 63 | 'Accept' => 'application/json', |
| 64 | 64 | 'Content-Type' => 'application/json', |
@@ -26,8 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * @generated This file is generated, please do not edit |
| 28 | 28 | */ |
| 29 | -class Graph extends AbstractEndpoint |
|
| 30 | -{ |
|
| 29 | +class Graph extends AbstractEndpoint { |
|
| 31 | 30 | /** |
| 32 | 31 | * Explore extracted and summarized information about the documents and terms in an index. |
| 33 | 32 | * |
@@ -51,13 +51,13 @@ discard block |
||
| 51 | 51 | public function deprecations(array $params = []) |
| 52 | 52 | { |
| 53 | 53 | if (isset($params['index'])) { |
| 54 | - $url = '/' . $this->encode($params['index']) . '/_migration/deprecations'; |
|
| 54 | + $url = '/'.$this->encode($params['index']).'/_migration/deprecations'; |
|
| 55 | 55 | $method = 'GET'; |
| 56 | 56 | } else { |
| 57 | 57 | $url = '/_migration/deprecations'; |
| 58 | 58 | $method = 'GET'; |
| 59 | 59 | } |
| 60 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 60 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 61 | 61 | $headers = [ |
| 62 | 62 | 'Accept' => 'application/json', |
| 63 | 63 | ]; |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | $url = '/_migration/system_features'; |
| 90 | 90 | $method = 'GET'; |
| 91 | 91 | |
| 92 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 92 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 93 | 93 | $headers = [ |
| 94 | 94 | 'Accept' => 'application/json', |
| 95 | 95 | ]; |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | $url = '/_migration/system_features'; |
| 122 | 122 | $method = 'POST'; |
| 123 | 123 | |
| 124 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 124 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 125 | 125 | $headers = [ |
| 126 | 126 | 'Accept' => 'application/json', |
| 127 | 127 | ]; |
@@ -26,8 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * @generated This file is generated, please do not edit |
| 28 | 28 | */ |
| 29 | -class Migration extends AbstractEndpoint |
|
| 30 | -{ |
|
| 29 | +class Migration extends AbstractEndpoint { |
|
| 31 | 30 | /** |
| 32 | 31 | * Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version. |
| 33 | 32 | * |
@@ -55,10 +55,10 @@ discard block |
||
| 55 | 55 | public function deleteTransform(array $params = []) |
| 56 | 56 | { |
| 57 | 57 | $this->checkRequiredParameters(['transform_id'], $params); |
| 58 | - $url = '/_transform/' . $this->encode($params['transform_id']); |
|
| 58 | + $url = '/_transform/'.$this->encode($params['transform_id']); |
|
| 59 | 59 | $method = 'DELETE'; |
| 60 | 60 | |
| 61 | - $url = $this->addQueryString($url, $params, ['force','delete_dest_index','timeout','pretty','human','error_trace','source','filter_path']); |
|
| 61 | + $url = $this->addQueryString($url, $params, ['force', 'delete_dest_index', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 62 | 62 | $headers = [ |
| 63 | 63 | 'Accept' => 'application/json', |
| 64 | 64 | ]; |
@@ -93,13 +93,13 @@ discard block |
||
| 93 | 93 | public function getTransform(array $params = []) |
| 94 | 94 | { |
| 95 | 95 | if (isset($params['transform_id'])) { |
| 96 | - $url = '/_transform/' . $this->encode($params['transform_id']); |
|
| 96 | + $url = '/_transform/'.$this->encode($params['transform_id']); |
|
| 97 | 97 | $method = 'GET'; |
| 98 | 98 | } else { |
| 99 | 99 | $url = '/_transform'; |
| 100 | 100 | $method = 'GET'; |
| 101 | 101 | } |
| 102 | - $url = $this->addQueryString($url, $params, ['from','size','allow_no_match','exclude_generated','pretty','human','error_trace','source','filter_path']); |
|
| 102 | + $url = $this->addQueryString($url, $params, ['from', 'size', 'allow_no_match', 'exclude_generated', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 103 | 103 | $headers = [ |
| 104 | 104 | 'Accept' => 'application/json', |
| 105 | 105 | ]; |
@@ -135,10 +135,10 @@ discard block |
||
| 135 | 135 | public function getTransformStats(array $params = []) |
| 136 | 136 | { |
| 137 | 137 | $this->checkRequiredParameters(['transform_id'], $params); |
| 138 | - $url = '/_transform/' . $this->encode($params['transform_id']) . '/_stats'; |
|
| 138 | + $url = '/_transform/'.$this->encode($params['transform_id']).'/_stats'; |
|
| 139 | 139 | $method = 'GET'; |
| 140 | 140 | |
| 141 | - $url = $this->addQueryString($url, $params, ['from','size','timeout','allow_no_match','pretty','human','error_trace','source','filter_path']); |
|
| 141 | + $url = $this->addQueryString($url, $params, ['from', 'size', 'timeout', 'allow_no_match', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 142 | 142 | $headers = [ |
| 143 | 143 | 'Accept' => 'application/json', |
| 144 | 144 | ]; |
@@ -171,13 +171,13 @@ discard block |
||
| 171 | 171 | public function previewTransform(array $params = []) |
| 172 | 172 | { |
| 173 | 173 | if (isset($params['transform_id'])) { |
| 174 | - $url = '/_transform/' . $this->encode($params['transform_id']) . '/_preview'; |
|
| 174 | + $url = '/_transform/'.$this->encode($params['transform_id']).'/_preview'; |
|
| 175 | 175 | $method = empty($params['body']) ? 'GET' : 'POST'; |
| 176 | 176 | } else { |
| 177 | 177 | $url = '/_transform/_preview'; |
| 178 | 178 | $method = empty($params['body']) ? 'GET' : 'POST'; |
| 179 | 179 | } |
| 180 | - $url = $this->addQueryString($url, $params, ['timeout','pretty','human','error_trace','source','filter_path']); |
|
| 180 | + $url = $this->addQueryString($url, $params, ['timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 181 | 181 | $headers = [ |
| 182 | 182 | 'Accept' => 'application/json', |
| 183 | 183 | 'Content-Type' => 'application/json', |
@@ -212,11 +212,11 @@ discard block |
||
| 212 | 212 | */ |
| 213 | 213 | public function putTransform(array $params = []) |
| 214 | 214 | { |
| 215 | - $this->checkRequiredParameters(['transform_id','body'], $params); |
|
| 216 | - $url = '/_transform/' . $this->encode($params['transform_id']); |
|
| 215 | + $this->checkRequiredParameters(['transform_id', 'body'], $params); |
|
| 216 | + $url = '/_transform/'.$this->encode($params['transform_id']); |
|
| 217 | 217 | $method = 'PUT'; |
| 218 | 218 | |
| 219 | - $url = $this->addQueryString($url, $params, ['defer_validation','timeout','pretty','human','error_trace','source','filter_path']); |
|
| 219 | + $url = $this->addQueryString($url, $params, ['defer_validation', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 220 | 220 | $headers = [ |
| 221 | 221 | 'Accept' => 'application/json', |
| 222 | 222 | 'Content-Type' => 'application/json', |
@@ -251,10 +251,10 @@ discard block |
||
| 251 | 251 | public function resetTransform(array $params = []) |
| 252 | 252 | { |
| 253 | 253 | $this->checkRequiredParameters(['transform_id'], $params); |
| 254 | - $url = '/_transform/' . $this->encode($params['transform_id']) . '/_reset'; |
|
| 254 | + $url = '/_transform/'.$this->encode($params['transform_id']).'/_reset'; |
|
| 255 | 255 | $method = 'POST'; |
| 256 | 256 | |
| 257 | - $url = $this->addQueryString($url, $params, ['force','timeout','pretty','human','error_trace','source','filter_path']); |
|
| 257 | + $url = $this->addQueryString($url, $params, ['force', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 258 | 258 | $headers = [ |
| 259 | 259 | 'Accept' => 'application/json', |
| 260 | 260 | ]; |
@@ -287,10 +287,10 @@ discard block |
||
| 287 | 287 | public function scheduleNowTransform(array $params = []) |
| 288 | 288 | { |
| 289 | 289 | $this->checkRequiredParameters(['transform_id'], $params); |
| 290 | - $url = '/_transform/' . $this->encode($params['transform_id']) . '/_schedule_now'; |
|
| 290 | + $url = '/_transform/'.$this->encode($params['transform_id']).'/_schedule_now'; |
|
| 291 | 291 | $method = 'POST'; |
| 292 | 292 | |
| 293 | - $url = $this->addQueryString($url, $params, ['timeout','pretty','human','error_trace','source','filter_path']); |
|
| 293 | + $url = $this->addQueryString($url, $params, ['timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 294 | 294 | $headers = [ |
| 295 | 295 | 'Accept' => 'application/json', |
| 296 | 296 | 'Content-Type' => 'application/json', |
@@ -325,10 +325,10 @@ discard block |
||
| 325 | 325 | public function startTransform(array $params = []) |
| 326 | 326 | { |
| 327 | 327 | $this->checkRequiredParameters(['transform_id'], $params); |
| 328 | - $url = '/_transform/' . $this->encode($params['transform_id']) . '/_start'; |
|
| 328 | + $url = '/_transform/'.$this->encode($params['transform_id']).'/_start'; |
|
| 329 | 329 | $method = 'POST'; |
| 330 | 330 | |
| 331 | - $url = $this->addQueryString($url, $params, ['from','timeout','pretty','human','error_trace','source','filter_path']); |
|
| 331 | + $url = $this->addQueryString($url, $params, ['from', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 332 | 332 | $headers = [ |
| 333 | 333 | 'Accept' => 'application/json', |
| 334 | 334 | ]; |
@@ -365,10 +365,10 @@ discard block |
||
| 365 | 365 | public function stopTransform(array $params = []) |
| 366 | 366 | { |
| 367 | 367 | $this->checkRequiredParameters(['transform_id'], $params); |
| 368 | - $url = '/_transform/' . $this->encode($params['transform_id']) . '/_stop'; |
|
| 368 | + $url = '/_transform/'.$this->encode($params['transform_id']).'/_stop'; |
|
| 369 | 369 | $method = 'POST'; |
| 370 | 370 | |
| 371 | - $url = $this->addQueryString($url, $params, ['force','wait_for_completion','timeout','allow_no_match','wait_for_checkpoint','pretty','human','error_trace','source','filter_path']); |
|
| 371 | + $url = $this->addQueryString($url, $params, ['force', 'wait_for_completion', 'timeout', 'allow_no_match', 'wait_for_checkpoint', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 372 | 372 | $headers = [ |
| 373 | 373 | 'Accept' => 'application/json', |
| 374 | 374 | ]; |
@@ -402,11 +402,11 @@ discard block |
||
| 402 | 402 | */ |
| 403 | 403 | public function updateTransform(array $params = []) |
| 404 | 404 | { |
| 405 | - $this->checkRequiredParameters(['transform_id','body'], $params); |
|
| 406 | - $url = '/_transform/' . $this->encode($params['transform_id']) . '/_update'; |
|
| 405 | + $this->checkRequiredParameters(['transform_id', 'body'], $params); |
|
| 406 | + $url = '/_transform/'.$this->encode($params['transform_id']).'/_update'; |
|
| 407 | 407 | $method = 'POST'; |
| 408 | 408 | |
| 409 | - $url = $this->addQueryString($url, $params, ['defer_validation','timeout','pretty','human','error_trace','source','filter_path']); |
|
| 409 | + $url = $this->addQueryString($url, $params, ['defer_validation', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 410 | 410 | $headers = [ |
| 411 | 411 | 'Accept' => 'application/json', |
| 412 | 412 | 'Content-Type' => 'application/json', |
@@ -441,7 +441,7 @@ discard block |
||
| 441 | 441 | $url = '/_transform/_upgrade'; |
| 442 | 442 | $method = 'POST'; |
| 443 | 443 | |
| 444 | - $url = $this->addQueryString($url, $params, ['dry_run','timeout','pretty','human','error_trace','source','filter_path']); |
|
| 444 | + $url = $this->addQueryString($url, $params, ['dry_run', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 445 | 445 | $headers = [ |
| 446 | 446 | 'Accept' => 'application/json', |
| 447 | 447 | 'Content-Type' => 'application/json', |
@@ -26,8 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * @generated This file is generated, please do not edit |
| 28 | 28 | */ |
| 29 | -class Transform extends AbstractEndpoint |
|
| 30 | -{ |
|
| 29 | +class Transform extends AbstractEndpoint { |
|
| 31 | 30 | /** |
| 32 | 31 | * Deletes an existing transform. |
| 33 | 32 | * |
@@ -52,10 +52,10 @@ discard block |
||
| 52 | 52 | public function deleteLifecycle(array $params = []) |
| 53 | 53 | { |
| 54 | 54 | $this->checkRequiredParameters(['policy_id'], $params); |
| 55 | - $url = '/_slm/policy/' . $this->encode($params['policy_id']); |
|
| 55 | + $url = '/_slm/policy/'.$this->encode($params['policy_id']); |
|
| 56 | 56 | $method = 'DELETE'; |
| 57 | 57 | |
| 58 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 58 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 59 | 59 | $headers = [ |
| 60 | 60 | 'Accept' => 'application/json', |
| 61 | 61 | ]; |
@@ -87,10 +87,10 @@ discard block |
||
| 87 | 87 | public function executeLifecycle(array $params = []) |
| 88 | 88 | { |
| 89 | 89 | $this->checkRequiredParameters(['policy_id'], $params); |
| 90 | - $url = '/_slm/policy/' . $this->encode($params['policy_id']) . '/_execute'; |
|
| 90 | + $url = '/_slm/policy/'.$this->encode($params['policy_id']).'/_execute'; |
|
| 91 | 91 | $method = 'PUT'; |
| 92 | 92 | |
| 93 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 93 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 94 | 94 | $headers = [ |
| 95 | 95 | 'Accept' => 'application/json', |
| 96 | 96 | ]; |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | $url = '/_slm/_execute_retention'; |
| 123 | 123 | $method = 'POST'; |
| 124 | 124 | |
| 125 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 125 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 126 | 126 | $headers = [ |
| 127 | 127 | 'Accept' => 'application/json', |
| 128 | 128 | ]; |
@@ -153,13 +153,13 @@ discard block |
||
| 153 | 153 | public function getLifecycle(array $params = []) |
| 154 | 154 | { |
| 155 | 155 | if (isset($params['policy_id'])) { |
| 156 | - $url = '/_slm/policy/' . $this->encode($params['policy_id']); |
|
| 156 | + $url = '/_slm/policy/'.$this->encode($params['policy_id']); |
|
| 157 | 157 | $method = 'GET'; |
| 158 | 158 | } else { |
| 159 | 159 | $url = '/_slm/policy'; |
| 160 | 160 | $method = 'GET'; |
| 161 | 161 | } |
| 162 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 162 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 163 | 163 | $headers = [ |
| 164 | 164 | 'Accept' => 'application/json', |
| 165 | 165 | ]; |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | $url = '/_slm/stats'; |
| 192 | 192 | $method = 'GET'; |
| 193 | 193 | |
| 194 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 194 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 195 | 195 | $headers = [ |
| 196 | 196 | 'Accept' => 'application/json', |
| 197 | 197 | ]; |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | $url = '/_slm/status'; |
| 224 | 224 | $method = 'GET'; |
| 225 | 225 | |
| 226 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 226 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 227 | 227 | $headers = [ |
| 228 | 228 | 'Accept' => 'application/json', |
| 229 | 229 | ]; |
@@ -256,10 +256,10 @@ discard block |
||
| 256 | 256 | public function putLifecycle(array $params = []) |
| 257 | 257 | { |
| 258 | 258 | $this->checkRequiredParameters(['policy_id'], $params); |
| 259 | - $url = '/_slm/policy/' . $this->encode($params['policy_id']); |
|
| 259 | + $url = '/_slm/policy/'.$this->encode($params['policy_id']); |
|
| 260 | 260 | $method = 'PUT'; |
| 261 | 261 | |
| 262 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 262 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 263 | 263 | $headers = [ |
| 264 | 264 | 'Accept' => 'application/json', |
| 265 | 265 | 'Content-Type' => 'application/json', |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | $url = '/_slm/start'; |
| 293 | 293 | $method = 'POST'; |
| 294 | 294 | |
| 295 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 295 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 296 | 296 | $headers = [ |
| 297 | 297 | 'Accept' => 'application/json', |
| 298 | 298 | ]; |
@@ -324,7 +324,7 @@ discard block |
||
| 324 | 324 | $url = '/_slm/stop'; |
| 325 | 325 | $method = 'POST'; |
| 326 | 326 | |
| 327 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 327 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 328 | 328 | $headers = [ |
| 329 | 329 | 'Accept' => 'application/json', |
| 330 | 330 | ]; |
@@ -26,8 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * @generated This file is generated, please do not edit |
| 28 | 28 | */ |
| 29 | -class Slm extends AbstractEndpoint |
|
| 30 | -{ |
|
| 29 | +class Slm extends AbstractEndpoint { |
|
| 31 | 30 | /** |
| 32 | 31 | * Deletes an existing snapshot lifecycle policy. |
| 33 | 32 | * |
@@ -52,13 +52,13 @@ discard block |
||
| 52 | 52 | public function cacheStats(array $params = []) |
| 53 | 53 | { |
| 54 | 54 | if (isset($params['node_id'])) { |
| 55 | - $url = '/_searchable_snapshots/' . $this->encode($params['node_id']) . '/cache/stats'; |
|
| 55 | + $url = '/_searchable_snapshots/'.$this->encode($params['node_id']).'/cache/stats'; |
|
| 56 | 56 | $method = 'GET'; |
| 57 | 57 | } else { |
| 58 | 58 | $url = '/_searchable_snapshots/cache/stats'; |
| 59 | 59 | $method = 'GET'; |
| 60 | 60 | } |
| 61 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 61 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 62 | 62 | $headers = [ |
| 63 | 63 | 'Accept' => 'application/json', |
| 64 | 64 | ]; |
@@ -93,13 +93,13 @@ discard block |
||
| 93 | 93 | public function clearCache(array $params = []) |
| 94 | 94 | { |
| 95 | 95 | if (isset($params['index'])) { |
| 96 | - $url = '/' . $this->encode($params['index']) . '/_searchable_snapshots/cache/clear'; |
|
| 96 | + $url = '/'.$this->encode($params['index']).'/_searchable_snapshots/cache/clear'; |
|
| 97 | 97 | $method = 'POST'; |
| 98 | 98 | } else { |
| 99 | 99 | $url = '/_searchable_snapshots/cache/clear'; |
| 100 | 100 | $method = 'POST'; |
| 101 | 101 | } |
| 102 | - $url = $this->addQueryString($url, $params, ['ignore_unavailable','allow_no_indices','expand_wildcards','pretty','human','error_trace','source','filter_path']); |
|
| 102 | + $url = $this->addQueryString($url, $params, ['ignore_unavailable', 'allow_no_indices', 'expand_wildcards', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 103 | 103 | $headers = [ |
| 104 | 104 | 'Accept' => 'application/json', |
| 105 | 105 | ]; |
@@ -135,11 +135,11 @@ discard block |
||
| 135 | 135 | */ |
| 136 | 136 | public function mount(array $params = []) |
| 137 | 137 | { |
| 138 | - $this->checkRequiredParameters(['repository','snapshot','body'], $params); |
|
| 139 | - $url = '/_snapshot/' . $this->encode($params['repository']) . '/' . $this->encode($params['snapshot']) . '/_mount'; |
|
| 138 | + $this->checkRequiredParameters(['repository', 'snapshot', 'body'], $params); |
|
| 139 | + $url = '/_snapshot/'.$this->encode($params['repository']).'/'.$this->encode($params['snapshot']).'/_mount'; |
|
| 140 | 140 | $method = 'POST'; |
| 141 | 141 | |
| 142 | - $url = $this->addQueryString($url, $params, ['master_timeout','wait_for_completion','storage','pretty','human','error_trace','source','filter_path']); |
|
| 142 | + $url = $this->addQueryString($url, $params, ['master_timeout', 'wait_for_completion', 'storage', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 143 | 143 | $headers = [ |
| 144 | 144 | 'Accept' => 'application/json', |
| 145 | 145 | 'Content-Type' => 'application/json', |
@@ -172,13 +172,13 @@ discard block |
||
| 172 | 172 | public function stats(array $params = []) |
| 173 | 173 | { |
| 174 | 174 | if (isset($params['index'])) { |
| 175 | - $url = '/' . $this->encode($params['index']) . '/_searchable_snapshots/stats'; |
|
| 175 | + $url = '/'.$this->encode($params['index']).'/_searchable_snapshots/stats'; |
|
| 176 | 176 | $method = 'GET'; |
| 177 | 177 | } else { |
| 178 | 178 | $url = '/_searchable_snapshots/stats'; |
| 179 | 179 | $method = 'GET'; |
| 180 | 180 | } |
| 181 | - $url = $this->addQueryString($url, $params, ['level','pretty','human','error_trace','source','filter_path']); |
|
| 181 | + $url = $this->addQueryString($url, $params, ['level', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 182 | 182 | $headers = [ |
| 183 | 183 | 'Accept' => 'application/json', |
| 184 | 184 | ]; |
@@ -26,8 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * @generated This file is generated, please do not edit |
| 28 | 28 | */ |
| 29 | -class SearchableSnapshots extends AbstractEndpoint |
|
| 30 | -{ |
|
| 29 | +class SearchableSnapshots extends AbstractEndpoint { |
|
| 31 | 30 | /** |
| 32 | 31 | * Retrieve node-level cache statistics about searchable snapshots. |
| 33 | 32 | * |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | $url = '/_cluster/allocation/explain'; |
| 56 | 56 | $method = empty($params['body']) ? 'GET' : 'POST'; |
| 57 | 57 | |
| 58 | - $url = $this->addQueryString($url, $params, ['include_yes_decisions','include_disk_info','pretty','human','error_trace','source','filter_path']); |
|
| 58 | + $url = $this->addQueryString($url, $params, ['include_yes_decisions', 'include_disk_info', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 59 | 59 | $headers = [ |
| 60 | 60 | 'Accept' => 'application/json', |
| 61 | 61 | 'Content-Type' => 'application/json', |
@@ -90,10 +90,10 @@ discard block |
||
| 90 | 90 | public function deleteComponentTemplate(array $params = []) |
| 91 | 91 | { |
| 92 | 92 | $this->checkRequiredParameters(['name'], $params); |
| 93 | - $url = '/_component_template/' . $this->encode($params['name']); |
|
| 93 | + $url = '/_component_template/'.$this->encode($params['name']); |
|
| 94 | 94 | $method = 'DELETE'; |
| 95 | 95 | |
| 96 | - $url = $this->addQueryString($url, $params, ['timeout','master_timeout','pretty','human','error_trace','source','filter_path']); |
|
| 96 | + $url = $this->addQueryString($url, $params, ['timeout', 'master_timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 97 | 97 | $headers = [ |
| 98 | 98 | 'Accept' => 'application/json', |
| 99 | 99 | ]; |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | $url = '/_cluster/voting_config_exclusions'; |
| 128 | 128 | $method = 'DELETE'; |
| 129 | 129 | |
| 130 | - $url = $this->addQueryString($url, $params, ['wait_for_removal','master_timeout','pretty','human','error_trace','source','filter_path']); |
|
| 130 | + $url = $this->addQueryString($url, $params, ['wait_for_removal', 'master_timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 131 | 131 | $headers = [ |
| 132 | 132 | 'Accept' => 'application/json', |
| 133 | 133 | ]; |
@@ -161,10 +161,10 @@ discard block |
||
| 161 | 161 | public function existsComponentTemplate(array $params = []) |
| 162 | 162 | { |
| 163 | 163 | $this->checkRequiredParameters(['name'], $params); |
| 164 | - $url = '/_component_template/' . $this->encode($params['name']); |
|
| 164 | + $url = '/_component_template/'.$this->encode($params['name']); |
|
| 165 | 165 | $method = 'HEAD'; |
| 166 | 166 | |
| 167 | - $url = $this->addQueryString($url, $params, ['master_timeout','local','pretty','human','error_trace','source','filter_path']); |
|
| 167 | + $url = $this->addQueryString($url, $params, ['master_timeout', 'local', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 168 | 168 | $headers = [ |
| 169 | 169 | 'Accept' => 'application/json', |
| 170 | 170 | ]; |
@@ -198,13 +198,13 @@ discard block |
||
| 198 | 198 | public function getComponentTemplate(array $params = []) |
| 199 | 199 | { |
| 200 | 200 | if (isset($params['name'])) { |
| 201 | - $url = '/_component_template/' . $this->encode($params['name']); |
|
| 201 | + $url = '/_component_template/'.$this->encode($params['name']); |
|
| 202 | 202 | $method = 'GET'; |
| 203 | 203 | } else { |
| 204 | 204 | $url = '/_component_template'; |
| 205 | 205 | $method = 'GET'; |
| 206 | 206 | } |
| 207 | - $url = $this->addQueryString($url, $params, ['master_timeout','local','include_defaults','pretty','human','error_trace','source','filter_path']); |
|
| 207 | + $url = $this->addQueryString($url, $params, ['master_timeout', 'local', 'include_defaults', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 208 | 208 | $headers = [ |
| 209 | 209 | 'Accept' => 'application/json', |
| 210 | 210 | ]; |
@@ -240,7 +240,7 @@ discard block |
||
| 240 | 240 | $url = '/_cluster/settings'; |
| 241 | 241 | $method = 'GET'; |
| 242 | 242 | |
| 243 | - $url = $this->addQueryString($url, $params, ['flat_settings','master_timeout','timeout','include_defaults','pretty','human','error_trace','source','filter_path']); |
|
| 243 | + $url = $this->addQueryString($url, $params, ['flat_settings', 'master_timeout', 'timeout', 'include_defaults', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 244 | 244 | $headers = [ |
| 245 | 245 | 'Accept' => 'application/json', |
| 246 | 246 | ]; |
@@ -282,13 +282,13 @@ discard block |
||
| 282 | 282 | public function health(array $params = []) |
| 283 | 283 | { |
| 284 | 284 | if (isset($params['index'])) { |
| 285 | - $url = '/_cluster/health/' . $this->encode($params['index']); |
|
| 285 | + $url = '/_cluster/health/'.$this->encode($params['index']); |
|
| 286 | 286 | $method = 'GET'; |
| 287 | 287 | } else { |
| 288 | 288 | $url = '/_cluster/health'; |
| 289 | 289 | $method = 'GET'; |
| 290 | 290 | } |
| 291 | - $url = $this->addQueryString($url, $params, ['expand_wildcards','level','local','master_timeout','timeout','wait_for_active_shards','wait_for_nodes','wait_for_events','wait_for_no_relocating_shards','wait_for_no_initializing_shards','wait_for_status','pretty','human','error_trace','source','filter_path']); |
|
| 291 | + $url = $this->addQueryString($url, $params, ['expand_wildcards', 'level', 'local', 'master_timeout', 'timeout', 'wait_for_active_shards', 'wait_for_nodes', 'wait_for_events', 'wait_for_no_relocating_shards', 'wait_for_no_initializing_shards', 'wait_for_status', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 292 | 292 | $headers = [ |
| 293 | 293 | 'Accept' => 'application/json', |
| 294 | 294 | ]; |
@@ -320,10 +320,10 @@ discard block |
||
| 320 | 320 | public function info(array $params = []) |
| 321 | 321 | { |
| 322 | 322 | $this->checkRequiredParameters(['target'], $params); |
| 323 | - $url = '/_info/' . $this->encode($params['target']); |
|
| 323 | + $url = '/_info/'.$this->encode($params['target']); |
|
| 324 | 324 | $method = 'GET'; |
| 325 | 325 | |
| 326 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 326 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 327 | 327 | $headers = [ |
| 328 | 328 | 'Accept' => 'application/json', |
| 329 | 329 | ]; |
@@ -358,7 +358,7 @@ discard block |
||
| 358 | 358 | $url = '/_cluster/pending_tasks'; |
| 359 | 359 | $method = 'GET'; |
| 360 | 360 | |
| 361 | - $url = $this->addQueryString($url, $params, ['local','master_timeout','pretty','human','error_trace','source','filter_path']); |
|
| 361 | + $url = $this->addQueryString($url, $params, ['local', 'master_timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 362 | 362 | $headers = [ |
| 363 | 363 | 'Accept' => 'application/json', |
| 364 | 364 | ]; |
@@ -394,7 +394,7 @@ discard block |
||
| 394 | 394 | $url = '/_cluster/voting_config_exclusions'; |
| 395 | 395 | $method = 'POST'; |
| 396 | 396 | |
| 397 | - $url = $this->addQueryString($url, $params, ['node_ids','node_names','timeout','master_timeout','pretty','human','error_trace','source','filter_path']); |
|
| 397 | + $url = $this->addQueryString($url, $params, ['node_ids', 'node_names', 'timeout', 'master_timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 398 | 398 | $headers = [ |
| 399 | 399 | 'Accept' => 'application/json', |
| 400 | 400 | ]; |
@@ -429,11 +429,11 @@ discard block |
||
| 429 | 429 | */ |
| 430 | 430 | public function putComponentTemplate(array $params = []) |
| 431 | 431 | { |
| 432 | - $this->checkRequiredParameters(['name','body'], $params); |
|
| 433 | - $url = '/_component_template/' . $this->encode($params['name']); |
|
| 432 | + $this->checkRequiredParameters(['name', 'body'], $params); |
|
| 433 | + $url = '/_component_template/'.$this->encode($params['name']); |
|
| 434 | 434 | $method = 'PUT'; |
| 435 | 435 | |
| 436 | - $url = $this->addQueryString($url, $params, ['create','timeout','master_timeout','pretty','human','error_trace','source','filter_path']); |
|
| 436 | + $url = $this->addQueryString($url, $params, ['create', 'timeout', 'master_timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 437 | 437 | $headers = [ |
| 438 | 438 | 'Accept' => 'application/json', |
| 439 | 439 | 'Content-Type' => 'application/json', |
@@ -471,7 +471,7 @@ discard block |
||
| 471 | 471 | $url = '/_cluster/settings'; |
| 472 | 472 | $method = 'PUT'; |
| 473 | 473 | |
| 474 | - $url = $this->addQueryString($url, $params, ['flat_settings','master_timeout','timeout','pretty','human','error_trace','source','filter_path']); |
|
| 474 | + $url = $this->addQueryString($url, $params, ['flat_settings', 'master_timeout', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 475 | 475 | $headers = [ |
| 476 | 476 | 'Accept' => 'application/json', |
| 477 | 477 | 'Content-Type' => 'application/json', |
@@ -504,7 +504,7 @@ discard block |
||
| 504 | 504 | $url = '/_remote/info'; |
| 505 | 505 | $method = 'GET'; |
| 506 | 506 | |
| 507 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 507 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 508 | 508 | $headers = [ |
| 509 | 509 | 'Accept' => 'application/json', |
| 510 | 510 | ]; |
@@ -543,7 +543,7 @@ discard block |
||
| 543 | 543 | $url = '/_cluster/reroute'; |
| 544 | 544 | $method = 'POST'; |
| 545 | 545 | |
| 546 | - $url = $this->addQueryString($url, $params, ['dry_run','explain','retry_failed','metric','master_timeout','timeout','pretty','human','error_trace','source','filter_path']); |
|
| 546 | + $url = $this->addQueryString($url, $params, ['dry_run', 'explain', 'retry_failed', 'metric', 'master_timeout', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 547 | 547 | $headers = [ |
| 548 | 548 | 'Accept' => 'application/json', |
| 549 | 549 | 'Content-Type' => 'application/json', |
@@ -584,16 +584,16 @@ discard block |
||
| 584 | 584 | public function state(array $params = []) |
| 585 | 585 | { |
| 586 | 586 | if (isset($params['index']) && isset($params['metric'])) { |
| 587 | - $url = '/_cluster/state/' . $this->encode($params['metric']) . '/' . $this->encode($params['index']); |
|
| 587 | + $url = '/_cluster/state/'.$this->encode($params['metric']).'/'.$this->encode($params['index']); |
|
| 588 | 588 | $method = 'GET'; |
| 589 | 589 | } elseif (isset($params['metric'])) { |
| 590 | - $url = '/_cluster/state/' . $this->encode($params['metric']); |
|
| 590 | + $url = '/_cluster/state/'.$this->encode($params['metric']); |
|
| 591 | 591 | $method = 'GET'; |
| 592 | 592 | } else { |
| 593 | 593 | $url = '/_cluster/state'; |
| 594 | 594 | $method = 'GET'; |
| 595 | 595 | } |
| 596 | - $url = $this->addQueryString($url, $params, ['local','master_timeout','flat_settings','wait_for_metadata_version','wait_for_timeout','ignore_unavailable','allow_no_indices','expand_wildcards','pretty','human','error_trace','source','filter_path']); |
|
| 596 | + $url = $this->addQueryString($url, $params, ['local', 'master_timeout', 'flat_settings', 'wait_for_metadata_version', 'wait_for_timeout', 'ignore_unavailable', 'allow_no_indices', 'expand_wildcards', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 597 | 597 | $headers = [ |
| 598 | 598 | 'Accept' => 'application/json', |
| 599 | 599 | ]; |
@@ -626,13 +626,13 @@ discard block |
||
| 626 | 626 | public function stats(array $params = []) |
| 627 | 627 | { |
| 628 | 628 | if (isset($params['node_id'])) { |
| 629 | - $url = '/_cluster/stats/nodes/' . $this->encode($params['node_id']); |
|
| 629 | + $url = '/_cluster/stats/nodes/'.$this->encode($params['node_id']); |
|
| 630 | 630 | $method = 'GET'; |
| 631 | 631 | } else { |
| 632 | 632 | $url = '/_cluster/stats'; |
| 633 | 633 | $method = 'GET'; |
| 634 | 634 | } |
| 635 | - $url = $this->addQueryString($url, $params, ['flat_settings','timeout','pretty','human','error_trace','source','filter_path']); |
|
| 635 | + $url = $this->addQueryString($url, $params, ['flat_settings', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 636 | 636 | $headers = [ |
| 637 | 637 | 'Accept' => 'application/json', |
| 638 | 638 | ]; |
@@ -26,8 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * @generated This file is generated, please do not edit |
| 28 | 28 | */ |
| 29 | -class Cluster extends AbstractEndpoint |
|
| 30 | -{ |
|
| 29 | +class Cluster extends AbstractEndpoint { |
|
| 31 | 30 | /** |
| 32 | 31 | * Provides explanations for shard allocations in the cluster. |
| 33 | 32 | * |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | $url = '/_license'; |
| 53 | 53 | $method = 'DELETE'; |
| 54 | 54 | |
| 55 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 55 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 56 | 56 | $headers = [ |
| 57 | 57 | 'Accept' => 'application/json', |
| 58 | 58 | ]; |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | $url = '/_license'; |
| 87 | 87 | $method = 'GET'; |
| 88 | 88 | |
| 89 | - $url = $this->addQueryString($url, $params, ['local','accept_enterprise','pretty','human','error_trace','source','filter_path']); |
|
| 89 | + $url = $this->addQueryString($url, $params, ['local', 'accept_enterprise', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 90 | 90 | $headers = [ |
| 91 | 91 | 'Accept' => 'application/json', |
| 92 | 92 | ]; |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | $url = '/_license/basic_status'; |
| 119 | 119 | $method = 'GET'; |
| 120 | 120 | |
| 121 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 121 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 122 | 122 | $headers = [ |
| 123 | 123 | 'Accept' => 'application/json', |
| 124 | 124 | ]; |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | $url = '/_license/trial_status'; |
| 151 | 151 | $method = 'GET'; |
| 152 | 152 | |
| 153 | - $url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']); |
|
| 153 | + $url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 154 | 154 | $headers = [ |
| 155 | 155 | 'Accept' => 'application/json', |
| 156 | 156 | ]; |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | $url = '/_license'; |
| 185 | 185 | $method = 'PUT'; |
| 186 | 186 | |
| 187 | - $url = $this->addQueryString($url, $params, ['acknowledge','pretty','human','error_trace','source','filter_path']); |
|
| 187 | + $url = $this->addQueryString($url, $params, ['acknowledge', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 188 | 188 | $headers = [ |
| 189 | 189 | 'Accept' => 'application/json', |
| 190 | 190 | 'Content-Type' => 'application/json', |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | $url = '/_license/start_basic'; |
| 219 | 219 | $method = 'POST'; |
| 220 | 220 | |
| 221 | - $url = $this->addQueryString($url, $params, ['acknowledge','pretty','human','error_trace','source','filter_path']); |
|
| 221 | + $url = $this->addQueryString($url, $params, ['acknowledge', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 222 | 222 | $headers = [ |
| 223 | 223 | 'Accept' => 'application/json', |
| 224 | 224 | ]; |
@@ -252,7 +252,7 @@ discard block |
||
| 252 | 252 | $url = '/_license/start_trial'; |
| 253 | 253 | $method = 'POST'; |
| 254 | 254 | |
| 255 | - $url = $this->addQueryString($url, $params, ['type','acknowledge','pretty','human','error_trace','source','filter_path']); |
|
| 255 | + $url = $this->addQueryString($url, $params, ['type', 'acknowledge', 'pretty', 'human', 'error_trace', 'source', 'filter_path']); |
|
| 256 | 256 | $headers = [ |
| 257 | 257 | 'Accept' => 'application/json', |
| 258 | 258 | ]; |
@@ -26,8 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * @generated This file is generated, please do not edit |
| 28 | 28 | */ |
| 29 | -class License extends AbstractEndpoint |
|
| 30 | -{ |
|
| 29 | +class License extends AbstractEndpoint { |
|
| 31 | 30 | /** |
| 32 | 31 | * Deletes licensing information for the cluster |
| 33 | 32 | * |