diff --git a/line-openapi b/line-openapi index fa5577c9..967498a4 160000 --- a/line-openapi +++ b/line-openapi @@ -1 +1 @@ -Subproject commit fa5577c9ea874d2dbd8fadc85a4cb3a1b29d8cbe +Subproject commit 967498a4e192914679ad0571d5845b29aa9755de diff --git a/src/clients/messaging-api/lib/Model/AltUri.php b/src/clients/messaging-api/lib/Model/AltUri.php index 53bceae4..7b1ef631 100644 --- a/src/clients/messaging-api/lib/Model/AltUri.php +++ b/src/clients/messaging-api/lib/Model/AltUri.php @@ -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)) { @@ -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.'); diff --git a/src/clients/messaging-api/lib/Model/URIAction.php b/src/clients/messaging-api/lib/Model/URIAction.php index 6c32b0b8..8142e0de 100644 --- a/src/clients/messaging-api/lib/Model/URIAction.php +++ b/src/clients/messaging-api/lib/Model/URIAction.php @@ -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; } @@ -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;