You are here

class GetSmtpDetails in SendinBlue 7.2

Hierarchy

Expanded class hierarchy of GetSmtpDetails

File

includes/Model/GetSmtpDetails.php, line 7

View 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($userName, $relay, $port, $enabled) {
    $this->userName = $userName;
    $this->relay = $relay;
    $this->port = $port;
    $this->enabled = $enabled;
  }

  /**
   * @return string
   */
  public function getUserName() {
    return $this->userName;
  }

  /**
   * @param string $userName
   */
  public function setUserName($userName) {
    $this->userName = $userName;
  }

  /**
   * @return string
   */
  public function getRelay() {
    return $this->relay;
  }

  /**
   * @param string $relay
   */
  public function setRelay($relay) {
    $this->relay = $relay;
  }

  /**
   * @return int
   */
  public function getPort() {
    return $this->port;
  }

  /**
   * @param int $port
   */
  public function setPort($port) {
    $this->port = $port;
  }

  /**
   * @return bool
   */
  public function isEnabled() {
    return $this->enabled;
  }

  /**
   * @param bool $enabled
   */
  public function setEnabled($enabled) {
    $this->enabled = $enabled;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
GetSmtpDetails::$enabled private property @var bool
GetSmtpDetails::$port public property @var int
GetSmtpDetails::$relay public property @var string
GetSmtpDetails::$userName public property @var string
GetSmtpDetails::getPort public function
GetSmtpDetails::getRelay public function
GetSmtpDetails::getUserName public function
GetSmtpDetails::isEnabled public function
GetSmtpDetails::setEnabled public function
GetSmtpDetails::setPort public function
GetSmtpDetails::setRelay public function
GetSmtpDetails::setUserName public function
GetSmtpDetails::__construct public function GetSmtpDetails constructor.