package ru.yandex.webmaster3.viewer.http.sitemap;

import java.net.URL;

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

/**
 * @author aherman
 */
public class AddUserSitemapRequest extends AbstractUserVerifiedHostRequest {
    static final String PARAM_SITEMAP_URL = "sitemapUrl";

    private URL sitemapUrl;

    public URL getSitemapUrl() {
        return sitemapUrl;
    }

    @Description(value="URL файла sitemap")
    @RequestQueryProperty(required = true)
    public void setSitemapUrl(URL sitemapUrl) {
        this.sitemapUrl = sitemapUrl;
    }
}
