public class CalendarReminder extends Object
Constructor and Description |
---|
CalendarReminder() |
CalendarReminder(String action,
List<String> attachments,
List<ReminderAttendee> attendees,
String description,
Long duration,
Integer repeat,
String summary,
ReminderTrigger trigger)
Initializes a new instance of the CalendarReminder
|
Modifier and Type | Method and Description |
---|---|
CalendarReminder |
action(String action)
Set action and return this.
|
CalendarReminder |
addAttachmentsItem(String attachmentsItem)
Add an item to attachments and return this.
|
CalendarReminder |
addAttendeesItem(ReminderAttendee attendeesItem)
Add an item to attendees and return this.
|
CalendarReminder |
attachments(List<String> attachments)
Set attachments and return this.
|
CalendarReminder |
attendees(List<ReminderAttendee> attendees)
Set attendees and return this.
|
CalendarReminder |
description(String description)
Set description and return this.
|
CalendarReminder |
duration(Long duration)
Set duration and return this.
|
boolean |
equals(Object o) |
String |
getAction()
Defines the action to be invoked when an alarm is triggered.
|
List<String> |
getAttachments()
Collection of Reminder Attachments.
|
List<ReminderAttendee> |
getAttendees()
Contains collection of ReminderAttendee objects.
|
String |
getDescription()
Provides a more complete description of the alarm.
|
Long |
getDuration()
Specifies the delay period in ticks, after which the alarm will repeat.
|
Integer |
getRepeat()
Defines the number of time the alarm should be repeated, after the initial trigger.
|
String |
getSummary()
Defines a short summary or subject for the alarm.
|
ReminderTrigger |
getTrigger()
Specifies when an alarm will trigger.
|
int |
hashCode() |
CalendarReminder |
repeat(Integer repeat)
Set repeat and return this.
|
void |
setAction(String action)
Set action.
|
void |
setAttachments(List<String> attachments)
Set attachments.
|
void |
setAttendees(List<ReminderAttendee> attendees)
Set attendees.
|
void |
setDescription(String description)
Set description.
|
void |
setDuration(Long duration)
Set duration.
|
void |
setRepeat(Integer repeat)
Set repeat.
|
void |
setSummary(String summary)
Set summary.
|
void |
setTrigger(ReminderTrigger trigger)
Set trigger.
|
CalendarReminder |
summary(String summary)
Set summary and return this.
|
String |
toString() |
CalendarReminder |
trigger(ReminderTrigger trigger)
Set trigger and return this.
|
public CalendarReminder()
public CalendarReminder(String action, List<String> attachments, List<ReminderAttendee> attendees, String description, Long duration, Integer repeat, String summary, ReminderTrigger trigger)
action
- Defines the action to be invoked when an alarm is triggered. Enum, available values: Audio, Display, Email, Procedure, Noneattachments
- Collection of Reminder Attachments. Could be an absolute URI or Base64 string representation of attachment contentattendees
- Contains collection of ReminderAttendee objects.description
- Provides a more complete description of the alarm.duration
- Specifies the delay period in ticks, after which the alarm will repeat.repeat
- Defines the number of time the alarm should be repeated, after the initial trigger.summary
- Defines a short summary or subject for the alarm.trigger
- Specifies when an alarm will trigger.public CalendarReminder action(String action)
action
- Defines the action to be invoked when an alarm is triggered. Enum, available values: Audio, Display, Email, Procedure, Nonepublic String getAction()
public void setAction(String action)
action
- Defines the action to be invoked when an alarm is triggered. Enum, available values: Audio, Display, Email, Procedure, Nonepublic CalendarReminder attachments(List<String> attachments)
attachments
- Collection of Reminder Attachments. Could be an absolute URI or Base64 string representation of attachment contentpublic CalendarReminder addAttachmentsItem(String attachmentsItem)
attachmentsItem
- An item of: Collection of Reminder Attachments. Could be an absolute URI or Base64 string representation of attachment contentpublic List<String> getAttachments()
public void setAttachments(List<String> attachments)
attachments
- Collection of Reminder Attachments. Could be an absolute URI or Base64 string representation of attachment contentpublic CalendarReminder attendees(List<ReminderAttendee> attendees)
attendees
- Contains collection of ReminderAttendee objects.public CalendarReminder addAttendeesItem(ReminderAttendee attendeesItem)
attendeesItem
- An item of: Contains collection of ReminderAttendee objects.public List<ReminderAttendee> getAttendees()
public void setAttendees(List<ReminderAttendee> attendees)
attendees
- Contains collection of ReminderAttendee objects.public CalendarReminder description(String description)
description
- Provides a more complete description of the alarm.public String getDescription()
public void setDescription(String description)
description
- Provides a more complete description of the alarm.public CalendarReminder duration(Long duration)
duration
- Specifies the delay period in ticks, after which the alarm will repeat.public Long getDuration()
public void setDuration(Long duration)
duration
- Specifies the delay period in ticks, after which the alarm will repeat.public CalendarReminder repeat(Integer repeat)
repeat
- Defines the number of time the alarm should be repeated, after the initial trigger.public Integer getRepeat()
public void setRepeat(Integer repeat)
repeat
- Defines the number of time the alarm should be repeated, after the initial trigger.public CalendarReminder summary(String summary)
summary
- Defines a short summary or subject for the alarm.public String getSummary()
public void setSummary(String summary)
summary
- Defines a short summary or subject for the alarm.public CalendarReminder trigger(ReminderTrigger trigger)
trigger
- Specifies when an alarm will trigger.public ReminderTrigger getTrigger()
public void setTrigger(ReminderTrigger trigger)
trigger
- Specifies when an alarm will trigger.Copyright © 2020. All rights reserved.