package ru.yandex.webmaster3.viewer.http.async.model;

import ru.yandex.autodoc.common.doc.annotation.Description;
import ru.yandex.webmaster3.core.http.ReadAction;
import ru.yandex.webmaster3.core.http.RequestQueryProperty;
import ru.yandex.webmaster3.viewer.http.request.AbstractFrontendRequest;

import java.util.UUID;

/**
 * @author: ishalaru
 * DATE: 20.05.2019
 * Universal Request model for all async operation
 */
@ReadAction
public class AsyncInfoRequest extends AbstractFrontendRequest {
    private UUID requestId;

    public UUID getRequestId() {
        return requestId;
    }

    @Description("id заявки")
    @RequestQueryProperty(required = true)
    public void setRequestId(UUID requestId) {
        this.requestId = requestId;
    }
}
