com.podio.org.Organization Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
The official Java wrapper for the Podio API
package com.podio.org;
import org.codehaus.jackson.annotate.JsonProperty;
import org.joda.time.DateTime;
import com.podio.contact.ProfileMini;
public class Organization extends OrganizationMini {
/**
* The status of the organization
*/
private OrganizationStatus status;
/**
* The maximum number of users that are allowed in the organization
*/
private int userLimit;
/**
* The date and time when the organization was created
*/
private DateTime createdOn;
/**
* The user that created the organization
*/
private ProfileMini createdBy;
public OrganizationStatus getStatus() {
return status;
}
public void setStatus(OrganizationStatus status) {
this.status = status;
}
public int getUserLimit() {
return userLimit;
}
@JsonProperty("user_limit")
public void setUserLimit(int userLimit) {
this.userLimit = userLimit;
}
public DateTime getCreatedOn() {
return createdOn;
}
@JsonProperty("created_on")
public void setCreatedOn(DateTime createdOn) {
this.createdOn = createdOn;
}
public ProfileMini getCreatedBy() {
return createdBy;
}
@JsonProperty("created_by")
public void setCreatedBy(ProfileMini createdBy) {
this.createdBy = createdBy;
}
}