package ru.yandex.webmaster3.viewer.http.user.settings.notification2;

import ru.yandex.autodoc.common.doc.annotation.Description;
import ru.yandex.webmaster3.core.http.RequestQueryProperty;
import ru.yandex.webmaster3.storage.user.notification.NotificationType;
import ru.yandex.webmaster3.viewer.http.AbstractUserVerifiedHostRequest;

import java.util.Set;

/**
 * @author avhaliullin
 */
public class ResetHostNotification2SettingsRequest extends AbstractUserVerifiedHostRequest {
    private Set<NotificationType> types;

    public Set<NotificationType> getTypes() {
        return types;
    }

    @Description("список типов уведомлений, для которых сбрасываем настройки")
    @RequestQueryProperty(required = true)
    public void setTypes(Set<NotificationType> types) {
        this.types = types;
    }
}
