Class Event
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.OutlookItem
-
- odata.msgraph.client.beta.entity.Event
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Event extends OutlookItem implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvent.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.beta.entity.OutlookItem
categories, categoriesNextLink, changeKey, createdDateTime, lastModifiedDateTime
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEvent()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.beta.entity.OutlookItem
getCategories, getCategories, getChangeKey, getCreatedDateTime, getLastModifiedDateTime, withCategories, withChangeKey, withCreatedDateTime, withLastModifiedDateTime
-
-
-
-
Field Detail
-
allowNewTimeProposals
protected Boolean allowNewTimeProposals
-
attendeesNextLink
protected String attendeesNextLink
-
body
protected ItemBody body
-
bodyPreview
protected String bodyPreview
-
cancelledOccurrencesNextLink
protected String cancelledOccurrencesNextLink
-
end
protected DateTimeTimeZone end
-
hasAttachments
protected Boolean hasAttachments
-
hideAttendees
protected Boolean hideAttendees
-
importance
protected Importance importance
-
isAllDay
protected Boolean isAllDay
-
isCancelled
protected Boolean isCancelled
-
isDraft
protected Boolean isDraft
-
isOnlineMeeting
protected Boolean isOnlineMeeting
-
isOrganizer
protected Boolean isOrganizer
-
isReminderOn
protected Boolean isReminderOn
-
location
protected Location location
-
locationsNextLink
protected String locationsNextLink
-
occurrenceId
protected String occurrenceId
-
onlineMeeting
protected OnlineMeetingInfo onlineMeeting
-
onlineMeetingProvider
protected OnlineMeetingProviderType onlineMeetingProvider
-
onlineMeetingUrl
protected String onlineMeetingUrl
-
organizer
protected Recipient organizer
-
originalEndTimeZone
protected String originalEndTimeZone
-
originalStart
protected OffsetDateTime originalStart
-
originalStartTimeZone
protected String originalStartTimeZone
-
recurrence
protected PatternedRecurrence recurrence
-
reminderMinutesBeforeStart
protected Integer reminderMinutesBeforeStart
-
responseRequested
protected Boolean responseRequested
-
responseStatus
protected ResponseStatus responseStatus
-
sensitivity
protected Sensitivity sensitivity
-
seriesMasterId
protected String seriesMasterId
-
showAs
protected FreeBusyStatus showAs
-
start
protected DateTimeTimeZone start
-
subject
protected String subject
-
transactionId
protected String transactionId
-
type
protected EventType type
-
uid
protected String uid
-
webLink
protected String webLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classOutlookItem
-
builderEvent
public static Event.Builder builderEvent()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classOutlookItem
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classOutlookItem
-
getAttendees
public com.github.davidmoten.odata.client.CollectionPage<Attendee> getAttendees()
-
getAttendees
public com.github.davidmoten.odata.client.CollectionPage<Attendee> getAttendees(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getCancelledOccurrences
public com.github.davidmoten.odata.client.CollectionPage<String> getCancelledOccurrences()
-
getCancelledOccurrences
public com.github.davidmoten.odata.client.CollectionPage<String> getCancelledOccurrences(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getEnd
public Optional<DateTimeTimeZone> getEnd()
-
withEnd
public Event withEnd(DateTimeTimeZone end)
-
getImportance
public Optional<Importance> getImportance()
-
withImportance
public Event withImportance(Importance importance)
-
getLocations
public com.github.davidmoten.odata.client.CollectionPage<Location> getLocations()
-
getLocations
public com.github.davidmoten.odata.client.CollectionPage<Location> getLocations(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getOnlineMeeting
public Optional<OnlineMeetingInfo> getOnlineMeeting()
-
withOnlineMeeting
public Event withOnlineMeeting(OnlineMeetingInfo onlineMeeting)
-
getOnlineMeetingProvider
public Optional<OnlineMeetingProviderType> getOnlineMeetingProvider()
-
withOnlineMeetingProvider
public Event withOnlineMeetingProvider(OnlineMeetingProviderType onlineMeetingProvider)
-
getOriginalStart
public Optional<OffsetDateTime> getOriginalStart()
-
withOriginalStart
public Event withOriginalStart(OffsetDateTime originalStart)
-
getRecurrence
public Optional<PatternedRecurrence> getRecurrence()
-
withRecurrence
public Event withRecurrence(PatternedRecurrence recurrence)
-
withReminderMinutesBeforeStart
public Event withReminderMinutesBeforeStart(Integer reminderMinutesBeforeStart)
-
getResponseStatus
public Optional<ResponseStatus> getResponseStatus()
-
withResponseStatus
public Event withResponseStatus(ResponseStatus responseStatus)
-
getSensitivity
public Optional<Sensitivity> getSensitivity()
-
withSensitivity
public Event withSensitivity(Sensitivity sensitivity)
-
getShowAs
public Optional<FreeBusyStatus> getShowAs()
-
withShowAs
public Event withShowAs(FreeBusyStatus showAs)
-
getStart
public Optional<DateTimeTimeZone> getStart()
-
withStart
public Event withStart(DateTimeTimeZone start)
-
withUnmappedField
public Event withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classOutlookItem
-
getAttachments
public AttachmentCollectionRequest getAttachments()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property attachments
-
getCalendar
public CalendarRequest getCalendar()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.NavigationRestrictions
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property calendar
-
getExceptionOccurrences
public EventCollectionRequest getExceptionOccurrences()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.NavigationRestrictions
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property exceptionOccurrences
-
getExtensions
public ExtensionCollectionRequest getExtensions()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
- Returns:
- navigational property extensions
-
getInstances
public EventCollectionRequest getInstances()
Org.OData.Capabilities.V1.ChangeTracking
Supported = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.NavigationRestrictions
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property instances
-
getMultiValueExtendedProperties
public MultiValueLegacyExtendedPropertyCollectionRequest getMultiValueExtendedProperties()
-
getSingleValueExtendedProperties
public SingleValueLegacyExtendedPropertyCollectionRequest getSingleValueExtendedProperties()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classOutlookItem
-
patch
public Event patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classOutlookItem- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Event put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classOutlookItem- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
cancel
public com.github.davidmoten.odata.client.ActionRequestNoReturn cancel(String comment)
-
accept
public com.github.davidmoten.odata.client.ActionRequestNoReturn accept(Boolean sendResponse, String comment)
-
decline
public com.github.davidmoten.odata.client.ActionRequestNoReturn decline(TimeSlot proposedNewTime, Boolean sendResponse, String comment)
-
dismissReminder
public com.github.davidmoten.odata.client.ActionRequestNoReturn dismissReminder()
-
forward
public com.github.davidmoten.odata.client.ActionRequestNoReturn forward(List<Recipient> toRecipients, String comment)
-
snoozeReminder
public com.github.davidmoten.odata.client.ActionRequestNoReturn snoozeReminder(DateTimeTimeZone newReminderTime)
-
tentativelyAccept
public com.github.davidmoten.odata.client.ActionRequestNoReturn tentativelyAccept(TimeSlot proposedNewTime, Boolean sendResponse, String comment)
-
toString
public String toString()
- Overrides:
toStringin classOutlookItem
-
-