GetSmtpDetails.php in SendinBlue 8.2
File
src/Tools/Model/GetSmtpDetails.php
View source
<?php
namespace Drupal\sendinblue\Tools\Model;
class GetSmtpDetails {
public $userName;
public $relay;
public $port;
private $enabled;
public function __construct(string $userName, string $relay, int $port, bool $enabled) {
$this->userName = $userName;
$this->relay = $relay;
$this->port = $port;
$this->enabled = $enabled;
}
public function getUserName() : string {
return $this->userName;
}
public function setUserName(string $userName) {
$this->userName = $userName;
}
public function getRelay() : string {
return $this->relay;
}
public function setRelay(string $relay) {
$this->relay = $relay;
}
public function getPort() : int {
return $this->port;
}
public function setPort(int $port) {
$this->port = $port;
}
public function isEnabled() : bool {
return $this->enabled;
}
public function setEnabled(bool $enabled) {
$this->enabled = $enabled;
}
}