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

import ru.yandex.autodoc.common.doc.annotation.Description;
import ru.yandex.webmaster3.api.host.filter.trait.AbstractApiUserAddedHostRequest;
import ru.yandex.webmaster3.api.verification.VerificationInfoLocator;
import ru.yandex.webmaster3.api.verification.data.ApiExplicitVerificationType;
import ru.yandex.webmaster3.core.http.RequestQueryProperty;

/**
 * @author avhaliullin
 */
public class VerifyHostRequest extends AbstractApiUserAddedHostRequest<VerificationInfoLocator> {
    private ApiExplicitVerificationType verificationType;

    public ApiExplicitVerificationType getVerificationType() {
        return verificationType;
    }

    @Description("способ подтверждения прав")
    @RequestQueryProperty(required = true)
    public void setVerificationType(ApiExplicitVerificationType verificationType) {
        this.verificationType = verificationType;
    }
}
