def METHOD_NAME(self):
    """Returns the event data."""
    rv = {"message": self.message, "type": self.type}
    if self.image_path is not None:
        rv["image_path"] = self.image_path
    if self.image_uuid is not None:
        rv["image_uuid"] = self.image_uuid
    if self.image_arch is not None:
        rv["image_arch"] = self.image_arch
    return rv