Skip to content

Commit

Permalink
docs(specs): update api's length minimum value (#3574) (generated) [s…
Browse files Browse the repository at this point in the history
…kip ci]

Co-authored-by: Matthieu Dumont <5095856+Jerska@users.noreply.github.com>
  • Loading branch information
algolia-bot and Jerska committed Aug 22, 2024
1 parent 9b6dc0b commit 2b70f87
Show file tree
Hide file tree
Showing 61 changed files with 102 additions and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ final class BaseSearchParams {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ final class BaseSearchParamsWithoutQuery {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ final class BrowseParamsObject {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ final class ConsequenceParams {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ final class FallbackParams {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ final class SearchForFacets {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ final class SearchForHits {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ final class SearchParams {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ final class SearchParamsObject {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ final class BaseSearchParams {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ final class BaseSearchParamsWithoutQuery {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ final class FallbackParams {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ final class SearchParams {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ final class SearchParamsObject {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ final class BaseSearchParams {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ final class BaseSearchParamsWithoutQuery {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ final class BrowseParamsObject {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ final class ConsequenceParams {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ final class SearchForFacets {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ final class SearchForHits {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ final class SearchParamsObject {
final int? offset;

/// Number of hits to retrieve (used in combination with `offset`).
// minimum: 1
// minimum: 0
// maximum: 1000
@JsonKey(name: r'length')
final int? length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ public FallbackParams setLength(Integer length) {
return this;
}

/** Number of hits to retrieve (used in combination with `offset`). minimum: 1 maximum: 1000 */
/** Number of hits to retrieve (used in combination with `offset`). minimum: 0 maximum: 1000 */
@javax.annotation.Nullable
public Integer getLength() {
return length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ public SearchParams setLength(Integer length) {
return this;
}

/** Number of hits to retrieve (used in combination with `offset`). minimum: 1 maximum: 1000 */
/** Number of hits to retrieve (used in combination with `offset`). minimum: 0 maximum: 1000 */
@javax.annotation.Nullable
public Integer getLength() {
return length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ public SearchParamsObject setLength(Integer length) {
return this;
}

/** Number of hits to retrieve (used in combination with `offset`). minimum: 1 maximum: 1000 */
/** Number of hits to retrieve (used in combination with `offset`). minimum: 0 maximum: 1000 */
@javax.annotation.Nullable
public Integer getLength() {
return length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ public BrowseParamsObject setLength(Integer length) {
return this;
}

/** Number of hits to retrieve (used in combination with `offset`). minimum: 1 maximum: 1000 */
/** Number of hits to retrieve (used in combination with `offset`). minimum: 0 maximum: 1000 */
@javax.annotation.Nullable
public Integer getLength() {
return length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public ConsequenceParams setLength(Integer length) {
return this;
}

/** Number of hits to retrieve (used in combination with `offset`). minimum: 1 maximum: 1000 */
/** Number of hits to retrieve (used in combination with `offset`). minimum: 0 maximum: 1000 */
@javax.annotation.Nullable
public Integer getLength() {
return length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ public SearchForFacets setLength(Integer length) {
return this;
}

/** Number of hits to retrieve (used in combination with `offset`). minimum: 1 maximum: 1000 */
/** Number of hits to retrieve (used in combination with `offset`). minimum: 0 maximum: 1000 */
@javax.annotation.Nullable
public Integer getLength() {
return length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ public SearchForHits setLength(Integer length) {
return this;
}

/** Number of hits to retrieve (used in combination with `offset`). minimum: 1 maximum: 1000 */
/** Number of hits to retrieve (used in combination with `offset`). minimum: 0 maximum: 1000 */
@javax.annotation.Nullable
public Integer getLength() {
return length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ public SearchParamsObject setLength(Integer length) {
return this;
}

/** Number of hits to retrieve (used in combination with `offset`). minimum: 1 maximum: 1000 */
/** Number of hits to retrieve (used in combination with `offset`). minimum: 0 maximum: 1000 */
@javax.annotation.Nullable
public Integer getLength() {
return length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -746,8 +746,8 @@ public function listInvalidProperties()
$invalidProperties[] = "invalid value for 'length', must be smaller than or equal to 1000.";
}

if (isset($this->container['length']) && ($this->container['length'] < 1)) {
$invalidProperties[] = "invalid value for 'length', must be bigger than or equal to 1.";
if (isset($this->container['length']) && ($this->container['length'] < 0)) {
$invalidProperties[] = "invalid value for 'length', must be bigger than or equal to 0.";
}

if (isset($this->container['minimumAroundRadius']) && ($this->container['minimumAroundRadius'] < 1)) {
Expand Down Expand Up @@ -1138,8 +1138,8 @@ public function setLength($length)
if (!is_null($length) && ($length > 1000)) {
throw new \InvalidArgumentException('invalid value for $length when calling FallbackParams., must be smaller than or equal to 1000.');
}
if (!is_null($length) && ($length < 1)) {
throw new \InvalidArgumentException('invalid value for $length when calling FallbackParams., must be bigger than or equal to 1.');
if (!is_null($length) && ($length < 0)) {
throw new \InvalidArgumentException('invalid value for $length when calling FallbackParams., must be bigger than or equal to 0.');
}

$this->container['length'] = $length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -746,8 +746,8 @@ public function listInvalidProperties()
$invalidProperties[] = "invalid value for 'length', must be smaller than or equal to 1000.";
}

if (isset($this->container['length']) && ($this->container['length'] < 1)) {
$invalidProperties[] = "invalid value for 'length', must be bigger than or equal to 1.";
if (isset($this->container['length']) && ($this->container['length'] < 0)) {
$invalidProperties[] = "invalid value for 'length', must be bigger than or equal to 0.";
}

if (isset($this->container['minimumAroundRadius']) && ($this->container['minimumAroundRadius'] < 1)) {
Expand Down Expand Up @@ -1138,8 +1138,8 @@ public function setLength($length)
if (!is_null($length) && ($length > 1000)) {
throw new \InvalidArgumentException('invalid value for $length when calling SearchParams., must be smaller than or equal to 1000.');
}
if (!is_null($length) && ($length < 1)) {
throw new \InvalidArgumentException('invalid value for $length when calling SearchParams., must be bigger than or equal to 1.');
if (!is_null($length) && ($length < 0)) {
throw new \InvalidArgumentException('invalid value for $length when calling SearchParams., must be bigger than or equal to 0.');
}

$this->container['length'] = $length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -748,8 +748,8 @@ public function listInvalidProperties()
$invalidProperties[] = "invalid value for 'length', must be smaller than or equal to 1000.";
}

if (isset($this->container['length']) && ($this->container['length'] < 1)) {
$invalidProperties[] = "invalid value for 'length', must be bigger than or equal to 1.";
if (isset($this->container['length']) && ($this->container['length'] < 0)) {
$invalidProperties[] = "invalid value for 'length', must be bigger than or equal to 0.";
}

if (isset($this->container['minimumAroundRadius']) && ($this->container['minimumAroundRadius'] < 1)) {
Expand Down Expand Up @@ -1140,8 +1140,8 @@ public function setLength($length)
if (!is_null($length) && ($length > 1000)) {
throw new \InvalidArgumentException('invalid value for $length when calling SearchParamsObject., must be smaller than or equal to 1000.');
}
if (!is_null($length) && ($length < 1)) {
throw new \InvalidArgumentException('invalid value for $length when calling SearchParamsObject., must be bigger than or equal to 1.');
if (!is_null($length) && ($length < 0)) {
throw new \InvalidArgumentException('invalid value for $length when calling SearchParamsObject., must be bigger than or equal to 0.');
}

$this->container['length'] = $length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -762,8 +762,8 @@ public function listInvalidProperties()
$invalidProperties[] = "invalid value for 'length', must be smaller than or equal to 1000.";
}

if (isset($this->container['length']) && ($this->container['length'] < 1)) {
$invalidProperties[] = "invalid value for 'length', must be bigger than or equal to 1.";
if (isset($this->container['length']) && ($this->container['length'] < 0)) {
$invalidProperties[] = "invalid value for 'length', must be bigger than or equal to 0.";
}

if (isset($this->container['minimumAroundRadius']) && ($this->container['minimumAroundRadius'] < 1)) {
Expand Down Expand Up @@ -1178,8 +1178,8 @@ public function setLength($length)
if (!is_null($length) && ($length > 1000)) {
throw new \InvalidArgumentException('invalid value for $length when calling BrowseParams., must be smaller than or equal to 1000.');
}
if (!is_null($length) && ($length < 1)) {
throw new \InvalidArgumentException('invalid value for $length when calling BrowseParams., must be bigger than or equal to 1.');
if (!is_null($length) && ($length < 0)) {
throw new \InvalidArgumentException('invalid value for $length when calling BrowseParams., must be bigger than or equal to 0.');
}

$this->container['length'] = $length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -754,8 +754,8 @@ public function listInvalidProperties()
$invalidProperties[] = "invalid value for 'length', must be smaller than or equal to 1000.";
}

if (isset($this->container['length']) && ($this->container['length'] < 1)) {
$invalidProperties[] = "invalid value for 'length', must be bigger than or equal to 1.";
if (isset($this->container['length']) && ($this->container['length'] < 0)) {
$invalidProperties[] = "invalid value for 'length', must be bigger than or equal to 0.";
}

if (isset($this->container['minimumAroundRadius']) && ($this->container['minimumAroundRadius'] < 1)) {
Expand Down Expand Up @@ -1146,8 +1146,8 @@ public function setLength($length)
if (!is_null($length) && ($length > 1000)) {
throw new \InvalidArgumentException('invalid value for $length when calling BrowseParamsObject., must be smaller than or equal to 1000.');
}
if (!is_null($length) && ($length < 1)) {
throw new \InvalidArgumentException('invalid value for $length when calling BrowseParamsObject., must be bigger than or equal to 1.');
if (!is_null($length) && ($length < 0)) {
throw new \InvalidArgumentException('invalid value for $length when calling BrowseParamsObject., must be bigger than or equal to 0.');
}

$this->container['length'] = $length;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -762,8 +762,8 @@ public function listInvalidProperties()
$invalidProperties[] = "invalid value for 'length', must be smaller than or equal to 1000.";
}

if (isset($this->container['length']) && ($this->container['length'] < 1)) {
$invalidProperties[] = "invalid value for 'length', must be bigger than or equal to 1.";
if (isset($this->container['length']) && ($this->container['length'] < 0)) {
$invalidProperties[] = "invalid value for 'length', must be bigger than or equal to 0.";
}

if (isset($this->container['minimumAroundRadius']) && ($this->container['minimumAroundRadius'] < 1)) {
Expand Down Expand Up @@ -1130,8 +1130,8 @@ public function setLength($length)
if (!is_null($length) && ($length > 1000)) {
throw new \InvalidArgumentException('invalid value for $length when calling ConsequenceParams., must be smaller than or equal to 1000.');
}
if (!is_null($length) && ($length < 1)) {
throw new \InvalidArgumentException('invalid value for $length when calling ConsequenceParams., must be bigger than or equal to 1.');
if (!is_null($length) && ($length < 0)) {
throw new \InvalidArgumentException('invalid value for $length when calling ConsequenceParams., must be bigger than or equal to 0.');
}

$this->container['length'] = $length;
Expand Down
Loading

0 comments on commit 2b70f87

Please sign in to comment.