Skip to content

Commit 34e0ce9

Browse files
fix(specs): enable watcher for push [skip-bc] (generated)
algolia/api-clients-automation#4229 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 7b60863 commit 34e0ce9

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

lib/Api/IngestionClient.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1759,7 +1759,7 @@ public function listTransformations($itemsPerPage = null, $page = null, $sort =
17591759
* @param bool $watch When provided, the push operation will be synchronous and the API will wait for the ingestion to be finished before responding. (optional)
17601760
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
17611761
*
1762-
* @return \Algolia\AlgoliaSearch\Model\Ingestion\RunResponse|array<string, mixed>
1762+
* @return \Algolia\AlgoliaSearch\Model\Ingestion\WatchResponse|array<string, mixed>
17631763
*/
17641764
public function pushTask($taskID, $pushTaskPayload, $watch = null, $requestOptions = [])
17651765
{
@@ -2137,7 +2137,7 @@ public function searchTransformations($transformationSearch, $requestOptions = [
21372137
* @param string $sourceID Unique identifier of a source. (required)
21382138
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
21392139
*
2140-
* @return \Algolia\AlgoliaSearch\Model\Ingestion\SourceWatchResponse|array<string, mixed>
2140+
* @return \Algolia\AlgoliaSearch\Model\Ingestion\WatchResponse|array<string, mixed>
21412141
*/
21422142
public function triggerDockerSourceDiscover($sourceID, $requestOptions = [])
21432143
{
@@ -2576,7 +2576,7 @@ public function updateTransformation($transformationID, $transformationCreate, $
25762576
*
25772577
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
25782578
*
2579-
* @return \Algolia\AlgoliaSearch\Model\Ingestion\SourceWatchResponse|array<string, mixed>
2579+
* @return \Algolia\AlgoliaSearch\Model\Ingestion\WatchResponse|array<string, mixed>
25802580
*/
25812581
public function validateSource($sourceCreate = null, $requestOptions = [])
25822582
{
@@ -2606,7 +2606,7 @@ public function validateSource($sourceCreate = null, $requestOptions = [])
26062606
*
26072607
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
26082608
*
2609-
* @return \Algolia\AlgoliaSearch\Model\Ingestion\SourceWatchResponse|array<string, mixed>
2609+
* @return \Algolia\AlgoliaSearch\Model\Ingestion\WatchResponse|array<string, mixed>
26102610
*/
26112611
public function validateSourceBeforeUpdate($sourceID, $sourceUpdate, $requestOptions = [])
26122612
{

lib/Model/Ingestion/SourceWatchResponse.php renamed to lib/Model/Ingestion/WatchResponse.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
use Algolia\AlgoliaSearch\Model\ModelInterface;
99

1010
/**
11-
* SourceWatchResponse Class Doc Comment.
11+
* WatchResponse Class Doc Comment.
1212
*
1313
* @category Class
1414
*/
15-
class SourceWatchResponse extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
15+
class WatchResponse extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1616
{
1717
/**
1818
* Array of property to type mappings. Used for (de)serialization.
@@ -218,7 +218,7 @@ public function getData()
218218
/**
219219
* Sets data.
220220
*
221-
* @param null|object[] $data depending on the source type, the validation returns sampling data of your source (JSON, CSV, BigQuery)
221+
* @param null|object[] $data when used with discovering or validating sources, the sampled data of your source is returned
222222
*
223223
* @return self
224224
*/

0 commit comments

Comments
 (0)