package ru.yandex.webmaster3.viewer.http.turbo.feed;

import lombok.Getter;

import ru.yandex.autodoc.common.doc.annotation.Description;
import ru.yandex.webmaster3.core.http.ActionRequest;
import ru.yandex.webmaster3.core.http.RequestQueryProperty;
import ru.yandex.webmaster3.viewer.http.AbstractUserVerifiedHostRequest;

@Getter
public class BanUrlFromFeedRequest extends AbstractUserVerifiedHostRequest implements ActionRequest {
    private String feedUrl;
    private String url;

    @RequestQueryProperty(required = true)
    @Description("Урл фида")
    public void setFeedUrl(String feedUrl) {
        this.feedUrl = feedUrl;
    }

    @RequestQueryProperty(required = true)
    @Description("Проверяемый урл в фиде")
    public void setUrl(String url) {
        this.url = url;
    }
}
