Skip to content

Commit

Permalink
Automated update by SDK Generator version:3.5.2 commit:2e29db9
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 5, 2024
1 parent c63f380 commit e15a1cb
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/gen/docs/models/LeadsFilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]



Expand Down
40 changes: 35 additions & 5 deletions src/gen/lib/Model/LeadsFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'
];

/**
Expand All @@ -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
];

/**
Expand Down Expand Up @@ -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'
];

/**
Expand All @@ -121,7 +124,8 @@ public static function openAPIFormats()
'name' => 'setName',
'first_name' => 'setFirstName',
'last_name' => 'setLastName',
'email' => 'setEmail'
'email' => 'setEmail',
'phone_number' => 'setPhoneNumber'
];

/**
Expand All @@ -133,7 +137,8 @@ public static function openAPIFormats()
'name' => 'getName',
'first_name' => 'getFirstName',
'last_name' => 'getLastName',
'email' => 'getEmail'
'email' => 'getEmail',
'phone_number' => 'getPhoneNumber'
];

/**
Expand Down Expand Up @@ -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;
}

/**
Expand Down Expand Up @@ -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.
*
Expand Down
9 changes: 9 additions & 0 deletions src/gen/test/Model/LeadsFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}

0 comments on commit e15a1cb

Please sign in to comment.