Class 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
  • Constructor Details

    • EventMessage

      public EventMessage()
      Instantiates a new EventMessage and 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

      @Nullable public DateTimeTimeZone getEndDateTime()
      Gets the endDateTime property value. The endDateTime property
      Returns:
      a DateTimeTimeZone
    • getEvent

      @Nullable public Event 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Message
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsAllDay

      @Nullable public Boolean getIsAllDay()
      Gets the isAllDay property value. The isAllDay property
      Returns:
      a Boolean
    • getIsDelegated

      @Nullable public 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

      @Nullable public Boolean getIsOutOfDate()
      Gets the isOutOfDate property value. The isOutOfDate property
      Returns:
      a Boolean
    • getLocation

      @Nullable public Location getLocation()
      Gets the location property value. The location property
      Returns:
      a Location
    • getMeetingMessageType

      @Nullable public MeetingMessageType getMeetingMessageType()
      Gets the meetingMessageType property value. The type of event message: none, meetingRequest, meetingCancelled, meetingAccepted, meetingTenativelyAccepted, meetingDeclined.
      Returns:
      a MeetingMessageType
    • getRecurrence

      @Nullable public PatternedRecurrence getRecurrence()
      Gets the recurrence property value. The recurrence property
      Returns:
      a PatternedRecurrence
    • getStartDateTime

      @Nullable public DateTimeTimeZone getStartDateTime()
      Gets the startDateTime property value. The startDateTime property
      Returns:
      a DateTimeTimeZone
    • getType

      @Nullable public EventType 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Message
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setEndDateTime

      public void setEndDateTime(@Nullable DateTimeTimeZone value)
      Sets the endDateTime property value. The endDateTime property
      Parameters:
      value - Value to set for the endDateTime property.
    • setEvent

      public void setEvent(@Nullable Event value)
      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

      public void setIsAllDay(@Nullable Boolean value)
      Sets the isAllDay property value. The isAllDay property
      Parameters:
      value - Value to set for the isAllDay property.
    • setIsDelegated

      public void setIsDelegated(@Nullable Boolean value)
      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

      public void setIsOutOfDate(@Nullable Boolean value)
      Sets the isOutOfDate property value. The isOutOfDate property
      Parameters:
      value - Value to set for the isOutOfDate property.
    • setLocation

      public void setLocation(@Nullable Location value)
      Sets the location property value. The location property
      Parameters:
      value - Value to set for the location property.
    • setMeetingMessageType

      public void setMeetingMessageType(@Nullable MeetingMessageType value)
      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

      public void setRecurrence(@Nullable PatternedRecurrence value)
      Sets the recurrence property value. The recurrence property
      Parameters:
      value - Value to set for the recurrence property.
    • setStartDateTime

      public void setStartDateTime(@Nullable DateTimeTimeZone value)
      Sets the startDateTime property value. The startDateTime property
      Parameters:
      value - Value to set for the startDateTime property.
    • setType

      public void setType(@Nullable EventType value)
      Sets the type property value. The type property
      Parameters:
      value - Value to set for the type property.