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

com.cleeng.api.domain.ListParams Maven / Gradle / Ivy

Go to download

When you are building your website or application with Java, you can use the Cleeng Java SDK. It simplifies the use of the Cleeng API as it handles user login and content access, and deals with all JSON-RPC specific code.

There is a newer version: 2.8.2
Show newest version
package com.cleeng.api.domain;

import java.io.Serializable;

public class ListParams implements Serializable {

    public String publisherToken;
    public Criteria criteria;
    public int offset;
    public int limit;

    public ListParams(String publisherToken, Criteria criteria, int offset, int limit) {

        this.publisherToken = publisherToken;
        this.criteria = criteria;
        this.offset = offset;
        this.limit = limit;
    }

    public static ListParams create(String publisherToken, Criteria criteria, int offset, int limit) {
        return new ListParams(publisherToken, criteria, offset, limit);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy