GetExtendedContactDetails.php in SendinBlue 7.2
File
includes/Model/GetExtendedContactDetails.php
View source
<?php
class GetExtendedContactDetails {
public $email;
public $id = 0;
public $emailBlacklisted;
public $smsBlacklisted;
public $createdAt;
public $modifiedAt;
public $listIds;
public $attributes;
public function __construct($data = []) {
$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']);
if (isset($data['id'])) {
$this
->setId($data['id']);
}
if (isset($data['attributes'])) {
$this
->setAttributes($data['attributes']);
}
}
public function getEmail() {
return $this->email;
}
public function setEmail($email) {
$this->email = $email;
}
public function getId() {
return $this->id;
}
public function setId($id) {
$this->id = $id;
}
public function isEmailBlacklisted() {
return $this->emailBlacklisted;
}
public function setEmailBlacklisted($emailBlacklisted) {
$this->emailBlacklisted = $emailBlacklisted;
}
public function isSmsBlacklisted() {
return $this->smsBlacklisted;
}
public function setSmsBlacklisted($smsBlacklisted) {
$this->smsBlacklisted = $smsBlacklisted;
}
public function getCreatedAt() {
return $this->createdAt;
}
public function setCreatedAt($createdAt) {
$this->createdAt = $createdAt;
}
public function getModifiedAt() {
return $this->modifiedAt;
}
public function setModifiedAt($modifiedAt) {
$this->modifiedAt = $modifiedAt;
}
public function getListIds() {
return $this->listIds;
}
public function setListIds($listIds) {
$this->listIds = $listIds;
}
public function getAttributes() {
return $this->attributes;
}
public function setAttributes($attributes) {
$this->attributes = $attributes;
}
}