def METHOD_NAME(self):
    return {
        "block_id": self.block_id,
        "usergroup_id": self.usergroup_id,
        "type": self.type,
        "accessible_from": self.accessible_from,
        "accessible_to": self.accessible_to,
        "duration": self.duration,
        "duration_from": self.duration_from,
        "duration_to": self.duration_to,
        "require_confirm": self.require_confirm,
        **include_if_loaded("usergroup", self),
    }