-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Meta engine sources management support.
- Loading branch information
Showing
5 changed files
with
148 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
/** | ||
* This file is part of the Elastic App Search PHP Client package. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Elastic\AppSearch\Client\Endpoint; | ||
|
||
/** | ||
* Implementation of the AddMetaEngineSource endpoint. | ||
* | ||
* @package Elastic\AppSearch\Client\Endpoint | ||
*/ | ||
class AddMetaEngineSource extends \Elastic\OpenApi\Codegen\Endpoint\AbstractEndpoint | ||
{ | ||
// phpcs:disable | ||
/** | ||
* @var string | ||
*/ | ||
protected $method = 'POST'; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $uri = '/engines/{engine_name}/source_engines'; | ||
|
||
protected $routeParams = ['engine_name']; | ||
// phpcs:enable | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
/** | ||
* This file is part of the Elastic App Search PHP Client package. | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Elastic\AppSearch\Client\Endpoint; | ||
|
||
/** | ||
* Implementation of the DeleteMetaEngineSource endpoint. | ||
* | ||
* @package Elastic\AppSearch\Client\Endpoint | ||
*/ | ||
class DeleteMetaEngineSource extends \Elastic\OpenApi\Codegen\Endpoint\AbstractEndpoint | ||
{ | ||
// phpcs:disable | ||
/** | ||
* @var string | ||
*/ | ||
protected $method = 'DELETE'; | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $uri = '/engines/{engine_name}/source_engines'; | ||
|
||
protected $routeParams = ['engine_name']; | ||
// phpcs:enable | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters