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

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

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

import java.util.List;

import org.codehaus.jackson.annotate.JsonProperty;

public class StatusUpdate {

	private String value;

	private List fileIds;

	public StatusUpdate() {
		super();
	}

	public StatusUpdate(String value, List fileIds) {
		super();
		this.value = value;
		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;
	}

	@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