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

import ru.yandex.autodoc.common.doc.annotation.Description;
import ru.yandex.webmaster3.core.http.ActionResponse;

/**
 * Created by ifilippov5 on 19.06.18.
 */
public abstract class GetAutoparserToggleStateResponse implements ActionResponse {

    public static class NormalResponse extends GetAutoparserToggleStateResponse implements ActionResponse.NormalResponse {
        private final AutoparserToggleStateView autoparserToggleState;

        public NormalResponse(AutoparserToggleStateView autoparserToggleState) {
            this.autoparserToggleState = autoparserToggleState;
        }

        @Description("Состояние тумблера")
        public AutoparserToggleStateView getAutoparserToggleState() {
            return autoparserToggleState;
        }
    }
}
