Class MailTips

java.lang.Object
com.microsoft.graph.models.MailTips
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class MailTips extends Object implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
  • Field Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • MailTips

      public MailTips()
      Instantiates a new MailTips and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static MailTips 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 MailTips
    • getAdditionalData

      @Nonnull public Map<String,Object> 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.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getAutomaticReplies

      @Nullable public AutomaticRepliesMailTips getAutomaticReplies()
      Gets the automaticReplies property value. Mail tips for automatic reply if it has been set up by the recipient.
      Returns:
      a AutomaticRepliesMailTips
    • getBackingStore

      @Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()
      Gets the backingStore property value. Stores model information.
      Specified by:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getCustomMailTip

      @Nullable public String getCustomMailTip()
      Gets the customMailTip property value. A custom mail tip that can be set on the recipient's mailbox.
      Returns:
      a String
    • getDeliveryRestricted

      @Nullable public Boolean getDeliveryRestricted()
      Gets the deliveryRestricted property value. 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.
      Returns:
      a Boolean
    • getEmailAddress

      @Nullable public EmailAddress getEmailAddress()
      Gets the emailAddress property value. The email address of the recipient to get mailtips for.
      Returns:
      a EmailAddress
    • getError

      @Nullable public MailTipsError getError()
      Gets the error property value. Errors that occur during the getMailTips action.
      Returns:
      a MailTipsError
    • getExternalMemberCount

      @Nullable public Integer getExternalMemberCount()
      Gets the externalMemberCount property value. The number of external members if the recipient is a distribution list.
      Returns:
      a Integer
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsModerated

      @Nullable public Boolean getIsModerated()
      Gets the isModerated property value. 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.
      Returns:
      a Boolean
    • getMailboxFull

      @Nullable public Boolean getMailboxFull()
      Gets the mailboxFull property value. The mailbox full status of the recipient.
      Returns:
      a Boolean
    • getMaxMessageSize

      @Nullable public Integer getMaxMessageSize()
      Gets the maxMessageSize property value. The maximum message size that has been configured for the recipient's organization or mailbox.
      Returns:
      a Integer
    • getOdataType

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getRecipientScope

      @Nullable public EnumSet<RecipientScopeType> getRecipientScope()
      Gets the recipientScope property value. 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.
      Returns:
      a EnumSet<RecipientScopeType>
    • getRecipientSuggestions

      @Nullable public List<Recipient> getRecipientSuggestions()
      Gets the recipientSuggestions property value. Recipients suggested based on previous contexts where they appear in the same message.
      Returns:
      a List<Recipient>
    • getTotalMemberCount

      @Nullable public Integer getTotalMemberCount()
      Gets the totalMemberCount property value. The number of members if the recipient is a distribution list.
      Returns:
      a Integer
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      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.
    • setAutomaticReplies

      public void setAutomaticReplies(@Nullable AutomaticRepliesMailTips value)
      Sets the automaticReplies property value. Mail tips for automatic reply if it has been set up by the recipient.
      Parameters:
      value - Value to set for the automaticReplies 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.
    • setCustomMailTip

      public void setCustomMailTip(@Nullable String value)
      Sets the customMailTip property value. A custom mail tip that can be set on the recipient's mailbox.
      Parameters:
      value - Value to set for the customMailTip property.
    • setDeliveryRestricted

      public void setDeliveryRestricted(@Nullable Boolean value)
      Sets the deliveryRestricted property value. 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.
      Parameters:
      value - Value to set for the deliveryRestricted property.
    • setEmailAddress

      public void setEmailAddress(@Nullable EmailAddress value)
      Sets the emailAddress property value. The email address of the recipient to get mailtips for.
      Parameters:
      value - Value to set for the emailAddress property.
    • setError

      public void setError(@Nullable MailTipsError value)
      Sets the error property value. Errors that occur during the getMailTips action.
      Parameters:
      value - Value to set for the error property.
    • setExternalMemberCount

      public void setExternalMemberCount(@Nullable Integer value)
      Sets the externalMemberCount property value. The number of external members if the recipient is a distribution list.
      Parameters:
      value - Value to set for the externalMemberCount property.
    • setIsModerated

      public void setIsModerated(@Nullable Boolean value)
      Sets the isModerated property value. 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.
      Parameters:
      value - Value to set for the isModerated property.
    • setMailboxFull

      public void setMailboxFull(@Nullable Boolean value)
      Sets the mailboxFull property value. The mailbox full status of the recipient.
      Parameters:
      value - Value to set for the mailboxFull property.
    • setMaxMessageSize

      public void setMaxMessageSize(@Nullable Integer value)
      Sets the maxMessageSize property value. The maximum message size that has been configured for the recipient's organization or mailbox.
      Parameters:
      value - Value to set for the maxMessageSize property.
    • setOdataType

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setRecipientScope

      public void setRecipientScope(@Nullable EnumSet<RecipientScopeType> value)
      Sets the recipientScope property value. 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.
      Parameters:
      value - Value to set for the recipientScope property.
    • setRecipientSuggestions

      public void setRecipientSuggestions(@Nullable List<Recipient> value)
      Sets the recipientSuggestions property value. Recipients suggested based on previous contexts where they appear in the same message.
      Parameters:
      value - Value to set for the recipientSuggestions property.
    • setTotalMemberCount

      public void setTotalMemberCount(@Nullable Integer value)
      Sets the totalMemberCount property value. The number of members if the recipient is a distribution list.
      Parameters:
      value - Value to set for the totalMemberCount property.