diff --git a/src/gen/docs/models/LeadsFilter.md b/src/gen/docs/models/LeadsFilter.md index 13d28723e..d72e4953a 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 9aa98ce0c..22fff4025 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 f2e00aab4..80f50cb12 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'); + } }