com.flickr4java.flickr.groups.Throttle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flickr4java Show documentation
Show all versions of flickr4java Show documentation
Java API For Flickr. Fork of FlickrJ.
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