@@ -61,7 +61,6 @@ class WhatsappCreateTemplateRequest implements ModelInterface, ArrayAccess, \Jso
6161 protected static $ openAPITypes = [
6262 'name ' => 'string ' ,
6363 'category ' => '\Messente\Api\Model\WhatsappTemplateCategory ' ,
64- 'allowCategoryChange ' => 'bool ' ,
6564 'language ' => 'string ' ,
6665 'components ' => '\Messente\Api\Model\WhatsappTemplateComponent[] '
6766 ];
@@ -76,7 +75,6 @@ class WhatsappCreateTemplateRequest implements ModelInterface, ArrayAccess, \Jso
7675 protected static $ openAPIFormats = [
7776 'name ' => null ,
7877 'category ' => null ,
79- 'allowCategoryChange ' => null ,
8078 'language ' => null ,
8179 'components ' => null
8280 ];
@@ -89,7 +87,6 @@ class WhatsappCreateTemplateRequest implements ModelInterface, ArrayAccess, \Jso
8987 protected static array $ openAPINullables = [
9088 'name ' => false ,
9189 'category ' => false ,
92- 'allowCategoryChange ' => false ,
9390 'language ' => false ,
9491 'components ' => false
9592 ];
@@ -182,7 +179,6 @@ public function isNullableSetToNull(string $property): bool
182179 protected static $ attributeMap = [
183180 'name ' => 'name ' ,
184181 'category ' => 'category ' ,
185- 'allowCategoryChange ' => 'allow_category_change ' ,
186182 'language ' => 'language ' ,
187183 'components ' => 'components '
188184 ];
@@ -195,7 +191,6 @@ public function isNullableSetToNull(string $property): bool
195191 protected static $ setters = [
196192 'name ' => 'setName ' ,
197193 'category ' => 'setCategory ' ,
198- 'allowCategoryChange ' => 'setAllowCategoryChange ' ,
199194 'language ' => 'setLanguage ' ,
200195 'components ' => 'setComponents '
201196 ];
@@ -208,7 +203,6 @@ public function isNullableSetToNull(string $property): bool
208203 protected static $ getters = [
209204 'name ' => 'getName ' ,
210205 'category ' => 'getCategory ' ,
211- 'allowCategoryChange ' => 'getAllowCategoryChange ' ,
212206 'language ' => 'getLanguage ' ,
213207 'components ' => 'getComponents '
214208 ];
@@ -272,7 +266,6 @@ public function __construct(?array $data = null)
272266 {
273267 $ this ->setIfExists ('name ' , $ data ?? [], null );
274268 $ this ->setIfExists ('category ' , $ data ?? [], null );
275- $ this ->setIfExists ('allowCategoryChange ' , $ data ?? [], false );
276269 $ this ->setIfExists ('language ' , $ data ?? [], null );
277270 $ this ->setIfExists ('components ' , $ data ?? [], null );
278271 }
@@ -385,33 +378,6 @@ public function setCategory($category)
385378 return $ this ;
386379 }
387380
388- /**
389- * Gets allowCategoryChange
390- *
391- * @return bool|null
392- */
393- public function getAllowCategoryChange ()
394- {
395- return $ this ->container ['allowCategoryChange ' ];
396- }
397-
398- /**
399- * Sets allowCategoryChange
400- *
401- * @param bool|null $allowCategoryChange Allow category change
402- *
403- * @return self
404- */
405- public function setAllowCategoryChange ($ allowCategoryChange )
406- {
407- if (is_null ($ allowCategoryChange )) {
408- throw new \InvalidArgumentException ('non-nullable allowCategoryChange cannot be null ' );
409- }
410- $ this ->container ['allowCategoryChange ' ] = $ allowCategoryChange ;
411-
412- return $ this ;
413- }
414-
415381 /**
416382 * Gets language
417383 *
0 commit comments