package ru.yandex.webmaster3.viewer.http.promo;

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

import java.util.List;

/**
 * Created by Oleg Bazdyrev on 02/07/2018.
 */
public class GetHostTeasersResponse implements ActionResponse.NormalResponse {

    private final List<? extends AbstractHostTeaser> teasers;

    public GetHostTeasersResponse(List<? extends AbstractHostTeaser> teasers) {
        this.teasers = teasers;
    }

    @Description("Тизеры для хоста")
    public List<? extends AbstractHostTeaser> getTeasers() {
        return teasers;
    }
}
