Package com.microsoft.graph.models
Class EventMessage
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.OutlookItem
com.microsoft.graph.models.Message
com.microsoft.graph.models.EventMessage
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
EventMessageRequest,EventMessageResponse
@Generated("com.microsoft.kiota")
public class EventMessage
extends Message
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EventMessagecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the endDateTime property value.getEvent()Gets the event property value.The deserialization information for the current modelGets the isAllDay property value.Gets the isDelegated property value.Gets the isOutOfDate property value.Gets the location property value.Gets the meetingMessageType property value.Gets the recurrence property value.Gets the startDateTime property value.getType()Gets the type property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetEndDateTime(DateTimeTimeZone value) Sets the endDateTime property value.voidSets the event property value.voidsetIsAllDay(Boolean value) Sets the isAllDay property value.voidsetIsDelegated(Boolean value) Sets the isDelegated property value.voidsetIsOutOfDate(Boolean value) Sets the isOutOfDate property value.voidsetLocation(Location value) Sets the location property value.voidSets the meetingMessageType property value.voidsetRecurrence(PatternedRecurrence value) Sets the recurrence property value.voidsetStartDateTime(DateTimeTimeZone value) Sets the startDateTime property value.voidSets the type property value.Methods inherited from class com.microsoft.graph.models.Message
getAttachments, getBccRecipients, getBody, getBodyPreview, getCcRecipients, getConversationId, getConversationIndex, getExtensions, getFlag, getFrom, getHasAttachments, getImportance, getInferenceClassification, getInternetMessageHeaders, getInternetMessageId, getIsDeliveryReceiptRequested, getIsDraft, getIsRead, getIsReadReceiptRequested, getMultiValueExtendedProperties, getParentFolderId, getReceivedDateTime, getReplyTo, getSender, getSentDateTime, getSingleValueExtendedProperties, getSubject, getToRecipients, getUniqueBody, getWebLink, setAttachments, setBccRecipients, setBody, setBodyPreview, setCcRecipients, setConversationId, setConversationIndex, setExtensions, setFlag, setFrom, setHasAttachments, setImportance, setInferenceClassification, setInternetMessageHeaders, setInternetMessageId, setIsDeliveryReceiptRequested, setIsDraft, setIsRead, setIsReadReceiptRequested, setMultiValueExtendedProperties, setParentFolderId, setReceivedDateTime, setReplyTo, setSender, setSentDateTime, setSingleValueExtendedProperties, setSubject, setToRecipients, setUniqueBody, setWebLinkMethods inherited from class com.microsoft.graph.models.OutlookItem
getCategories, getChangeKey, getCreatedDateTime, getLastModifiedDateTime, setCategories, setChangeKey, setCreatedDateTime, setLastModifiedDateTimeMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
EventMessage
public EventMessage()Instantiates a newEventMessageand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static EventMessage createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
EventMessage
-
getEndDateTime
Gets the endDateTime property value. The endDateTime property- Returns:
- a
DateTimeTimeZone
-
getEvent
Gets the event property value. The event associated with the event message. The assumption for attendees or room resources is that the Calendar Attendant is set to automatically update the calendar with an event when meeting request event messages arrive. Navigation property. Read-only.- Returns:
- a
Event
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classMessage- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getIsAllDay
Gets the isAllDay property value. The isAllDay property- Returns:
- a
Boolean
-
getIsDelegated
Gets the isDelegated property value. True if this meeting request is accessible to a delegate, false otherwise. The default is false.- Returns:
- a
Boolean
-
getIsOutOfDate
Gets the isOutOfDate property value. The isOutOfDate property- Returns:
- a
Boolean
-
getLocation
Gets the location property value. The location property- Returns:
- a
Location
-
getMeetingMessageType
Gets the meetingMessageType property value. The type of event message: none, meetingRequest, meetingCancelled, meetingAccepted, meetingTenativelyAccepted, meetingDeclined.- Returns:
- a
MeetingMessageType
-
getRecurrence
Gets the recurrence property value. The recurrence property- Returns:
- a
PatternedRecurrence
-
getStartDateTime
Gets the startDateTime property value. The startDateTime property- Returns:
- a
DateTimeTimeZone
-
getType
Gets the type property value. The type property- Returns:
- a
EventType
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setEndDateTime
Sets the endDateTime property value. The endDateTime property- Parameters:
value- Value to set for the endDateTime property.
-
setEvent
Sets the event property value. The event associated with the event message. The assumption for attendees or room resources is that the Calendar Attendant is set to automatically update the calendar with an event when meeting request event messages arrive. Navigation property. Read-only.- Parameters:
value- Value to set for the event property.
-
setIsAllDay
Sets the isAllDay property value. The isAllDay property- Parameters:
value- Value to set for the isAllDay property.
-
setIsDelegated
Sets the isDelegated property value. True if this meeting request is accessible to a delegate, false otherwise. The default is false.- Parameters:
value- Value to set for the isDelegated property.
-
setIsOutOfDate
Sets the isOutOfDate property value. The isOutOfDate property- Parameters:
value- Value to set for the isOutOfDate property.
-
setLocation
Sets the location property value. The location property- Parameters:
value- Value to set for the location property.
-
setMeetingMessageType
Sets the meetingMessageType property value. The type of event message: none, meetingRequest, meetingCancelled, meetingAccepted, meetingTenativelyAccepted, meetingDeclined.- Parameters:
value- Value to set for the meetingMessageType property.
-
setRecurrence
Sets the recurrence property value. The recurrence property- Parameters:
value- Value to set for the recurrence property.
-
setStartDateTime
Sets the startDateTime property value. The startDateTime property- Parameters:
value- Value to set for the startDateTime property.
-
setType
Sets the type property value. The type property- Parameters:
value- Value to set for the type property.
-