Package odata.msgraph.client.entity
Class EventMessage
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.OutlookItem
-
- odata.msgraph.client.entity.Message
-
- odata.msgraph.client.entity.EventMessage
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
EventMessageRequest,EventMessageResponse
public class EventMessage extends Message implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventMessage.Builder
-
Field Summary
Fields Modifier and Type Field Description protected DateTimeTimeZoneendDateTimeprotected Eventeventprotected BooleanisAllDayprotected BooleanisDelegatedprotected BooleanisOutOfDateprotected Locationlocationprotected MeetingMessageTypemeetingMessageTypeprotected PatternedRecurrencerecurrenceprotected DateTimeTimeZonestartDateTimeprotected EventTypetype-
Fields inherited from class odata.msgraph.client.entity.Message
attachments, bccRecipients, bccRecipientsNextLink, body, bodyPreview, ccRecipients, ccRecipientsNextLink, conversationId, conversationIndex, extensions, flag, from, hasAttachments, importance, inferenceClassification, internetMessageHeaders, internetMessageHeadersNextLink, internetMessageId, isDeliveryReceiptRequested, isDraft, isRead, isReadReceiptRequested, multiValueExtendedProperties, parentFolderId, receivedDateTime, replyTo, replyToNextLink, sender, sentDateTime, singleValueExtendedProperties, subject, toRecipients, toRecipientsNextLink, uniqueBody, webLink
-
Fields inherited from class odata.msgraph.client.entity.OutlookItem
categories, categoriesNextLink, changeKey, createdDateTime, lastModifiedDateTime
-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEventMessage()
-
Method Summary
-
Methods inherited from class odata.msgraph.client.entity.Message
builderMessage, copy, createForward, createReply, createReplyAll, forward, getAttachments, getBccRecipients, getBccRecipients, getBody, getBodyPreview, getCcRecipients, getCcRecipients, getConversationId, getConversationIndex, getExtensions, getFlag, getFrom, getHasAttachments, getImportance, getInferenceClassification, getInternetMessageHeaders, getInternetMessageHeaders, getInternetMessageId, getIsDeliveryReceiptRequested, getIsDraft, getIsRead, getIsReadReceiptRequested, getMultiValueExtendedProperties, getParentFolderId, getReceivedDateTime, getReplyTo, getReplyTo, getSender, getSentDateTime, getSingleValueExtendedProperties, getStream, getSubject, getToRecipients, getToRecipients, getUniqueBody, getWebLink, move, reply, replyAll, send, withAttachments, withBccRecipients, withBody, withBodyPreview, withCcRecipients, withConversationId, withConversationIndex, withExtensions, withFlag, withFrom, withHasAttachments, withImportance, withInferenceClassification, withInternetMessageHeaders, withInternetMessageId, withIsDeliveryReceiptRequested, withIsDraft, withIsRead, withIsReadReceiptRequested, withMultiValueExtendedProperties, withParentFolderId, withReceivedDateTime, withReplyTo, withSender, withSentDateTime, withSingleValueExtendedProperties, withSubject, withToRecipients, withUniqueBody, withWebLink
-
Methods inherited from class odata.msgraph.client.entity.OutlookItem
getCategories, getCategories, getChangeKey, getCreatedDateTime, getLastModifiedDateTime, withCategories, withChangeKey, withCreatedDateTime, withLastModifiedDateTime
-
-
-
-
Field Detail
-
endDateTime
protected DateTimeTimeZone endDateTime
-
isAllDay
protected Boolean isAllDay
-
isDelegated
protected Boolean isDelegated
-
isOutOfDate
protected Boolean isOutOfDate
-
location
protected Location location
-
meetingMessageType
protected MeetingMessageType meetingMessageType
-
recurrence
protected PatternedRecurrence recurrence
-
startDateTime
protected DateTimeTimeZone startDateTime
-
type
protected EventType type
-
event
protected Event event
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classMessage
-
builderEventMessage
public static EventMessage.Builder builderEventMessage()
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 classMessage
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classMessage
-
getEndDateTime
public Optional<DateTimeTimeZone> getEndDateTime()
-
withEndDateTime
public EventMessage withEndDateTime(DateTimeTimeZone endDateTime)
-
withIsAllDay
public EventMessage withIsAllDay(Boolean isAllDay)
-
withIsDelegated
public EventMessage withIsDelegated(Boolean isDelegated)
-
withIsOutOfDate
public EventMessage withIsOutOfDate(Boolean isOutOfDate)
-
withLocation
public EventMessage withLocation(Location location)
-
getMeetingMessageType
public Optional<MeetingMessageType> getMeetingMessageType()
-
withMeetingMessageType
public EventMessage withMeetingMessageType(MeetingMessageType meetingMessageType)
-
getRecurrence
public Optional<PatternedRecurrence> getRecurrence()
-
withRecurrence
public EventMessage withRecurrence(PatternedRecurrence recurrence)
-
getStartDateTime
public Optional<DateTimeTimeZone> getStartDateTime()
-
withStartDateTime
public EventMessage withStartDateTime(DateTimeTimeZone startDateTime)
-
withType
public EventMessage withType(EventType type)
-
withUnmappedField
public EventMessage withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classMessage
-
getEvent
public EventRequest getEvent()
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.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property event
-
withEvent
public EventMessage withEvent(Event event)
Returns an immutable copy ofthiswith just theeventfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.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.SearchRestrictions
Searchable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Parameters:
event- new value ofeventfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just theeventfield changed
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classMessage
-
patch
public EventMessage patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public EventMessage put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-