From e15a1cb964613fe216443fb7928deea3da3a4ca2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 5 Sep 2024 11:07:26 +0000 Subject: [PATCH] Automated update by SDK Generator version:3.5.2 commit:2e29db9 --- src/gen/docs/models/LeadsFilter.md | 1 + src/gen/lib/Model/LeadsFilter.php | 40 ++++++++++++++++++++++---- src/gen/test/Model/LeadsFilterTest.php | 9 ++++++ 3 files changed, 45 insertions(+), 5 deletions(-) diff --git a/src/gen/docs/models/LeadsFilter.md b/src/gen/docs/models/LeadsFilter.md index 13d28723e9..d72e4953ae 100644 --- a/src/gen/docs/models/LeadsFilter.md +++ b/src/gen/docs/models/LeadsFilter.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes `first_name` | **string** | First name of the lead to filter on | [optional] `last_name` | **string** | Last name of the lead to filter on | [optional] `email` | **string** | E-mail of the lead to filter on | [optional] +`phone_number` | **string** | Phone number of the lead to filter on | [optional] diff --git a/src/gen/lib/Model/LeadsFilter.php b/src/gen/lib/Model/LeadsFilter.php index 9aa98ce0c5..22fff4025b 100644 --- a/src/gen/lib/Model/LeadsFilter.php +++ b/src/gen/lib/Model/LeadsFilter.php @@ -62,7 +62,8 @@ class LeadsFilter implements ModelInterface, ArrayAccess, \JsonSerializable 'name' => 'string', 'first_name' => 'string', 'last_name' => 'string', - 'email' => 'string' + 'email' => 'string', + 'phone_number' => 'string' ]; /** @@ -76,7 +77,8 @@ class LeadsFilter implements ModelInterface, ArrayAccess, \JsonSerializable 'name' => null, 'first_name' => null, 'last_name' => null, - 'email' => null + 'email' => null, + 'phone_number' => null ]; /** @@ -109,7 +111,8 @@ public static function openAPIFormats() 'name' => 'name', 'first_name' => 'first_name', 'last_name' => 'last_name', - 'email' => 'email' + 'email' => 'email', + 'phone_number' => 'phone_number' ]; /** @@ -121,7 +124,8 @@ public static function openAPIFormats() 'name' => 'setName', 'first_name' => 'setFirstName', 'last_name' => 'setLastName', - 'email' => 'setEmail' + 'email' => 'setEmail', + 'phone_number' => 'setPhoneNumber' ]; /** @@ -133,7 +137,8 @@ public static function openAPIFormats() 'name' => 'getName', 'first_name' => 'getFirstName', 'last_name' => 'getLastName', - 'email' => 'getEmail' + 'email' => 'getEmail', + 'phone_number' => 'getPhoneNumber' ]; /** @@ -197,6 +202,7 @@ public function __construct(array $data = null) $this->container['first_name'] = $data['first_name'] ?? null; $this->container['last_name'] = $data['last_name'] ?? null; $this->container['email'] = $data['email'] ?? null; + $this->container['phone_number'] = $data['phone_number'] ?? null; } /** @@ -318,6 +324,30 @@ public function setEmail($email) return $this; } + + /** + * Gets phone_number + * + * @return string|null + */ + public function getPhoneNumber() + { + return $this->container['phone_number']; + } + + /** + * Sets phone_number + * + * @param string|null $phone_number Phone number of the lead to filter on + * + * @return self + */ + public function setPhoneNumber($phone_number) + { + $this->container['phone_number'] = $phone_number; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/src/gen/test/Model/LeadsFilterTest.php b/src/gen/test/Model/LeadsFilterTest.php index f2e00aab4e..80f50cb12a 100644 --- a/src/gen/test/Model/LeadsFilterTest.php +++ b/src/gen/test/Model/LeadsFilterTest.php @@ -114,4 +114,13 @@ public function testPropertyEmail() // TODO: implement $this->markTestIncomplete('Not implemented'); } + + /** + * Test attribute "phone_number" + */ + public function testPropertyPhoneNumber() + { + // TODO: implement + $this->markTestIncomplete('Not implemented'); + } }