class GetSmtpDetails in SendinBlue 8
Same name and namespace in other branches
- 8.2 src/Tools/Model/GetSmtpDetails.php \Drupal\sendinblue\Tools\Model\GetSmtpDetails
Hierarchy
- class \Drupal\sendinblue\Tools\Model\GetSmtpDetails
Expanded class hierarchy of GetSmtpDetails
2 files declare their use of GetSmtpDetails
- SendinblueApiV2.php in src/
Tools/ Api/ SendinblueApiV2.php - SendinblueApiV3.php in src/
Tools/ Api/ SendinblueApiV3.php
File
- src/
Tools/ Model/ GetSmtpDetails.php, line 8
Namespace
Drupal\sendinblue\Tools\ModelView source
class GetSmtpDetails {
/**
* @var string*/
public $userName;
/**
* @var string*/
public $relay;
/**
* @var int*/
public $port;
/**
* @var bool*/
private $enabled;
/**
* GetSmtpDetails constructor.
*
* @param string $userName
* @param string $relay
* @param int $port
* @param bool $enabled
*/
public function __construct(string $userName, string $relay, int $port, bool $enabled) {
$this->userName = $userName;
$this->relay = $relay;
$this->port = $port;
$this->enabled = $enabled;
}
/**
* @return string
*/
public function getUserName() : string {
return $this->userName;
}
/**
* @param string $userName
*/
public function setUserName(string $userName) {
$this->userName = $userName;
}
/**
* @return string
*/
public function getRelay() : string {
return $this->relay;
}
/**
* @param string $relay
*/
public function setRelay(string $relay) {
$this->relay = $relay;
}
/**
* @return int
*/
public function getPort() : int {
return $this->port;
}
/**
* @param int $port
*/
public function setPort(int $port) {
$this->port = $port;
}
/**
* @return bool
*/
public function isEnabled() : bool {
return $this->enabled;
}
/**
* @param bool $enabled
*/
public function setEnabled(bool $enabled) {
$this->enabled = $enabled;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GetSmtpDetails:: |
private | property | @var bool | |
GetSmtpDetails:: |
public | property | @var int | |
GetSmtpDetails:: |
public | property | @var string | |
GetSmtpDetails:: |
public | property | @var string | |
GetSmtpDetails:: |
public | function | ||
GetSmtpDetails:: |
public | function | ||
GetSmtpDetails:: |
public | function | ||
GetSmtpDetails:: |
public | function | ||
GetSmtpDetails:: |
public | function | ||
GetSmtpDetails:: |
public | function | ||
GetSmtpDetails:: |
public | function | ||
GetSmtpDetails:: |
public | function | ||
GetSmtpDetails:: |
public | function | GetSmtpDetails constructor. |