Package com.microsoft.graph.models
Class MessageRuleActions
java.lang.Object
com.microsoft.graph.models.MessageRuleActions
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class MessageRuleActions
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageRuleActionscreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the assignCategories property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the copyToFolder property value.Gets the delete property value.The deserialization information for the current modelGets the forwardAsAttachmentTo property value.Gets the forwardTo property value.Gets the markAsRead property value.Gets the markImportance property value.Gets the moveToFolder property value.Gets the @odata.type property value.Gets the permanentDelete property value.Gets the redirectTo property value.Gets the stopProcessingRules property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetAssignCategories(List<String> value) Sets the assignCategories property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetCopyToFolder(String value) Sets the copyToFolder property value.voidSets the delete property value.voidsetForwardAsAttachmentTo(List<Recipient> value) Sets the forwardAsAttachmentTo property value.voidsetForwardTo(List<Recipient> value) Sets the forwardTo property value.voidsetMarkAsRead(Boolean value) Sets the markAsRead property value.voidsetMarkImportance(Importance value) Sets the markImportance property value.voidsetMoveToFolder(String value) Sets the moveToFolder property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetPermanentDelete(Boolean value) Sets the permanentDelete property value.voidsetRedirectTo(List<Recipient> value) Sets the redirectTo property value.voidsetStopProcessingRules(Boolean value) Sets the stopProcessingRules property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
MessageRuleActions
public MessageRuleActions()Instantiates a newMessageRuleActionsand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static MessageRuleActions 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
MessageRuleActions
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getAssignCategories
Gets the assignCategories property value. A list of categories to be assigned to a message. -
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getCopyToFolder
Gets the copyToFolder property value. The ID of a folder that a message is to be copied to.- Returns:
- a
String
-
getDelete
Gets the delete property value. Indicates whether a message should be moved to the Deleted Items folder.- Returns:
- a
Boolean
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getForwardAsAttachmentTo
Gets the forwardAsAttachmentTo property value. The email addresses of the recipients to which a message should be forwarded as an attachment. -
getForwardTo
Gets the forwardTo property value. The email addresses of the recipients to which a message should be forwarded. -
getMarkAsRead
Gets the markAsRead property value. Indicates whether a message should be marked as read.- Returns:
- a
Boolean
-
getMarkImportance
Gets the markImportance property value. Sets the importance of the message, which can be: low, normal, high.- Returns:
- a
Importance
-
getMoveToFolder
Gets the moveToFolder property value. The ID of the folder that a message will be moved to.- Returns:
- a
String
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getPermanentDelete
Gets the permanentDelete property value. Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder.- Returns:
- a
Boolean
-
getRedirectTo
Gets the redirectTo property value. The email addresses to which a message should be redirected. -
getStopProcessingRules
Gets the stopProcessingRules property value. Indicates whether subsequent rules should be evaluated.- Returns:
- a
Boolean
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setAssignCategories
Sets the assignCategories property value. A list of categories to be assigned to a message.- Parameters:
value- Value to set for the assignCategories property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setCopyToFolder
Sets the copyToFolder property value. The ID of a folder that a message is to be copied to.- Parameters:
value- Value to set for the copyToFolder property.
-
setDelete
Sets the delete property value. Indicates whether a message should be moved to the Deleted Items folder.- Parameters:
value- Value to set for the delete property.
-
setForwardAsAttachmentTo
Sets the forwardAsAttachmentTo property value. The email addresses of the recipients to which a message should be forwarded as an attachment.- Parameters:
value- Value to set for the forwardAsAttachmentTo property.
-
setForwardTo
Sets the forwardTo property value. The email addresses of the recipients to which a message should be forwarded.- Parameters:
value- Value to set for the forwardTo property.
-
setMarkAsRead
Sets the markAsRead property value. Indicates whether a message should be marked as read.- Parameters:
value- Value to set for the markAsRead property.
-
setMarkImportance
Sets the markImportance property value. Sets the importance of the message, which can be: low, normal, high.- Parameters:
value- Value to set for the markImportance property.
-
setMoveToFolder
Sets the moveToFolder property value. The ID of the folder that a message will be moved to.- Parameters:
value- Value to set for the moveToFolder property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setPermanentDelete
Sets the permanentDelete property value. Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder.- Parameters:
value- Value to set for the permanentDelete property.
-
setRedirectTo
Sets the redirectTo property value. The email addresses to which a message should be redirected.- Parameters:
value- Value to set for the redirectTo property.
-
setStopProcessingRules
Sets the stopProcessingRules property value. Indicates whether subsequent rules should be evaluated.- Parameters:
value- Value to set for the stopProcessingRules property.
-