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

import ru.yandex.webmaster3.core.http.ActionResponse;
import ru.yandex.webmaster3.core.http.ActionStatus;
import ru.yandex.webmaster3.viewer.http.user.GetHostListResponse;

/**
 * @author aherman
 */
public abstract class GetHostStatisticsResponse implements ActionResponse {

    public static class NormalResponse extends GetHostStatisticsResponse implements ActionResponse.NormalResponse {
        private final GetHostListResponse.ShortHostInfo host;

        public NormalResponse(GetHostListResponse.ShortHostInfo host) {
            this.host = host;
        }

        public GetHostListResponse.ShortHostInfo getHost() {
            return host;
        }
    }
}
