/* * This file is part of the Cerebro distribution. * (https://github.com/voyages-sncf-technologies/cerebro) * Copyright (C) 2017 VSCT. * * Cerebro is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, version 3 of the License. * * Cerebro is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package com.vsct.supervision.seyren.api; import java.util.List; public class SeyrenResponse<T> { private List<T> values; private int items; private int start; private int total; public List<T> getValues() { return values; } public void setValues(final List<T> values) { this.values = values; } public int getItems() { return items; } public void setItems(final int items) { this.items = items; } public int getStart() { return start; } public void setStart(final int start) { this.start = start; } public int getTotal() { return total; } public void setTotal(final int total) { this.total = total; } }