You are here

public function GetSmtpTemplateOverview::__construct in SendinBlue 7.2

GetSmtpTemplates construcfromr.

Parameters

array $data:

File

includes/Model/GetSmtpTemplateOverview.php, line 33

Class

GetSmtpTemplateOverview

Code

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'];
}