public function __construct(Identifier $identifier, $name, Identifier $traceIdentifier, array $annotations = [], array $binaryAnnotations = [], Identifier $parentIdentifier = null, $debug = null, $timestamp = null, $duration = null)
{
$this->identifier = $identifier;
$this->name = $name;
$this->traceIdentifier = $traceIdentifier;
$this->parentIdentifier = $parentIdentifier;
$this->annotations = $annotations;
$this->binaryAnnotations = $binaryAnnotations;
$this->debug = $debug;
$this->timestamp = $timestamp;
$this->duration = $duration;
}