GetSmtpTemplateOverview.php in SendinBlue 8.2
File
src/Tools/Model/GetSmtpTemplateOverview.php
View source
<?php
namespace Drupal\sendinblue\Tools\Model;
class GetSmtpTemplateOverview {
public $id;
public $name;
public $subject;
public $htmlContent;
public $fromEmail;
public $fromName;
public function __construct(array $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() : string {
return $this->id;
}
public function setId(string $id) {
$this->id = $id;
}
public function getName() : string {
return $this->name;
}
public function setName(string $name) {
$this->name = $name;
}
public function getSubject() : string {
return $this->subject;
}
public function setSubject(string $subject) {
$this->subject = $subject;
}
public function getHtmlContent() : string {
return $this->htmlContent;
}
public function setHtmlContent(string $htmlContent) {
$this->htmlContent = $htmlContent;
}
public function getFromEmail() : string {
return $this->fromEmail;
}
public function setFromEmail(string $fromEmail) {
$this->fromEmail = $fromEmail;
}
public function getFromName() : string {
return $this->fromName;
}
public function setFromName(string $fromName) {
$this->fromName = $fromName;
}
}