/* * Copyright (C) 2003-2015 eXo Platform SAS. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package org.exoplatform.calendar.client.model; /** * Created by The eXo Platform SAS * Author : eXoPlatform * exo@exoplatform.com * Jul 22, 2015 */ public class ExoTask { public String to; public String[] attachments; public String from; public String[] categories; public String categoryId; public Reminder[] reminder; public String[] delegation; public String calendar; public String status; public String note; public String name; public String priority; public String href; public String id; public String getTo() { return to; } public void setTo(String to) { this.to = to; } public String[] getAttachments() { return attachments; } public void setAttachments(String[] attachments) { this.attachments = attachments; } public String getFrom() { return from; } public void setFrom(String from) { this.from = from; } public String[] getCategories() { return categories; } public void setCategories(String[] categories) { this.categories = categories; } public String getCategoryId() { return categoryId; } public void setCategoryId(String categoryId) { this.categoryId = categoryId; } public Reminder[] getReminder() { return reminder; } public void setReminder(Reminder[] reminder) { this.reminder = reminder; } public String[] getDelegation() { return delegation; } public void setDelegation(String[] delegation) { this.delegation = delegation; } public String getCalendar() { return calendar; } public void setCalendar(String calendar) { this.calendar = calendar; } public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } public String getNote() { return note; } public void setNote(String note) { this.note = note; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getPriority() { return priority; } public void setPriority(String priority) { this.priority = priority; } public String getHref() { return href; } public void setHref(String href) { this.href = href; } public String getId() { return id; } public void setId(String id) { this.id = id; } public class Reminder { public String summary; public int repeatInterval; public String eventId; public FromDateTime fromDateTime; public int alarmBefore; public String reminderType; public String emailAddress; public Boolean repeat; public String reminderOwner; public String description; public String id; public String getSummary() { return summary; } public void setSummary(String summary) { this.summary = summary; } public int getRepeatInterval() { return repeatInterval; } public void setRepeatInterval(int repeatInterval) { this.repeatInterval = repeatInterval; } public String getEventId() { return eventId; } public void setEventId(String eventId) { this.eventId = eventId; } public FromDateTime getFromDateTime() { return fromDateTime; } public void setFromDateTime(FromDateTime fromDateTime) { this.fromDateTime = fromDateTime; } public int getAlarmBefore() { return alarmBefore; } public void setAlarmBefore(int alarmBefore) { this.alarmBefore = alarmBefore; } public String getReminderType() { return reminderType; } public void setReminderType(String reminderType) { this.reminderType = reminderType; } public String getEmailAddress() { return emailAddress; } public void setEmailAddress(String emailAddress) { this.emailAddress = emailAddress; } public Boolean getRepeat() { return repeat; } public void setRepeat(Boolean repeat) { this.repeat = repeat; } public String getReminderOwner() { return reminderOwner; } public void setReminderOwner(String reminderOwner) { this.reminderOwner = reminderOwner; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getId() { return id; } public void setId(String id) { this.id = id; } public class FromDateTime { public int from; public int timezoneOffset; public int date; public int hours; public int minutes; public int month; public int seconds; public long time; public int year; public int getFrom() { return from; } public void setFrom(int from) { this.from = from; } public int getTimezoneOffset() { return timezoneOffset; } public void setTimezoneOffset(int timezoneOffset) { this.timezoneOffset = timezoneOffset; } public int getDate() { return date; } public void setDate(int date) { this.date = date; } public int getHours() { return hours; } public void setHours(int hours) { this.hours = hours; } public int getMinutes() { return minutes; } public void setMinutes(int minutes) { this.minutes = minutes; } public int getMonth() { return month; } public void setMonth(int month) { this.month = month; } public int getSeconds() { return seconds; } public void setSeconds(int seconds) { this.seconds = seconds; } public long getTime() { return time; } public void setTime(long time) { this.time = time; } public int getYear() { return year; } public void setYear(int year) { this.year = year; } } } }