Skip to content

Commit

Permalink
fix(specs): nb_api_calls in getLogs response is optional (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#4142

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
  • Loading branch information
algolia-bot and shortcuts committed Nov 22, 2024
1 parent 4e6a429 commit 1183f87
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/Model/Search/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,6 @@ public function listInvalidProperties()
if (!isset($this->container['sha1']) || null === $this->container['sha1']) {
$invalidProperties[] = "'sha1' can't be null";
}
if (!isset($this->container['nbApiCalls']) || null === $this->container['nbApiCalls']) {
$invalidProperties[] = "'nbApiCalls' can't be null";
}
if (!isset($this->container['processingTimeMs']) || null === $this->container['processingTimeMs']) {
$invalidProperties[] = "'processingTimeMs' can't be null";
}
Expand Down Expand Up @@ -518,7 +515,7 @@ public function setSha1($sha1)
/**
* Gets nbApiCalls.
*
* @return string
* @return null|string
*/
public function getNbApiCalls()
{
Expand All @@ -528,7 +525,7 @@ public function getNbApiCalls()
/**
* Sets nbApiCalls.
*
* @param string $nbApiCalls number of API requests
* @param null|string $nbApiCalls number of API requests
*
* @return self
*/
Expand Down

0 comments on commit 1183f87

Please sign in to comment.