All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.notronix.etsy.impl.method.EtsyResponse Maven / Gradle / Ivy

There is a newer version: 3.0.0014
Show newest version
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>> getNextBuilder() {
        return nextBuilder;
    }

    public void setNextBuilder(Consumer>> nextBuilder) {
        this.nextBuilder = nextBuilder;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy