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

com.podio.org.Organization Maven / Gradle / Ivy

There is a newer version: 0.7.9
Show newest version
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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy