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

import ru.yandex.autodoc.common.doc.annotation.Description;
import ru.yandex.webmaster3.core.http.ActionResponse;
import ru.yandex.webmaster3.viewer.http.sitemap.data.HostRecrawlSitemapsLimitInfo;

/**
 * Created by ifilippov5 on 13.08.17.
 */
public abstract class GetHostRecrawlSitemapsLimitsResponse implements ActionResponse {
    public static class NormalResponse extends GetHostRecrawlSitemapsLimitsResponse implements ActionResponse.NormalResponse {
        private final HostRecrawlSitemapsLimitInfo hostSitemapsRecrawlLimitInfo;

        public NormalResponse(HostRecrawlSitemapsLimitInfo hostSitemapsRecrawlLimitInfo) {
            this.hostSitemapsRecrawlLimitInfo = hostSitemapsRecrawlLimitInfo;
        }

        @Description("Информация о лимитах на переобход для хоста")
        public HostRecrawlSitemapsLimitInfo getHostSitemapsRecrawlLimitInfo() {
            return hostSitemapsRecrawlLimitInfo;
        }
    }
}
