com.notronix.etsy.impl.method.EtsyResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JEtsy Show documentation
Show all versions of JEtsy Show documentation
A Java implementation of a Java version of the Etsy API
package com.notronix.etsy.impl.method;
import com.notronix.etsy.api.method.Method;
import com.notronix.etsy.api.method.Response;
import java.util.Map;
import java.util.function.Consumer;
public class EtsyResponse implements Response
{
private Integer count;
private T results;
private Map params;
private String type;
private PaginationImpl pagination;
private Consumer>> nextBuilder;
@Override
public Integer getCount() {
return count;
}
public void setCount(Integer count) {
this.count = count;
}
@Override
public T getResults() {
return results;
}
public void setResults(T results) {
this.results = results;
}
@Override
public Map getParams() {
return params;
}
public void setParams(Map params) {
this.params = params;
}
@Override
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
@Override
public PaginationImpl getPagination() {
return pagination;
}
public void setPagination(PaginationImpl pagination) {
this.pagination = pagination;
}
@Override
public Consumer super Method extends Response>> getNextBuilder() {
return nextBuilder;
}
public void setNextBuilder(Consumer>> nextBuilder) {
this.nextBuilder = nextBuilder;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy