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

weiboclient4j.params.IsBase62 Maven / Gradle / Ivy

There is a newer version: 0.4.16
Show newest version
package weiboclient4j.params;

import weiboclient4j.StatusService;

/**
 * @author Hover Ruan
 */
public enum IsBase62 implements
        StatusService.QueryIdParam,
        StatusService.QueryIdListParam {

    Yes(1), No(0);

    private int value;

    IsBase62(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    public void addParameter(Parameters params) {
        if (this == Yes) {
            params.add("isBase62", getValue());
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy