fedilab-Android-App/app/src/main/java/app/fedilab/android/client/Entities/Charts.java

70 lines
1.9 KiB
Java
Raw Normal View History

2019-07-28 15:55:25 +02:00
package app.fedilab.android.client.Entities;
2019-07-30 17:23:32 +02:00
import java.util.LinkedHashMap;
2019-07-28 15:55:25 +02:00
import java.util.List;
/* Copyright 2019 Thomas Schneider
*
* This file is a part of Fedilab
*
* This program is free software; you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation; either version 3 of the
* License, or (at your option) any later version.
*
* Fedilab 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 General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along with Fedilab; if not,
* see <http://www.gnu.org/licenses>. */
2020-05-07 16:16:54 +02:00
@SuppressWarnings("unused")
2019-07-28 15:55:25 +02:00
public class Charts {
private List<String> xLabels;
private List<String> yLabels;
2019-07-30 17:23:32 +02:00
private LinkedHashMap<Long, Integer> statuses;
private LinkedHashMap<Long, Integer> boosts;
private LinkedHashMap<Long, Integer> replies;
2019-07-28 15:55:25 +02:00
public List<String> getxLabels() {
return xLabels;
}
public void setxLabels(List<String> xLabels) {
this.xLabels = xLabels;
}
public List<String> getyLabels() {
return yLabels;
}
public void setyLabels(List<String> yLabels) {
this.yLabels = yLabels;
}
2019-07-30 17:23:32 +02:00
public LinkedHashMap<Long, Integer> getStatuses() {
2019-07-28 15:55:25 +02:00
return statuses;
}
2019-07-30 17:23:32 +02:00
public void setStatuses(LinkedHashMap<Long, Integer> statuses) {
2019-07-28 15:55:25 +02:00
this.statuses = statuses;
}
2019-07-30 17:23:32 +02:00
public LinkedHashMap<Long, Integer> getBoosts() {
2019-07-28 15:55:25 +02:00
return boosts;
}
2019-07-30 17:23:32 +02:00
public void setBoosts(LinkedHashMap<Long, Integer> boosts) {
2019-07-28 15:55:25 +02:00
this.boosts = boosts;
}
2019-07-30 17:23:32 +02:00
public LinkedHashMap<Long, Integer> getReplies() {
2019-07-28 15:55:25 +02:00
return replies;
}
2019-07-30 17:23:32 +02:00
public void setReplies(LinkedHashMap<Long, Integer> replies) {
2019-07-28 15:55:25 +02:00
this.replies = replies;
}
}