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

com.podio.calendar.Event Maven / Gradle / Ivy

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

import org.codehaus.jackson.annotate.JsonProperty;
import org.joda.time.DateTime;

import com.podio.common.ReferenceType;
import com.podio.org.OrganizationWithSpaces;
import com.podio.space.SpaceMini;

public class Event {

	/**
	 * The type of the entry, either "task" or "item"
	 */
	private ReferenceType type;

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

	/**
	 * The group of the object, null for tasks and app item name for items
	 */
	private String group;

	/**
	 * The title of the entry
	 */
	private String title;

	/**
	 * The start date
	 */
	private DateTime start;

	/**
	 * The end date, if any
	 */
	private DateTime end;

	/**
	 * The full link to the object
	 */
	private String link;

	/**
	 * The space the object is on, if any
	 */
	private SpaceMini space;

	/**
	 * The organization the object is on, if any
	 */
	private OrganizationWithSpaces organization;

	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 String getGroup() {
		return group;
	}

	public void setGroup(String group) {
		this.group = group;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public DateTime getStart() {
		return start;
	}

	public void setStart(DateTime start) {
		this.start = start;
	}

	public DateTime getEnd() {
		return end;
	}

	public void setEnd(DateTime end) {
		this.end = end;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public SpaceMini getSpace() {
		return space;
	}

	public void setSpace(SpaceMini space) {
		this.space = space;
	}

	@JsonProperty("org")
	public OrganizationWithSpaces getOrganization() {
		return organization;
	}

	@JsonProperty("org")
	public void setOrganization(OrganizationWithSpaces organization) {
		this.organization = organization;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy