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

com.podio.comment.CommentUpdate Maven / Gradle / Ivy

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

import java.util.Collections;
import java.util.List;

import org.codehaus.jackson.annotate.JsonProperty;

public class CommentUpdate {

	/**
	 * The comment to be made
	 */
	private String value;

	/**
	 * The external id of the comment
	 */
	private String externalId;

	/**
	 * Temporary files that have been uploaded and should be attached to this
	 * comment
	 */
	private List fileIds;

	public CommentUpdate(String value) {
		this(value, Collections. emptyList());
	}

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

	public String getValue() {
		return value;
	}

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

	@JsonProperty("external_id")
	public String getExternalId() {
		return externalId;
	}

	public void setExternalId(String externalId) {
		this.externalId = externalId;
	}

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

	public void setFileIds(List fileIds) {
		this.fileIds = fileIds;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy