|
29 | 29 | use Elasticsearch\Namespaces\CatNamespace;
|
30 | 30 | use Elasticsearch\Namespaces\ClusterNamespace;
|
31 | 31 | use Elasticsearch\Namespaces\DanglingIndicesNamespace;
|
| 32 | +use Elasticsearch\Namespaces\FeaturesNamespace; |
32 | 33 | use Elasticsearch\Namespaces\IndicesNamespace;
|
33 | 34 | use Elasticsearch\Namespaces\IngestNamespace;
|
34 | 35 | use Elasticsearch\Namespaces\NodesNamespace;
|
|
62 | 63 | * Class Client
|
63 | 64 | *
|
64 | 65 | * NOTE: this file is autogenerated using util/GenerateEndpoints.php
|
65 |
| - * and Elasticsearch 7.12.0-SNAPSHOT (c4379e122f178e346f6402b1a4ebf382d29fec05) |
| 66 | + * and Elasticsearch 7.12.0-SNAPSHOT (e1f8563f995198c160f7d84a6365bddc6ba0cdf3) |
66 | 67 | */
|
67 | 68 | class Client
|
68 | 69 | {
|
69 |
| - const VERSION = '7.12.0-SNAPSHOT'; |
| 70 | + const VERSION = '7.12.0'; |
70 | 71 |
|
71 | 72 | /**
|
72 | 73 | * @var Transport
|
@@ -103,6 +104,11 @@ class Client
|
103 | 104 | */
|
104 | 105 | protected $danglingIndices;
|
105 | 106 |
|
| 107 | + /** |
| 108 | + * @var FeaturesNamespace |
| 109 | + */ |
| 110 | + protected $features; |
| 111 | + |
106 | 112 | /**
|
107 | 113 | * @var IndicesNamespace
|
108 | 114 | */
|
@@ -258,6 +264,7 @@ public function __construct(Transport $transport, callable $endpoint, array $reg
|
258 | 264 | $this->cat = new CatNamespace($transport, $endpoint);
|
259 | 265 | $this->cluster = new ClusterNamespace($transport, $endpoint);
|
260 | 266 | $this->danglingIndices = new DanglingIndicesNamespace($transport, $endpoint);
|
| 267 | + $this->features = new FeaturesNamespace($transport, $endpoint); |
261 | 268 | $this->indices = new IndicesNamespace($transport, $endpoint);
|
262 | 269 | $this->ingest = new IngestNamespace($transport, $endpoint);
|
263 | 270 | $this->nodes = new NodesNamespace($transport, $endpoint);
|
@@ -1503,6 +1510,10 @@ public function danglingIndices(): DanglingIndicesNamespace
|
1503 | 1510 | {
|
1504 | 1511 | return $this->danglingIndices;
|
1505 | 1512 | }
|
| 1513 | + public function features(): FeaturesNamespace |
| 1514 | + { |
| 1515 | + return $this->features; |
| 1516 | + } |
1506 | 1517 | public function indices(): IndicesNamespace
|
1507 | 1518 | {
|
1508 | 1519 | return $this->indices;
|
|
0 commit comments