com.podio.item.AppActivity 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.item;
import java.util.HashMap;
import org.codehaus.jackson.annotate.JsonProperty;
import org.joda.time.DateTime;
import com.podio.contact.ProfileMini;
public class AppActivity {
/**
* The type of activity
*/
private ItemActivityType type;
/**
* When the activity happened
*/
private DateTime createdOn;
/**
* The id of the item the activity was on
*/
private int itemId;
/**
* The title of the item
*/
private String title;
/**
* Any data associated with the event
*/
private HashMap data;
/**
* The user who was responsible for the event
*/
private ProfileMini user;
public ItemActivityType getType() {
return type;
}
public void setType(ItemActivityType type) {
this.type = type;
}
public DateTime getCreatedOn() {
return createdOn;
}
@JsonProperty("created_on")
public void setCreatedOn(DateTime createdOn) {
this.createdOn = createdOn;
}
public int getItemId() {
return itemId;
}
@JsonProperty("item_id")
public void setItemId(int itemId) {
this.itemId = itemId;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public HashMap getData() {
return data;
}
public void setData(HashMap data) {
this.data = data;
}
public ProfileMini getUser() {
return user;
}
public void setUser(ProfileMini user) {
this.user = user;
}
}