GetExtendedList.php in SendinBlue 7.2
File
includes/Model/GetExtendedList.php
View source
<?php
class GetExtendedList {
public $id;
public $name;
public $totalBlacklisted = 0;
public $totalSubscribers = 0;
public $folderId;
public $createdAt;
public $dynamicList;
public function __construct($data = []) {
$this
->setId($data['id']);
$this
->setName($data['name']);
$this
->setTotalBlacklisted($data['totalBlacklisted']);
$this
->setTotalSubscribers($data['totalSubscribers']);
$this
->setFolderId($data['folderId']);
$this
->setDynamicList($data['dynamicList']);
if (!empty($data['createdAt'])) {
$this
->setCreatedAt(new \DateTime($data['createdAt']));
}
}
public function getId() {
return $this->id;
}
public function setId($id) {
$this->id = $id;
}
public function getName() {
return $this->name;
}
public function setName($name) {
$this->name = $name;
}
public function getTotalBlacklisted() {
return $this->totalBlacklisted;
}
public function setTotalBlacklisted($totalBlacklisted) {
$this->totalBlacklisted = $totalBlacklisted;
}
public function getTotalSubscribers() {
return $this->totalSubscribers;
}
public function setTotalSubscribers($totalSubscribers) {
$this->totalSubscribers = $totalSubscribers;
}
public function getFolderId() {
return $this->folderId;
}
public function setFolderId($folderId) {
$this->folderId = $folderId;
}
public function getCreatedAt() {
return $this->createdAt;
}
public function setCreatedAt($createdAt) {
$this->createdAt = $createdAt;
}
public function getDynamicList() {
return $this->dynamicList;
}
public function setDynamicList($dynamicList) {
$this->dynamicList = $dynamicList;
}
}