array( 'var' => 'serverRole', 'isRequired' => true, 'type' => TType::STRING, ), 2 => array( 'var' => 'sampled', 'isRequired' => true, 'type' => TType::BOOL, ), 3 => array( 'var' => 'baggage', 'isRequired' => true, 'type' => TType::STRING, ), 4 => array( 'var' => 'downstream', 'isRequired' => true, 'type' => TType::STRUCT, 'class' => '\Jaeger\Thrift\Crossdock\Downstream', ), ); /** * @var string */ public $serverRole = null; /** * @var bool */ public $sampled = null; /** * @var string */ public $baggage = null; /** * @var \Jaeger\Thrift\Crossdock\Downstream */ public $downstream = null; public function __construct($vals=null) { if (is_array($vals)) { parent::__construct(self::$_TSPEC, $vals); } } public function getName() { return 'StartTraceRequest'; } public function read($input) { return $this->_read('StartTraceRequest', self::$_TSPEC, $input); } public function write($output) { return $this->_write('StartTraceRequest', self::$_TSPEC, $output); } }