Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MailTipscreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the automaticReplies property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the customMailTip property value.Gets the deliveryRestricted property value.Gets the emailAddress property value.getError()Gets the error property value.Gets the externalMemberCount property value.The deserialization information for the current modelGets the isModerated property value.Gets the mailboxFull property value.Gets the maxMessageSize property value.Gets the @odata.type property value.Gets the recipientScope property value.Gets the recipientSuggestions property value.Gets the totalMemberCount property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidSets the automaticReplies property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetCustomMailTip(String value) Sets the customMailTip property value.voidsetDeliveryRestricted(Boolean value) Sets the deliveryRestricted property value.voidsetEmailAddress(EmailAddress value) Sets the emailAddress property value.voidsetError(MailTipsError value) Sets the error property value.voidsetExternalMemberCount(Integer value) Sets the externalMemberCount property value.voidsetIsModerated(Boolean value) Sets the isModerated property value.voidsetMailboxFull(Boolean value) Sets the mailboxFull property value.voidsetMaxMessageSize(Integer value) Sets the maxMessageSize property value.voidsetOdataType(String value) Sets the @odata.type property value.voidSets the recipientScope property value.voidsetRecipientSuggestions(List<Recipient> value) Sets the recipientSuggestions property value.voidsetTotalMemberCount(Integer value) Sets the totalMemberCount property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
MailTips
public MailTips()Instantiates a newMailTipsand 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
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
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:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getCustomMailTip
Gets the customMailTip property value. A custom mail tip that can be set on the recipient's mailbox.- Returns:
- a
String
-
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
Gets the emailAddress property value. The email address of the recipient to get mailtips for.- Returns:
- a
EmailAddress
-
getError
Gets the error property value. Errors that occur during the getMailTips action.- Returns:
- a
MailTipsError
-
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 -
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
Gets the mailboxFull property value. The mailbox full status of the recipient.- Returns:
- a
Boolean
-
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
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
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
Gets the recipientSuggestions property value. Recipients suggested based on previous contexts where they appear in the same message. -
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:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
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
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
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
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
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
Sets the error property value. Errors that occur during the getMailTips action.- Parameters:
value- Value to set for the error property.
-
setExternalMemberCount
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
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
Sets the mailboxFull property value. The mailbox full status of the recipient.- Parameters:
value- Value to set for the mailboxFull property.
-
setMaxMessageSize
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
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setRecipientScope
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
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
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.
-