Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion line-openapi
8 changes: 4 additions & 4 deletions src/clients/messaging-api/lib/Model/AltUri.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ public function listInvalidProperties()
{
$invalidProperties = [];

if (!is_null($this->container['desktop']) && (mb_strlen($this->container['desktop']) > 1000)) {
$invalidProperties[] = "invalid value for 'desktop', the character length must be smaller than or equal to 1000.";
if (!is_null($this->container['desktop']) && (mb_strlen($this->container['desktop']) > 10000)) {
$invalidProperties[] = "invalid value for 'desktop', the character length must be smaller than or equal to 10000.";
}

if (!is_null($this->container['desktop']) && (mb_strlen($this->container['desktop']) < 0)) {
Expand Down Expand Up @@ -330,8 +330,8 @@ public function setDesktop($desktop)
if (is_null($desktop)) {
throw new \InvalidArgumentException('non-nullable desktop cannot be null');
}
if ((mb_strlen($desktop) > 1000)) {
throw new \InvalidArgumentException('invalid length for $desktop when calling AltUri., must be smaller than or equal to 1000.');
if ((mb_strlen($desktop) > 10000)) {
throw new \InvalidArgumentException('invalid length for $desktop when calling AltUri., must be smaller than or equal to 10000.');
}
if ((mb_strlen($desktop) < 0)) {
throw new \InvalidArgumentException('invalid length for $desktop when calling AltUri., must be bigger than or equal to 0.');
Expand Down
8 changes: 8 additions & 0 deletions src/clients/messaging-api/lib/Model/URIAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,10 @@ public function listInvalidProperties()
{
$invalidProperties = parent::listInvalidProperties();

if (!is_null($this->container['uri']) && (mb_strlen($this->container['uri']) > 10000)) {
$invalidProperties[] = "invalid value for 'uri', the character length must be smaller than or equal to 10000.";
}

return $invalidProperties;
}

Expand Down Expand Up @@ -331,6 +335,10 @@ public function setUri($uri)
if (is_null($uri)) {
throw new \InvalidArgumentException('non-nullable uri cannot be null');
}
if ((mb_strlen($uri) > 10000)) {
throw new \InvalidArgumentException('invalid length for $uri when calling URIAction., must be smaller than or equal to 10000.');
}

$this->container['uri'] = $uri;

return $this;
Expand Down
Loading