def METHOD_NAME(self) -> Mapping[str | bytes, bytes | float | int | str]:
    d: MutableMapping[str | bytes, bytes | float | int | str] = {
        self.FIELD_COUNT: self.count,
        self.FIELD_MOVING_AVG_SHORT: self.moving_avg_short,
        self.FIELD_MOVING_AVG_LONG: self.moving_avg_long,
    }
    if self.timestamp is not None:
        d[self.FIELD_TIMESTAMP] = int(self.timestamp.timestamp())
    return d