def METHOD_NAME(self) -> Dict:
    """
    Convert this object to a dictionary with attributes as values.
    """
    return {
        "name": self.name,
        "send": self.send,
        "recv": self.recv,
        "unit": self.unit,
    }