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

com.flickr4java.flickr.groups.Throttle Maven / Gradle / Ivy

There is a newer version: 3.0.9
Show newest version
package com.flickr4java.flickr.groups;

/**
 * Throttle - Limit the abilitiy to add Photos to a group on a per user per post basis. "No more than X in Y days".
 * 
 * @author Anthony Eden
 * @version $Id: Throttle.java,v 1.3 2009/07/12 22:43:07 x-mago Exp $
 */
public class Throttle {

    private int count;

    private String mode;

    private int remaining;

    /**
     * Posts are limited to this number of Photos.
     * 
     * @return mx number of posts allowed
     */
    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    /**
     * Throttle mode - day, month or none.
     * 
     * @return mode
     */
    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    /**
     * Number of remaining Photos to add.
* (lokks, like not longer available) * * @return units */ public int getRemaining() { return remaining; } public void setRemaining(int remaining) { this.remaining = remaining; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy