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

weiboclient4j.params.LocOffset Maven / Gradle / Ivy

package weiboclient4j.params;

import weiboclient4j.PlaceService;

/**
 * @author Hover Ruan
 */
public enum LocOffset implements
        PlaceService.GetNearbyUsersParam,
        PlaceService.GetNearbyPoisParam,
        PlaceService.GetNearbyPhotosParam,
        PlaceService.GetNearbyUsersListParam,
        PlaceService.GetNearbyTimelineParam {

    Original(0), Transformed(1);

    private int value;

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

    public int getValue() {
        return value;
    }

    public void addParameter(Parameters params) {
        params.add("offset", getValue());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy