public function __construct($vals = null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array(1 => array('var' => 'name', 'type' => TType::STRING), 2 => array('var' => 'value', 'type' => TType::STRING), 3 => array('var' => 'type', 'type' => TType::I32)); } if (is_array($vals)) { if (isset($vals['name'])) { $this->name = $vals['name']; } if (isset($vals['value'])) { $this->value = $vals['value']; } if (isset($vals['type'])) { $this->type = $vals['type']; } } }
public function __construct($vals = null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array(1 => array('var' => 'name', 'type' => TType::STRING), 2 => array('var' => 'value', 'type' => TType::STRING), 3 => array('var' => 'type', 'type' => TType::I32), 4 => array('var' => 'applicationArgument', 'type' => TType::STRING), 5 => array('var' => 'isRequired', 'type' => TType::BOOL), 6 => array('var' => 'requiredToAddedToCommandLine', 'type' => TType::BOOL), 7 => array('var' => 'dataMovement', 'type' => TType::BOOL), 8 => array('var' => 'location', 'type' => TType::STRING), 9 => array('var' => 'searchQuery', 'type' => TType::STRING)); } if (is_array($vals)) { if (isset($vals['name'])) { $this->name = $vals['name']; } if (isset($vals['value'])) { $this->value = $vals['value']; } if (isset($vals['type'])) { $this->type = $vals['type']; } if (isset($vals['applicationArgument'])) { $this->applicationArgument = $vals['applicationArgument']; } if (isset($vals['isRequired'])) { $this->isRequired = $vals['isRequired']; } if (isset($vals['requiredToAddedToCommandLine'])) { $this->requiredToAddedToCommandLine = $vals['requiredToAddedToCommandLine']; } if (isset($vals['dataMovement'])) { $this->dataMovement = $vals['dataMovement']; } if (isset($vals['location'])) { $this->location = $vals['location']; } if (isset($vals['searchQuery'])) { $this->searchQuery = $vals['searchQuery']; } } }