diff --git a/lib/Api/IngestionClient.php b/lib/Api/IngestionClient.php index 336811a0..518816bd 100644 --- a/lib/Api/IngestionClient.php +++ b/lib/Api/IngestionClient.php @@ -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 + * @return \Algolia\AlgoliaSearch\Model\Ingestion\WatchResponse|array */ public function pushTask($taskID, $pushTaskPayload, $watch = null, $requestOptions = []) { @@ -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 + * @return \Algolia\AlgoliaSearch\Model\Ingestion\WatchResponse|array */ public function triggerDockerSourceDiscover($sourceID, $requestOptions = []) { @@ -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 + * @return \Algolia\AlgoliaSearch\Model\Ingestion\WatchResponse|array */ public function validateSource($sourceCreate = null, $requestOptions = []) { @@ -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 + * @return \Algolia\AlgoliaSearch\Model\Ingestion\WatchResponse|array */ public function validateSourceBeforeUpdate($sourceID, $sourceUpdate, $requestOptions = []) { diff --git a/lib/Model/Ingestion/SourceWatchResponse.php b/lib/Model/Ingestion/WatchResponse.php similarity index 96% rename from lib/Model/Ingestion/SourceWatchResponse.php rename to lib/Model/Ingestion/WatchResponse.php index 8b99f6b1..a56b685e 100644 --- a/lib/Model/Ingestion/SourceWatchResponse.php +++ b/lib/Model/Ingestion/WatchResponse.php @@ -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. @@ -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 */