array( 'var' => 'traceId', 'isRequired' => true, 'type' => TType::STRING, ), 2 => array( 'var' => 'sampled', 'isRequired' => true, 'type' => TType::BOOL, ), 3 => array( 'var' => 'baggage', 'isRequired' => true, 'type' => TType::STRING, ), ); /** * @var string */ public $traceId = null; /** * @var bool */ public $sampled = null; /** * @var string */ public $baggage = null; public function __construct($vals=null) { if (is_array($vals)) { parent::__construct(self::$_TSPEC, $vals); } } public function getName() { return 'ObservedSpan'; } public function read($input) { return $this->_read('ObservedSpan', self::$_TSPEC, $input); } public function write($output) { return $this->_write('ObservedSpan', self::$_TSPEC, $output); } }