public function GetExtendedContactDetails::__construct in SendinBlue 8.2
Same name and namespace in other branches
- 8 src/Tools/Model/GetExtendedContactDetails.php \Drupal\sendinblue\Tools\Model\GetExtendedContactDetails::__construct()
GetExtendedContactDetails constructor.
File
- src/
Tools/ Model/ GetExtendedContactDetails.php, line 38
Class
Namespace
Drupal\sendinblue\Tools\ModelCode
public function __construct(array $data = []) {
$this
->setId($data['id']);
$this
->setEmail($data['email']);
$this
->setSmsBlacklisted($data['smsBlacklisted']);
$this
->setEmailBlacklisted($data['emailBlacklisted']);
$this
->setCreatedAt(new \DateTime($data['createdAt']));
$this
->setModifiedAt(new \DateTime($data['modifiedAt']));
$this
->setListIds($data['listIds']);
$this
->setAttributes($data['attributes']);
}