Skip to content

Commit

Permalink
fix(specs): enable watcher for push [skip-bc] (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4229

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
algolia-bot and shortcuts committed Dec 11, 2024
1 parent 7b60863 commit 34e0ce9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions lib/Api/IngestionClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,7 @@ public function listTransformations($itemsPerPage = null, $page = null, $sort =
* @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)
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
*
* @return \Algolia\AlgoliaSearch\Model\Ingestion\RunResponse|array<string, mixed>
* @return \Algolia\AlgoliaSearch\Model\Ingestion\WatchResponse|array<string, mixed>
*/
public function pushTask($taskID, $pushTaskPayload, $watch = null, $requestOptions = [])
{
Expand Down Expand Up @@ -2137,7 +2137,7 @@ public function searchTransformations($transformationSearch, $requestOptions = [
* @param string $sourceID Unique identifier of a source. (required)
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
*
* @return \Algolia\AlgoliaSearch\Model\Ingestion\SourceWatchResponse|array<string, mixed>
* @return \Algolia\AlgoliaSearch\Model\Ingestion\WatchResponse|array<string, mixed>
*/
public function triggerDockerSourceDiscover($sourceID, $requestOptions = [])
{
Expand Down Expand Up @@ -2576,7 +2576,7 @@ public function updateTransformation($transformationID, $transformationCreate, $
*
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
*
* @return \Algolia\AlgoliaSearch\Model\Ingestion\SourceWatchResponse|array<string, mixed>
* @return \Algolia\AlgoliaSearch\Model\Ingestion\WatchResponse|array<string, mixed>
*/
public function validateSource($sourceCreate = null, $requestOptions = [])
{
Expand Down Expand Up @@ -2606,7 +2606,7 @@ public function validateSource($sourceCreate = null, $requestOptions = [])
*
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
*
* @return \Algolia\AlgoliaSearch\Model\Ingestion\SourceWatchResponse|array<string, mixed>
* @return \Algolia\AlgoliaSearch\Model\Ingestion\WatchResponse|array<string, mixed>
*/
public function validateSourceBeforeUpdate($sourceID, $sourceUpdate, $requestOptions = [])
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
use Algolia\AlgoliaSearch\Model\ModelInterface;

/**
* SourceWatchResponse Class Doc Comment.
* WatchResponse Class Doc Comment.
*
* @category Class
*/
class SourceWatchResponse extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
class WatchResponse extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
{
/**
* Array of property to type mappings. Used for (de)serialization.
Expand Down Expand Up @@ -218,7 +218,7 @@ public function getData()
/**
* Sets data.
*
* @param null|object[] $data depending on the source type, the validation returns sampling data of your source (JSON, CSV, BigQuery)
* @param null|object[] $data when used with discovering or validating sources, the sampled data of your source is returned
*
* @return self
*/
Expand Down

0 comments on commit 34e0ce9

Please sign in to comment.