From 0911cce947520f6045a4687f654d62da73a3d438 Mon Sep 17 00:00:00 2001 From: omrsu Date: Wed, 26 Feb 2025 16:21:05 +0100 Subject: [PATCH] Update GetAttributesAttributes.php --- lib/Model/GetAttributesAttributes.php | 37 +++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 5 deletions(-) diff --git a/lib/Model/GetAttributesAttributes.php b/lib/Model/GetAttributesAttributes.php index bb92fc0..a31c13a 100644 --- a/lib/Model/GetAttributesAttributes.php +++ b/lib/Model/GetAttributesAttributes.php @@ -61,7 +61,8 @@ class GetAttributesAttributes implements ModelInterface, ArrayAccess 'category' => 'string', 'type' => 'string', 'enumeration' => '\Brevo\Client\Model\GetAttributesEnumeration[]', - 'calculatedValue' => 'string' + 'calculatedValue' => 'string', + 'multiCategoryOptions' => 'string[]' ]; /** @@ -74,7 +75,8 @@ class GetAttributesAttributes implements ModelInterface, ArrayAccess 'category' => null, 'type' => null, 'enumeration' => null, - 'calculatedValue' => null + 'calculatedValue' => null, + 'multiCategoryOptions' => null ]; /** @@ -108,7 +110,8 @@ public static function swaggerFormats() 'category' => 'category', 'type' => 'type', 'enumeration' => 'enumeration', - 'calculatedValue' => 'calculatedValue' + 'calculatedValue' => 'calculatedValue', + 'multiCategoryOptions' => 'multiCategoryOptions' ]; /** @@ -121,7 +124,8 @@ public static function swaggerFormats() 'category' => 'setCategory', 'type' => 'setType', 'enumeration' => 'setEnumeration', - 'calculatedValue' => 'setCalculatedValue' + 'calculatedValue' => 'setCalculatedValue', + 'multiCategoryOptions' => 'setMultiCategoryOptions' ]; /** @@ -134,7 +138,8 @@ public static function swaggerFormats() 'category' => 'getCategory', 'type' => 'getType', 'enumeration' => 'getEnumeration', - 'calculatedValue' => 'getCalculatedValue' + 'calculatedValue' => 'getCalculatedValue', + 'multiCategoryOptions' => 'getMultiCategoryOptions' ]; /** @@ -188,6 +193,7 @@ public function getModelName() const TYPE_FLOAT = 'float'; const TYPE_ID = 'id'; const TYPE_BOOLEAN = 'boolean'; + const TYPE_MULTIPLE_CHOICE = 'multiple-choice'; @@ -220,6 +226,7 @@ public function getTypeAllowableValues() self::TYPE_FLOAT, self::TYPE_ID, self::TYPE_BOOLEAN, + self::MULTIPLE_CHOICE ]; } @@ -244,6 +251,7 @@ public function __construct(array $data = null) $this->container['type'] = isset($data['type']) ? $data['type'] : null; $this->container['enumeration'] = isset($data['enumeration']) ? $data['enumeration'] : null; $this->container['calculatedValue'] = isset($data['calculatedValue']) ? $data['calculatedValue'] : null; + $this->container['multiCategoryOptions'] = isset($data['multiCategoryOptions']) ? $data['multiCategoryOptions'] : null; } /** @@ -316,6 +324,25 @@ public function setName($name) return $this; } + public function getMultiCategoryOptions() + { + return $this->container['multiCategoryOptions']; + } + + /** + * Sets name + * + * @param string $name Name of the attribute + * + * @return $this + */ + public function setMultiCategoryOptions($name) + { + $this->container['multiCategoryOptions'] = $name; + + return $this; + } + /** * Gets category *