Skip to content

Commit 062122d

Browse files
algolia-botmillotp
andcommitted
fix(specs): message is not required in WatchResponse (generated)
algolia/api-clients-automation#4723 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 99b24e9 commit 062122d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/Model/Ingestion/WatchResponse.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ public function listInvalidProperties()
163163
{
164164
$invalidProperties = [];
165165

166-
if (!isset($this->container['message']) || null === $this->container['message']) {
167-
$invalidProperties[] = "'message' can't be null";
166+
if (!isset($this->container['runID']) || null === $this->container['runID']) {
167+
$invalidProperties[] = "'runID' can't be null";
168168
}
169169

170170
return $invalidProperties;
@@ -184,7 +184,7 @@ public function valid()
184184
/**
185185
* Gets runID.
186186
*
187-
* @return null|string
187+
* @return string
188188
*/
189189
public function getRunID()
190190
{
@@ -194,7 +194,7 @@ public function getRunID()
194194
/**
195195
* Sets runID.
196196
*
197-
* @param null|string $runID universally unique identifier (UUID) of a task run
197+
* @param string $runID universally unique identifier (UUID) of a task run
198198
*
199199
* @return self
200200
*/
@@ -256,7 +256,7 @@ public function setEvents($events)
256256
/**
257257
* Gets message.
258258
*
259-
* @return string
259+
* @return null|string
260260
*/
261261
public function getMessage()
262262
{
@@ -266,7 +266,7 @@ public function getMessage()
266266
/**
267267
* Sets message.
268268
*
269-
* @param string $message a message describing the outcome of a validate run
269+
* @param null|string $message a message describing the outcome of a validate run
270270
*
271271
* @return self
272272
*/

0 commit comments

Comments
 (0)