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

twitter4jads.internal.models4j.JobLimitStatusImpl Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
package twitter4jads.internal.models4j;

public class JobLimitStatusImpl implements JobLimitStatus {

    private final int jobLimit;
    private final int jobLimitRemaining;

    public JobLimitStatusImpl(int jobLimit, int jobLimitRemaining) {
        this.jobLimit = jobLimit;
        this.jobLimitRemaining = jobLimitRemaining;
    }

    @Override
    public int getJobLimit() {
        return this.jobLimit;
    }

    @Override
    public int getJobLimitRemaining() {
        return this.jobLimitRemaining;
    }

    @Override
    public String toString() {
        return "JobLimitStatusImpl {" +
                "remaining=" + this.jobLimitRemaining +
                ", limit=" + this.jobLimit +
                "}";
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy