Package com.microsoft.graph.models
Class CalendarSharingMessage
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.OutlookItem
com.microsoft.graph.models.Message
com.microsoft.graph.models.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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CalendarSharingMessagecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the canAccept property value.The deserialization information for the current modelGets the sharingMessageAction property value.Gets the sharingMessageActions property value.Gets the suggestedCalendarName property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetCanAccept(Boolean value) Sets the canAccept property value.voidSets the sharingMessageAction property value.voidSets the sharingMessageActions property value.voidsetSuggestedCalendarName(String value) Sets the suggestedCalendarName 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
-
CalendarSharingMessage
public CalendarSharingMessage()Instantiates a newCalendarSharingMessageand 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
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classMessage- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getSharingMessageAction
Gets the sharingMessageAction property value. The sharingMessageAction property- Returns:
- a
CalendarSharingMessageAction
-
getSharingMessageActions
Gets the sharingMessageActions property value. The sharingMessageActions property- Returns:
- a
List<CalendarSharingMessageAction>
-
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 -
setCanAccept
Sets the canAccept property value. The canAccept property- Parameters:
value- Value to set for the canAccept property.
-
setSharingMessageAction
Sets the sharingMessageAction property value. The sharingMessageAction property- Parameters:
value- Value to set for the sharingMessageAction property.
-
setSharingMessageActions
Sets the sharingMessageActions property value. The sharingMessageActions property- Parameters:
value- Value to set for the sharingMessageActions property.
-
setSuggestedCalendarName
Sets the suggestedCalendarName property value. The suggestedCalendarName property- Parameters:
value- Value to set for the suggestedCalendarName property.
-