com.sailthru.client.params.ListStat Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sailthru-java-client Show documentation
Show all versions of sailthru-java-client Show documentation
Java client library for Sailthru API
The newest version!
package com.sailthru.client.params;
import com.google.gson.reflect.TypeToken;
import java.lang.reflect.Type;
import java.util.Date;
/**
*
* @author Prajwal Tuladhar
*/
public class ListStat extends Stats {
protected String list;
protected String date;
public ListStat() {
super(MODE_LIST);
}
public ListStat setList(String list) {
this.list = list;
return this;
}
public ListStat setDate(Date date) {
this.date = date.toString();
return this;
}
public ListStat setDate(String date) {
this.date = date;
return this;
}
public Type getType() {
Type type = new TypeToken() {}.getType();
return type;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy