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

import ru.yandex.autodoc.common.doc.annotation.Description;
import ru.yandex.webmaster3.api.http.common.data.ApiHistoryPoint;
import ru.yandex.webmaster3.api.http.rest.response.ApiResponse;

import java.util.List;

/**
 * @author avhaliullin
 */
public class SqiHistoryResponse extends ApiResponse.Success200 {
    private final List<ApiHistoryPoint<Long>> points;

    public SqiHistoryResponse(List<ApiHistoryPoint<Long>> points) {
        this.points = points;
    }

    @Description("История значений ИКС")
    public List<ApiHistoryPoint<Long>> getPoints() {
        return points;
    }
}
