com.podio.status.StatusUpdate 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.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;
}
}