Class CalendarSharingMessage

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

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

    • CalendarSharingMessage

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

    • createFromDiscriminatorValue

      @Nonnull public static CalendarSharingMessage 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 CalendarSharingMessage
    • getCanAccept

      @Nullable public Boolean getCanAccept()
      Gets the canAccept property value. The canAccept property
      Returns:
      a Boolean
    • 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>>
    • getSharingMessageAction

      @Nullable public CalendarSharingMessageAction getSharingMessageAction()
      Gets the sharingMessageAction property value. The sharingMessageAction property
      Returns:
      a CalendarSharingMessageAction
    • getSharingMessageActions

      @Nullable public List<CalendarSharingMessageAction> getSharingMessageActions()
      Gets the sharingMessageActions property value. The sharingMessageActions property
      Returns:
      a List<CalendarSharingMessageAction>
    • getSuggestedCalendarName

      @Nullable public String getSuggestedCalendarName()
      Gets the suggestedCalendarName property value. The suggestedCalendarName property
      Returns:
      a String
    • 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
    • setCanAccept

      public void setCanAccept(@Nullable Boolean value)
      Sets the canAccept property value. The canAccept property
      Parameters:
      value - Value to set for the canAccept property.
    • setSharingMessageAction

      public void setSharingMessageAction(@Nullable CalendarSharingMessageAction value)
      Sets the sharingMessageAction property value. The sharingMessageAction property
      Parameters:
      value - Value to set for the sharingMessageAction property.
    • setSharingMessageActions

      public void setSharingMessageActions(@Nullable List<CalendarSharingMessageAction> value)
      Sets the sharingMessageActions property value. The sharingMessageActions property
      Parameters:
      value - Value to set for the sharingMessageActions property.
    • setSuggestedCalendarName

      public void setSuggestedCalendarName(@Nullable String value)
      Sets the suggestedCalendarName property value. The suggestedCalendarName property
      Parameters:
      value - Value to set for the suggestedCalendarName property.