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

com.podio.stream.StreamActivity Maven / Gradle / Ivy

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

import java.util.HashMap;

import org.codehaus.jackson.annotate.JsonProperty;

import com.podio.common.CreatedBase;
import com.podio.common.ReferenceType;

public class StreamActivity extends CreatedBase {

	/**
	 * The type of object
	 */
	private ReferenceType type;

	/**
	 * The id of the object
	 */
	private int id;

	/**
	 * The type of activity
	 */
	private StreamActivityType activityType;

	/**
	 * The object itself in short form
	 */
	private HashMap data;

	public ReferenceType getType() {
		return type;
	}

	public void setType(ReferenceType type) {
		this.type = type;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public StreamActivityType getActivityType() {
		return activityType;
	}

	@JsonProperty("activity_type")
	public void setActivityType(StreamActivityType activityType) {
		this.activityType = activityType;
	}

	public HashMap getData() {
		return data;
	}

	public void setData(HashMap data) {
		this.data = data;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy