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 Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • assignCategories

      @SerializedName(value="assignCategories", alternate="AssignCategories") @Expose @Nullable public List<String> assignCategories
      The Assign Categories. A list of categories to be assigned to a message.
    • copyToFolder

      @SerializedName(value="copyToFolder", alternate="CopyToFolder") @Expose @Nullable public String copyToFolder
      The Copy To Folder. The ID of a folder that a message is to be copied to.
    • delete

      @SerializedName(value="delete", alternate="Delete") @Expose @Nullable public Boolean 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> forwardAsAttachmentTo
      The 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> forwardTo
      The 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 markAsRead
      The Mark As Read. Indicates whether a message should be marked as read.
    • markImportance

      @SerializedName(value="markImportance", alternate="MarkImportance") @Expose @Nullable public Importance markImportance
      The Mark Importance. Sets the importance of the message, which can be: low, normal, high.
    • moveToFolder

      @SerializedName(value="moveToFolder", alternate="MoveToFolder") @Expose @Nullable public String moveToFolder
      The 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 permanentDelete
      The 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> redirectTo
      The Redirect To. The email addresses to which a message should be redirected.
    • stopProcessingRules

      @SerializedName(value="stopProcessingRules", alternate="StopProcessingRules") @Expose @Nullable public Boolean stopProcessingRules
      The 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:
      additionalDataManager in interface com.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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to