Skip to content

Commit

Permalink
Updated APIs for 7.10.0-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Oct 14, 2020
1 parent dfdd554 commit 3ceb748
Show file tree
Hide file tree
Showing 379 changed files with 2,168 additions and 1,077 deletions.
2 changes: 1 addition & 1 deletion .ci/test-matrix.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
STACK_VERSION:
- 7.9.2
- 7.10.0-SNAPSHOT

PHP_VERSION:
- 7.4-cli
Expand Down
206 changes: 128 additions & 78 deletions src/Elasticsearch/Client.php

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/AsyncSearch/Delete.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
/**
* Class Delete
* Elasticsearch API name async_search.delete
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Delete extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/AsyncSearch/Get.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
/**
* Class Get
* Elasticsearch API name async_search.get
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Get extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/AsyncSearch/Submit.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Submit
* Elasticsearch API name async_search.submit
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Submit extends AbstractEndpoint
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
/**
* Class DeleteAutoscalingPolicy
* Elasticsearch API name autoscaling.delete_autoscaling_policy
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class DeleteAutoscalingPolicy extends AbstractEndpoint
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class GetAutoscalingDecision
* Elasticsearch API name autoscaling.get_autoscaling_decision
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class GetAutoscalingDecision extends AbstractEndpoint
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
/**
* Class GetAutoscalingPolicy
* Elasticsearch API name autoscaling.get_autoscaling_policy
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class GetAutoscalingPolicy extends AbstractEndpoint
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
/**
* Class PutAutoscalingPolicy
* Elasticsearch API name autoscaling.put_autoscaling_policy
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class PutAutoscalingPolicy extends AbstractEndpoint
{
Expand Down
8 changes: 6 additions & 2 deletions src/Elasticsearch/Endpoints/Bulk.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
/**
* Class Bulk
* Elasticsearch API name bulk
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Bulk extends AbstractEndpoint
{
Expand Down Expand Up @@ -62,7 +64,8 @@ public function getParamWhitelist(): array
'_source',
'_source_excludes',
'_source_includes',
'pipeline'
'pipeline',
'require_alias'
];
}

Expand Down Expand Up @@ -90,4 +93,5 @@ public function setBody($body): Bulk
}
return $this;
}

}
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Aliases.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Aliases
* Elasticsearch API name cat.aliases
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Aliases extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Allocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Allocation
* Elasticsearch API name cat.allocation
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Allocation extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Count.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Count
* Elasticsearch API name cat.count
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Count extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Fielddata.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Fielddata
* Elasticsearch API name cat.fielddata
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Fielddata extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Health.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Health
* Elasticsearch API name cat.health
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Health extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Help.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Help
* Elasticsearch API name cat.help
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Help extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Indices.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Indices
* Elasticsearch API name cat.indices
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Indices extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Master.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Master
* Elasticsearch API name cat.master
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Master extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/MlDataFrameAnalytics.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class MlDataFrameAnalytics
* Elasticsearch API name cat.ml_data_frame_analytics
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class MlDataFrameAnalytics extends AbstractEndpoint
{
Expand Down
5 changes: 4 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/MlDatafeeds.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class MlDatafeeds
* Elasticsearch API name cat.ml_datafeeds
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class MlDatafeeds extends AbstractEndpoint
{
Expand All @@ -40,6 +42,7 @@ public function getURI(): string
public function getParamWhitelist(): array
{
return [
'allow_no_match',
'allow_no_datafeeds',
'format',
'h',
Expand Down
5 changes: 4 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/MlJobs.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class MlJobs
* Elasticsearch API name cat.ml_jobs
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class MlJobs extends AbstractEndpoint
{
Expand All @@ -40,6 +42,7 @@ public function getURI(): string
public function getParamWhitelist(): array
{
return [
'allow_no_match',
'allow_no_jobs',
'bytes',
'format',
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/MlTrainedModels.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class MlTrainedModels
* Elasticsearch API name cat.ml_trained_models
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class MlTrainedModels extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/NodeAttrs.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class NodeAttrs
* Elasticsearch API name cat.nodeattrs
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class NodeAttrs extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Nodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Nodes
* Elasticsearch API name cat.nodes
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Nodes extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/PendingTasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class PendingTasks
* Elasticsearch API name cat.pending_tasks
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class PendingTasks extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Plugins
* Elasticsearch API name cat.plugins
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Plugins extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Recovery.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Recovery
* Elasticsearch API name cat.recovery
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Recovery extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Repositories.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Repositories
* Elasticsearch API name cat.repositories
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Repositories extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Segments.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Segments
* Elasticsearch API name cat.segments
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Segments extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Shards.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Shards
* Elasticsearch API name cat.shards
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Shards extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Snapshots.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Snapshots
* Elasticsearch API name cat.snapshots
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Snapshots extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Tasks.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Tasks
* Elasticsearch API name cat.tasks
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Tasks extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/Templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class Templates
* Elasticsearch API name cat.templates
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class Templates extends AbstractEndpoint
{
Expand Down
4 changes: 3 additions & 1 deletion src/Elasticsearch/Endpoints/Cat/ThreadPool.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
/**
* Class ThreadPool
* Elasticsearch API name cat.thread_pool
* Generated running $ php util/GenerateEndpoints.php 7.9
*
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
* and Elasticsearch 7.10.0-SNAPSHOT (8455cf8ff071f79866d8de6bbac960eb908cd5dd)
*/
class ThreadPool extends AbstractEndpoint
{
Expand Down
Loading

0 comments on commit 3ceb748

Please sign in to comment.