public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array( 1 => array( 'var' => 'processId', 'type' => TType::STRING, ), 2 => array( 'var' => 'gatewayId', 'type' => TType::STRING, ), 3 => array( 'var' => 'tokenId', 'type' => TType::STRING, ), ); } if (is_array($vals)) { if (isset($vals['processId'])) { $this->processId = $vals['processId']; } if (isset($vals['gatewayId'])) { $this->gatewayId = $vals['gatewayId']; } if (isset($vals['tokenId'])) { $this->tokenId = $vals['tokenId']; } } }
public function __construct($vals = null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array(1 => array('var' => 'taskId', 'type' => TType::STRING), 2 => array('var' => 'credentialToken', 'type' => TType::STRING)); } if (is_array($vals)) { if (isset($vals['taskId'])) { $this->taskId = $vals['taskId']; } if (isset($vals['credentialToken'])) { $this->credentialToken = $vals['credentialToken']; } } }