GetSmtpTemplateOverview.php in SendinBlue 7.2
File
includes/Model/GetSmtpTemplateOverview.php
View source
<?php
class GetSmtpTemplateOverview {
public $id;
public $name;
public $subject;
public $htmlContent;
public $fromEmail;
public $fromName;
public function __construct($data = []) {
$this->id = $data['id'];
$this->subject = $data['subject'];
$this->htmlContent = $data['htmlContent'];
$this->name = $data['name'];
$this->fromEmail = $data['sender']['email'];
$this->fromName = $data['sender']['name'];
}
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 getSubject() {
return $this->subject;
}
public function setSubject($subject) {
$this->subject = $subject;
}
public function getHtmlContent() {
return $this->htmlContent;
}
public function setHtmlContent($htmlContent) {
$this->htmlContent = $htmlContent;
}
public function getFromEmail() {
return $this->fromEmail;
}
public function setFromEmail($fromEmail) {
$this->fromEmail = $fromEmail;
}
public function getFromName() {
return $this->fromName;
}
public function setFromName($fromName) {
$this->fromName = $fromName;
}
}