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

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

package com.podio.status;

import java.util.List;

import org.codehaus.jackson.annotate.JsonProperty;

public class StatusCreate {

	private String value;

	private List alerts;

	private List fileIds;

	public StatusCreate() {
		super();
	}

	public StatusCreate(String value, List alerts,
			List fileIds) {
		super();
		this.value = value;
		this.alerts = alerts;
		this.fileIds = fileIds;
	}

	public String getValue() {
		return value;
	}

	/**
	 * Sets the text value of the status message
	 * 
	 * @param value
	 *            The text of the status
	 */
	public void setValue(String value) {
		this.value = value;
	}

	public List getAlerts() {
		return alerts;
	}

	/**
	 * Sets the list of users to alert in this status updated
	 * 
	 * @param alerts
	 *            The ids of the users to alert
	 */
	public void setAlerts(List alerts) {
		this.alerts = alerts;
	}

	@JsonProperty("file_ids")
	public List getFileIds() {
		return fileIds;
	}

	/**
	 * Sets the files to attach to this status message
	 * 
	 * @param fileIds
	 *            The id of the files already uploaded that should be attached
	 *            to this status
	 */
	public void setFileIds(List fileIds) {
		this.fileIds = fileIds;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy