Class EventMessageResponse

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class EventMessageResponse extends EventMessage implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • EventMessageResponse

      public EventMessageResponse()
      Instantiates a new EventMessageResponse and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static EventMessageResponse 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 EventMessageResponse
    • 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 EventMessage
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getProposedNewTime

      @Nullable public TimeSlot getProposedNewTime()
      Gets the proposedNewTime property value. An alternate date/time proposed by an invitee for a meeting request to start and end. Read-only. Not filterable.
      Returns:
      a TimeSlot
    • getResponseType

      @Nullable public ResponseType getResponseType()
      Gets the responseType property value. Specifies the type of response to a meeting request. Possible values are: tentativelyAccepted, accepted, declined. For the eventMessageResponse type, none, organizer, and notResponded are not supported. Read-only. Not filterable.
      Returns:
      a ResponseType
    • 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 EventMessage
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setProposedNewTime

      public void setProposedNewTime(@Nullable TimeSlot value)
      Sets the proposedNewTime property value. An alternate date/time proposed by an invitee for a meeting request to start and end. Read-only. Not filterable.
      Parameters:
      value - Value to set for the proposedNewTime property.
    • setResponseType

      public void setResponseType(@Nullable ResponseType value)
      Sets the responseType property value. Specifies the type of response to a meeting request. Possible values are: tentativelyAccepted, accepted, declined. For the eventMessageResponse type, none, organizer, and notResponded are not supported. Read-only. Not filterable.
      Parameters:
      value - Value to set for the responseType property.