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

com.podio.status.Status Maven / Gradle / Ivy

There is a newer version: 0.7.9
Show newest version
package com.podio.status;

import org.codehaus.jackson.annotate.JsonProperty;
import org.joda.time.DateTime;

import com.podio.user.UserProfileMini;

/**
 * A status message posted by a user to a space
 */
public class Status {

	private int statusId;

	private int spaceId;

	private UserProfileMini user;

	private String value;

	private DateTime createdOn;

	/**
	 * @return The id of the status
	 */
	public int getStatusId() {
		return statusId;
	}

	@JsonProperty("status_id")
	public void setStatusId(int statusId) {
		this.statusId = statusId;
	}

	/**
	 * @return The id of the space the status message is on
	 */
	public int getSpaceId() {
		return spaceId;
	}

	@JsonProperty("space_id")
	public void setSpaceId(int spaceId) {
		this.spaceId = spaceId;
	}

	/**
	 * @return The user who created the status
	 */
	public UserProfileMini getUser() {
		return user;
	}

	public void setUser(UserProfileMini user) {
		this.user = user;
	}

	/**
	 * @return The actual status message
	 */
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	/**
	 * @return The date and time the message was created
	 */
	public DateTime getCreatedOn() {
		return createdOn;
	}

	@JsonProperty("created_on")
	public void setCreatedOn(DateTime createdOn) {
		this.createdOn = createdOn;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy