Package com.microsoft.graph.models
Class MessageRuleActions
java.lang.Object
com.microsoft.graph.models.MessageRuleActions
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class MessageRuleActions
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Message Rule Actions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Assign Categories.The Copy To Folder.The Delete.The Forward As Attachment To.The Forward To.The Mark As Read.The Mark Importance.The Move To Folder.the OData type of the object as returned by the serviceThe Permanent Delete.The Redirect To.The Stop Processing Rules. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
assignCategories
@SerializedName(value="assignCategories", alternate="AssignCategories") @Expose @Nullable public List<String> assignCategoriesThe Assign Categories. A list of categories to be assigned to a message. -
copyToFolder
@SerializedName(value="copyToFolder", alternate="CopyToFolder") @Expose @Nullable public String copyToFolderThe Copy To Folder. The ID of a folder that a message is to be copied to. -
delete
The Delete. Indicates whether a message should be moved to the Deleted Items folder. -
forwardAsAttachmentTo
@SerializedName(value="forwardAsAttachmentTo", alternate="ForwardAsAttachmentTo") @Expose @Nullable public List<Recipient> forwardAsAttachmentToThe Forward As Attachment To. The email addresses of the recipients to which a message should be forwarded as an attachment. -
forwardTo
@SerializedName(value="forwardTo", alternate="ForwardTo") @Expose @Nullable public List<Recipient> forwardToThe Forward To. The email addresses of the recipients to which a message should be forwarded. -
markAsRead
@SerializedName(value="markAsRead", alternate="MarkAsRead") @Expose @Nullable public Boolean markAsReadThe Mark As Read. Indicates whether a message should be marked as read. -
markImportance
@SerializedName(value="markImportance", alternate="MarkImportance") @Expose @Nullable public Importance markImportanceThe Mark Importance. Sets the importance of the message, which can be: low, normal, high. -
moveToFolder
@SerializedName(value="moveToFolder", alternate="MoveToFolder") @Expose @Nullable public String moveToFolderThe Move To Folder. The ID of the folder that a message will be moved to. -
permanentDelete
@SerializedName(value="permanentDelete", alternate="PermanentDelete") @Expose @Nullable public Boolean permanentDeleteThe Permanent Delete. Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder. -
redirectTo
@SerializedName(value="redirectTo", alternate="RedirectTo") @Expose @Nullable public List<Recipient> redirectToThe Redirect To. The email addresses to which a message should be redirected. -
stopProcessingRules
@SerializedName(value="stopProcessingRules", alternate="StopProcessingRules") @Expose @Nullable public Boolean stopProcessingRulesThe Stop Processing Rules. Indicates whether subsequent rules should be evaluated.
-
-
Constructor Details
-
MessageRuleActions
public MessageRuleActions()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManagerin interfacecom.microsoft.graph.serializer.IJsonBackedObject
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-