def METHOD_NAME(self):
    # type: (...) -> Any
    rv = {
        "sid": str(self.sid),
        "init": True,
        "started": format_timestamp(self.started),
        "timestamp": format_timestamp(self.timestamp),
        "status": self.status,
    }  # type: Dict[str, Any]
    if self.errors:
        rv["errors"] = self.errors
    if self.did is not None:
        rv["did"] = self.did
    if self.duration is not None:
        rv["duration"] = self.duration
    attrs = self.get_json_attrs()
    if attrs:
        rv["attrs"] = attrs
    return rv