def METHOD_NAME(self):
    result = {
        "online": self.online,
        "enabled": self.enabled,
        "connection_ok": self._connection_working,
        "connection_check": f"{self._host}:{self._port}",
    }
    if self._name:
        result.update(
            resolution_ok=self._resolution_working, resolution_check=self._name
        )
    return result