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

com.microsoft.graph.models.extensions.MailTips Maven / Gradle / Ivy

There is a newer version: 3.0.61
Show newest version
// ------------------------------------------------------------------------------
// 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.extensions;
import com.microsoft.graph.concurrency.*;
import com.microsoft.graph.core.*;
import com.microsoft.graph.http.*;
import com.microsoft.graph.options.*;
import com.microsoft.graph.serializer.*;
import java.util.Arrays;
import java.util.EnumSet;
import com.microsoft.graph.models.extensions.EmailAddress;
import com.microsoft.graph.models.extensions.AutomaticRepliesMailTips;
import com.microsoft.graph.models.generated.RecipientScopeType;
import com.microsoft.graph.models.extensions.Recipient;
import com.microsoft.graph.models.extensions.MailTipsError;


import com.google.gson.JsonObject;
import com.google.gson.JsonElement;
import com.google.gson.annotations.*;
import java.util.HashMap;
import java.util.Map;

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

/**
 * The class for the Mail Tips.
 */
public class MailTips implements IJsonBackedObject {

    @SerializedName("@odata.type")
    @Expose
    public String oDataType;

    private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

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

    /**
     * The Email Address.
     * The email address of the recipient to get mailtips for.
     */
    @SerializedName("emailAddress")
    @Expose
    public EmailAddress emailAddress;

    /**
     * The Automatic Replies.
     * Mail tips for automatic reply if it has been set up by the recipient.
     */
    @SerializedName("automaticReplies")
    @Expose
    public AutomaticRepliesMailTips automaticReplies;

    /**
     * The Mailbox Full.
     * The mailbox full status of the recipient.
     */
    @SerializedName("mailboxFull")
    @Expose
    public Boolean mailboxFull;

    /**
     * The Custom Mail Tip.
     * A custom mail tip that can be set on the recipient's mailbox.
     */
    @SerializedName("customMailTip")
    @Expose
    public String customMailTip;

    /**
     * The External Member Count.
     * The number of external members if the recipient is a distribution list.
     */
    @SerializedName("externalMemberCount")
    @Expose
    public Integer externalMemberCount;

    /**
     * The Total Member Count.
     * The number of members if the recipient is a distribution list.
     */
    @SerializedName("totalMemberCount")
    @Expose
    public Integer totalMemberCount;

    /**
     * The Delivery Restricted.
     * Whether the recipient's mailbox is restricted, for example, accepting messages from only a predefined list of senders, rejecting messages from a predefined list of senders, or accepting messages from only authenticated senders.
     */
    @SerializedName("deliveryRestricted")
    @Expose
    public Boolean deliveryRestricted;

    /**
     * The Is Moderated.
     * Whether sending messages to the recipient requires approval. For example, if the recipient is a large distribution list and a moderator has been set up to approve messages sent to that distribution list, or if sending messages to a recipient requires approval of the recipient's manager.
     */
    @SerializedName("isModerated")
    @Expose
    public Boolean isModerated;

    /**
     * The Recipient Scope.
     * The scope of the recipient. Possible values are: none, internal, external, externalPartner, externalNonParther. For example, an administrator can set another organization to be its 'partner'. The scope is useful if an administrator wants certain mailtips to be accessible to certain scopes. It's also useful to senders to inform them that their message may leave the organization, helping them make the correct decisions about wording, tone and content.
     */
    @SerializedName("recipientScope")
    @Expose
    public EnumSet recipientScope;

    /**
     * The Recipient Suggestions.
     * Recipients suggested based on previous contexts where they appear in the same message.
     */
    @SerializedName("recipientSuggestions")
    @Expose
    public java.util.List recipientSuggestions;

    /**
     * The Max Message Size.
     * The maximum message size that has been configured for the recipient's organization or mailbox.
     */
    @SerializedName("maxMessageSize")
    @Expose
    public Integer maxMessageSize;

    /**
     * The Error.
     * Errors that occur during the getMailTips action.
     */
    @SerializedName("error")
    @Expose
    public MailTipsError error;


    /**
     * The raw representation of this class
     */
    private JsonObject rawObject;

    /**
     * The serializer
     */
    private ISerializer serializer;

    /**
     * Gets the raw representation of this class
     *
     * @return the raw representation of this class
     */
    public JsonObject getRawObject() {
        return rawObject;
    }

    /**
     * Gets serializer
     *
     * @return the serializer
     */
    protected ISerializer getSerializer() {
        return serializer;
    }

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

    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy