package ru.yandex.webmaster3.api.turbo.action;

import ru.yandex.autodoc.common.doc.annotation.Description;
import ru.yandex.webmaster3.api.host.filter.trait.AbstractApiUserVerifiedHostRequest;
import ru.yandex.webmaster3.api.turbo.TaskUploadAddressLocator;
import ru.yandex.webmaster3.core.http.RequestQueryProperty;

/**
 * @author avhaliullin
 */
public class GetTaskUploadAddressRequest extends AbstractApiUserVerifiedHostRequest<TaskUploadAddressLocator> {
    private TurboPushMode mode = TurboPushMode.PRODUCTION;

    public TurboPushMode getMode() {
        return mode;
    }

    @Description("Режим загрузки страниц")
    @RequestQueryProperty
    public void setMode(TurboPushMode mode) {
        this.mode = mode;
    }


}
