public function __construct($vals = null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array(1 => array('var' => 'gatewayId', 'type' => TType::STRING), 2 => array('var' => 'gatewayName', 'type' => TType::STRING), 3 => array('var' => 'domain', 'type' => TType::STRING), 4 => array('var' => 'emailAddress', 'type' => TType::STRING)); } if (is_array($vals)) { if (isset($vals['gatewayId'])) { $this->gatewayId = $vals['gatewayId']; } if (isset($vals['gatewayName'])) { $this->gatewayName = $vals['gatewayName']; } if (isset($vals['domain'])) { $this->domain = $vals['domain']; } if (isset($vals['emailAddress'])) { $this->emailAddress = $vals['emailAddress']; } } }
public function __construct($vals = null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array(1 => array('var' => 'gatewayId', 'type' => TType::STRING), 2 => array('var' => 'name', 'type' => TType::STRING)); } if (is_array($vals)) { if (isset($vals['gatewayId'])) { $this->gatewayId = $vals['gatewayId']; } if (isset($vals['name'])) { $this->name = $vals['name']; } } }