All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.graph.models.MessageRuleActions Maven / Gradle / Ivy

// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
// ------------------------------------------------------------------------------

package com.microsoft.graph.models;
import com.microsoft.graph.serializer.ISerializer;
import com.microsoft.graph.serializer.IJsonBackedObject;
import com.microsoft.graph.serializer.AdditionalDataManager;
import java.util.EnumSet;
import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.models.Recipient;
import com.microsoft.graph.models.Importance;


import com.google.gson.JsonObject;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;

// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
 * The class for the Message Rule Actions.
 */
public class MessageRuleActions implements IJsonBackedObject {

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

    private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

    @Override
    @Nonnull
    public final AdditionalDataManager additionalDataManager() {
        return additionalDataManager;
    }

    /**
     * The Assign Categories.
     * A list of categories to be assigned to a message.
     */
    @SerializedName(value = "assignCategories", alternate = {"AssignCategories"})
    @Expose
	@Nullable
    public java.util.List assignCategories;

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

    /**
     * The Delete.
     * Indicates whether a message should be moved to the Deleted Items folder.
     */
    @SerializedName(value = "delete", alternate = {"Delete"})
    @Expose
	@Nullable
    public Boolean delete;

    /**
     * The Forward As Attachment To.
     * The email addresses of the recipients to which a message should be forwarded as an attachment.
     */
    @SerializedName(value = "forwardAsAttachmentTo", alternate = {"ForwardAsAttachmentTo"})
    @Expose
	@Nullable
    public java.util.List forwardAsAttachmentTo;

    /**
     * The Forward To.
     * The email addresses of the recipients to which a message should be forwarded.
     */
    @SerializedName(value = "forwardTo", alternate = {"ForwardTo"})
    @Expose
	@Nullable
    public java.util.List forwardTo;

    /**
     * The Mark As Read.
     * Indicates whether a message should be marked as read.
     */
    @SerializedName(value = "markAsRead", alternate = {"MarkAsRead"})
    @Expose
	@Nullable
    public Boolean markAsRead;

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

    /**
     * The Move To Folder.
     * The ID of the folder that a message will be moved to.
     */
    @SerializedName(value = "moveToFolder", alternate = {"MoveToFolder"})
    @Expose
	@Nullable
    public String moveToFolder;

    /**
     * The Permanent Delete.
     * Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder.
     */
    @SerializedName(value = "permanentDelete", alternate = {"PermanentDelete"})
    @Expose
	@Nullable
    public Boolean permanentDelete;

    /**
     * The Redirect To.
     * The email addresses to which a message should be redirected.
     */
    @SerializedName(value = "redirectTo", alternate = {"RedirectTo"})
    @Expose
	@Nullable
    public java.util.List redirectTo;

    /**
     * The Stop Processing Rules.
     * Indicates whether subsequent rules should be evaluated.
     */
    @SerializedName(value = "stopProcessingRules", alternate = {"StopProcessingRules"})
    @Expose
	@Nullable
    public Boolean stopProcessingRules;


    /**
     * Sets the raw JSON object
     *
     * @param serializer the serializer
     * @param json the JSON object to set this object to
     */
    public void setRawObject(@Nonnull final ISerializer serializer, @Nonnull final JsonObject json) {

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy