public class CalendarDto extends Object
Constructor and Description |
---|
CalendarDto() |
CalendarDto(List<Attachment> attachments,
List<MailAddress> attendees,
String description,
Date endDate,
String endTimeZone,
List<String> flags,
Boolean isDescriptionHtml,
String location,
String method,
String microsoftBusyStatus,
String microsoftIntendedStatus,
List<MailAddress> optionalAttendees,
MailAddress organizer,
String recurrenceString,
RecurrencePatternDto recurrence,
List<CalendarReminder> reminders,
String sequenceId,
Date startDate,
String startTimeZone,
String status,
String summary,
String transparency)
Initializes a new instance of the CalendarDto
|
Modifier and Type | Method and Description |
---|---|
CalendarDto |
addAttachmentsItem(Attachment attachmentsItem)
Add an item to attachments and return this.
|
CalendarDto |
addAttendeesItem(MailAddress attendeesItem)
Add an item to attendees and return this.
|
CalendarDto |
addFlagsItem(String flagsItem)
Add an item to flags and return this.
|
CalendarDto |
addOptionalAttendeesItem(MailAddress optionalAttendeesItem)
Add an item to optionalAttendees and return this.
|
CalendarDto |
addRemindersItem(CalendarReminder remindersItem)
Add an item to reminders and return this.
|
CalendarDto |
attachments(List<Attachment> attachments)
Set attachments and return this.
|
CalendarDto |
attendees(List<MailAddress> attendees)
Set attendees and return this.
|
CalendarDto |
description(String description)
Set description and return this.
|
CalendarDto |
endDate(Date endDate)
Set endDate and return this.
|
CalendarDto |
endTimeZone(String endTimeZone)
Set endTimeZone and return this.
|
boolean |
equals(Object o) |
CalendarDto |
flags(List<String> flags)
Set flags and return this.
|
List<Attachment> |
getAttachments()
Document attachments.
|
List<MailAddress> |
getAttendees()
Event attendees.
|
String |
getDescription()
Description.
|
Date |
getEndDate()
End date.
|
String |
getEndTimeZone()
End time zone.
|
List<String> |
getFlags()
Appointment flags.
|
String |
getLocation()
Location.
|
String |
getMethod()
Defines the iCalendar object method type associated with the calendar document.
|
String |
getMicrosoftBusyStatus()
Specifies the BUSY status.
|
String |
getMicrosoftIntendedStatus()
Specifies the INTENDED status.
|
List<MailAddress> |
getOptionalAttendees()
Optional attendees.
|
MailAddress |
getOrganizer()
Event organizer.
|
RecurrencePatternDto |
getRecurrence()
Recurrence pattern
|
String |
getRecurrenceString()
Deprecated, use 'Recurrence' property.
|
List<CalendarReminder> |
getReminders()
Reminders.
|
String |
getSequenceId()
The sequence id.
|
Date |
getStartDate()
Start date.
|
String |
getStartTimeZone()
Start time zone.
|
String |
getStatus()
Defines the overall status or confirmation for the calendar document.
|
String |
getSummary()
Summary.
|
String |
getTransparency()
Specifies whether or not this appointment is intended to be visible in availability searches.
|
int |
hashCode() |
CalendarDto |
isDescriptionHtml(Boolean isDescriptionHtml)
Set isDescriptionHtml and return this.
|
Boolean |
isIsDescriptionHtml()
Indicates if description is in HTML format.
|
CalendarDto |
location(String location)
Set location and return this.
|
CalendarDto |
method(String method)
Set method and return this.
|
CalendarDto |
microsoftBusyStatus(String microsoftBusyStatus)
Set microsoftBusyStatus and return this.
|
CalendarDto |
microsoftIntendedStatus(String microsoftIntendedStatus)
Set microsoftIntendedStatus and return this.
|
CalendarDto |
optionalAttendees(List<MailAddress> optionalAttendees)
Set optionalAttendees and return this.
|
CalendarDto |
organizer(MailAddress organizer)
Set organizer and return this.
|
CalendarDto |
recurrence(RecurrencePatternDto recurrence)
Set recurrence and return this.
|
CalendarDto |
recurrenceString(String recurrenceString)
Set recurrenceString and return this.
|
CalendarDto |
reminders(List<CalendarReminder> reminders)
Set reminders and return this.
|
CalendarDto |
sequenceId(String sequenceId)
Set sequenceId and return this.
|
void |
setAttachments(List<Attachment> attachments)
Set attachments.
|
void |
setAttendees(List<MailAddress> attendees)
Set attendees.
|
void |
setDescription(String description)
Set description.
|
void |
setEndDate(Date endDate)
Set endDate.
|
void |
setEndTimeZone(String endTimeZone)
Set endTimeZone.
|
void |
setFlags(List<String> flags)
Set flags.
|
void |
setIsDescriptionHtml(Boolean isDescriptionHtml)
Set isDescriptionHtml.
|
void |
setLocation(String location)
Set location.
|
void |
setMethod(String method)
Set method.
|
void |
setMicrosoftBusyStatus(String microsoftBusyStatus)
Set microsoftBusyStatus.
|
void |
setMicrosoftIntendedStatus(String microsoftIntendedStatus)
Set microsoftIntendedStatus.
|
void |
setOptionalAttendees(List<MailAddress> optionalAttendees)
Set optionalAttendees.
|
void |
setOrganizer(MailAddress organizer)
Set organizer.
|
void |
setRecurrence(RecurrencePatternDto recurrence)
Set recurrence.
|
void |
setRecurrenceString(String recurrenceString)
Set recurrenceString.
|
void |
setReminders(List<CalendarReminder> reminders)
Set reminders.
|
void |
setSequenceId(String sequenceId)
Set sequenceId.
|
void |
setStartDate(Date startDate)
Set startDate.
|
void |
setStartTimeZone(String startTimeZone)
Set startTimeZone.
|
void |
setStatus(String status)
Set status.
|
void |
setSummary(String summary)
Set summary.
|
void |
setTransparency(String transparency)
Set transparency.
|
CalendarDto |
startDate(Date startDate)
Set startDate and return this.
|
CalendarDto |
startTimeZone(String startTimeZone)
Set startTimeZone and return this.
|
CalendarDto |
status(String status)
Set status and return this.
|
CalendarDto |
summary(String summary)
Set summary and return this.
|
String |
toString() |
CalendarDto |
transparency(String transparency)
Set transparency and return this.
|
public CalendarDto()
public CalendarDto(List<Attachment> attachments, List<MailAddress> attendees, String description, Date endDate, String endTimeZone, List<String> flags, Boolean isDescriptionHtml, String location, String method, String microsoftBusyStatus, String microsoftIntendedStatus, List<MailAddress> optionalAttendees, MailAddress organizer, String recurrenceString, RecurrencePatternDto recurrence, List<CalendarReminder> reminders, String sequenceId, Date startDate, String startTimeZone, String status, String summary, String transparency)
attachments
- Document attachments.attendees
- Event attendees.description
- Description.endDate
- End date.endTimeZone
- End time zone.flags
- Appointment flags. Items: Enumerates iCalendar flags. Enum, available values: None, AllDayEventisDescriptionHtml
- Indicates if description is in HTML format.location
- Location.method
- Defines the iCalendar object method type associated with the calendar document. Enum, available values: None, Publish, Request, Reply, Add, Cancel, Refresh, Counter, DeclineCountermicrosoftBusyStatus
- Specifies the BUSY status. Enum, available values: NotDefined, Free, Tentative, Busy, OofmicrosoftIntendedStatus
- Specifies the INTENDED status. Enum, available values: NotDefined, Free, Tentative, Busy, OofoptionalAttendees
- Optional attendees.organizer
- Event organizer.recurrenceString
- Deprecated, use 'Recurrence' property. String representation of recurrence pattern (See iCalendar RFC, \"Recurrence rule\" section). For example: For daily recurrence: \"FREQ=DAILY;COUNT=10;WKST=MO\" For monthly recurrence: \"BYSETPOS=1;BYDAY=MO,TU,WE,TH,FR;FREQ=MONTHLY;INTERVAL=10;WKST=MO\" For yearly recurrence: \"BYMONTHDAY=30;BYMONTH=1;FREQ=YEARLY;WKST=MO\"recurrence
- Recurrence patternreminders
- Reminders.sequenceId
- The sequence id. Read only.startDate
- Start date.startTimeZone
- Start time zone.status
- Defines the overall status or confirmation for the calendar document. Enum, available values: NotDefined, Cancelled, Tentative, Confirmedsummary
- Summary.transparency
- Specifies whether or not this appointment is intended to be visible in availability searches. Enum, available values: NotDefined, Transparent, Opaquepublic CalendarDto attachments(List<Attachment> attachments)
attachments
- Document attachments.public CalendarDto addAttachmentsItem(Attachment attachmentsItem)
attachmentsItem
- An item of: Document attachments.public List<Attachment> getAttachments()
public void setAttachments(List<Attachment> attachments)
attachments
- Document attachments.public CalendarDto attendees(List<MailAddress> attendees)
attendees
- Event attendees.public CalendarDto addAttendeesItem(MailAddress attendeesItem)
attendeesItem
- An item of: Event attendees.public List<MailAddress> getAttendees()
public void setAttendees(List<MailAddress> attendees)
attendees
- Event attendees.public CalendarDto description(String description)
description
- Description.public String getDescription()
public void setDescription(String description)
description
- Description.public CalendarDto endDate(Date endDate)
endDate
- End date.public Date getEndDate()
public void setEndDate(Date endDate)
endDate
- End date.public CalendarDto endTimeZone(String endTimeZone)
endTimeZone
- End time zone.public String getEndTimeZone()
public void setEndTimeZone(String endTimeZone)
endTimeZone
- End time zone.public CalendarDto flags(List<String> flags)
flags
- Appointment flags. Items: Enumerates iCalendar flags. Enum, available values: None, AllDayEventpublic CalendarDto addFlagsItem(String flagsItem)
flagsItem
- An item of: Appointment flags.public List<String> getFlags()
public void setFlags(List<String> flags)
flags
- Appointment flags. Items: Enumerates iCalendar flags. Enum, available values: None, AllDayEventpublic CalendarDto isDescriptionHtml(Boolean isDescriptionHtml)
isDescriptionHtml
- Indicates if description is in HTML format.public Boolean isIsDescriptionHtml()
public void setIsDescriptionHtml(Boolean isDescriptionHtml)
isDescriptionHtml
- Indicates if description is in HTML format.public CalendarDto location(String location)
location
- Location.public String getLocation()
public void setLocation(String location)
location
- Location.public CalendarDto method(String method)
method
- Defines the iCalendar object method type associated with the calendar document. Enum, available values: None, Publish, Request, Reply, Add, Cancel, Refresh, Counter, DeclineCounterpublic String getMethod()
public void setMethod(String method)
method
- Defines the iCalendar object method type associated with the calendar document. Enum, available values: None, Publish, Request, Reply, Add, Cancel, Refresh, Counter, DeclineCounterpublic CalendarDto microsoftBusyStatus(String microsoftBusyStatus)
microsoftBusyStatus
- Specifies the BUSY status. Enum, available values: NotDefined, Free, Tentative, Busy, Oofpublic String getMicrosoftBusyStatus()
public void setMicrosoftBusyStatus(String microsoftBusyStatus)
microsoftBusyStatus
- Specifies the BUSY status. Enum, available values: NotDefined, Free, Tentative, Busy, Oofpublic CalendarDto microsoftIntendedStatus(String microsoftIntendedStatus)
microsoftIntendedStatus
- Specifies the INTENDED status. Enum, available values: NotDefined, Free, Tentative, Busy, Oofpublic String getMicrosoftIntendedStatus()
public void setMicrosoftIntendedStatus(String microsoftIntendedStatus)
microsoftIntendedStatus
- Specifies the INTENDED status. Enum, available values: NotDefined, Free, Tentative, Busy, Oofpublic CalendarDto optionalAttendees(List<MailAddress> optionalAttendees)
optionalAttendees
- Optional attendees.public CalendarDto addOptionalAttendeesItem(MailAddress optionalAttendeesItem)
optionalAttendeesItem
- An item of: Optional attendees.public List<MailAddress> getOptionalAttendees()
public void setOptionalAttendees(List<MailAddress> optionalAttendees)
optionalAttendees
- Optional attendees.public CalendarDto organizer(MailAddress organizer)
organizer
- Event organizer.public MailAddress getOrganizer()
public void setOrganizer(MailAddress organizer)
organizer
- Event organizer.public CalendarDto recurrenceString(String recurrenceString)
recurrenceString
- Deprecated, use 'Recurrence' property. String representation of recurrence pattern (See iCalendar RFC, \"Recurrence rule\" section). For example: For daily recurrence: \"FREQ=DAILY;COUNT=10;WKST=MO\" For monthly recurrence: \"BYSETPOS=1;BYDAY=MO,TU,WE,TH,FR;FREQ=MONTHLY;INTERVAL=10;WKST=MO\" For yearly recurrence: \"BYMONTHDAY=30;BYMONTH=1;FREQ=YEARLY;WKST=MO\"public String getRecurrenceString()
public void setRecurrenceString(String recurrenceString)
recurrenceString
- Deprecated, use 'Recurrence' property. String representation of recurrence pattern (See iCalendar RFC, \"Recurrence rule\" section). For example: For daily recurrence: \"FREQ=DAILY;COUNT=10;WKST=MO\" For monthly recurrence: \"BYSETPOS=1;BYDAY=MO,TU,WE,TH,FR;FREQ=MONTHLY;INTERVAL=10;WKST=MO\" For yearly recurrence: \"BYMONTHDAY=30;BYMONTH=1;FREQ=YEARLY;WKST=MO\"public CalendarDto recurrence(RecurrencePatternDto recurrence)
recurrence
- Recurrence patternpublic RecurrencePatternDto getRecurrence()
public void setRecurrence(RecurrencePatternDto recurrence)
recurrence
- Recurrence patternpublic CalendarDto reminders(List<CalendarReminder> reminders)
reminders
- Reminders.public CalendarDto addRemindersItem(CalendarReminder remindersItem)
remindersItem
- An item of: Reminders.public List<CalendarReminder> getReminders()
public void setReminders(List<CalendarReminder> reminders)
reminders
- Reminders.public CalendarDto sequenceId(String sequenceId)
sequenceId
- The sequence id. Read only.public String getSequenceId()
public void setSequenceId(String sequenceId)
sequenceId
- The sequence id. Read only.public CalendarDto startDate(Date startDate)
startDate
- Start date.public Date getStartDate()
public void setStartDate(Date startDate)
startDate
- Start date.public CalendarDto startTimeZone(String startTimeZone)
startTimeZone
- Start time zone.public String getStartTimeZone()
public void setStartTimeZone(String startTimeZone)
startTimeZone
- Start time zone.public CalendarDto status(String status)
status
- Defines the overall status or confirmation for the calendar document. Enum, available values: NotDefined, Cancelled, Tentative, Confirmedpublic String getStatus()
public void setStatus(String status)
status
- Defines the overall status or confirmation for the calendar document. Enum, available values: NotDefined, Cancelled, Tentative, Confirmedpublic CalendarDto summary(String summary)
summary
- Summary.public String getSummary()
public void setSummary(String summary)
summary
- Summary.public CalendarDto transparency(String transparency)
transparency
- Specifies whether or not this appointment is intended to be visible in availability searches. Enum, available values: NotDefined, Transparent, Opaquepublic String getTransparency()
public void setTransparency(String transparency)
transparency
- Specifies whether or not this appointment is intended to be visible in availability searches. Enum, available values: NotDefined, Transparent, OpaqueCopyright © 2020. All rights reserved.