def METHOD_NAME(self, instance):
    step = instance.step
    result = super().METHOD_NAME(instance)
    if instance.step == UserNotificationPolicy.Step.WAIT:
        result["type"] = self.TYPE_WAIT
    else:
        result["type"] = NotificationChannelPublicAPIOptions.LABELS[instance.notify_by]
    result = self.clear_fields(step, result)
    if "duration" in result and result["duration"] is not None:
        result["duration"] = result["duration"].seconds
    return result