Class MessageRuleActions

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

@Generated("com.microsoft.kiota") public class MessageRuleActions 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

    • MessageRuleActions

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

    • createFromDiscriminatorValue

      @Nonnull public static MessageRuleActions 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 MessageRuleActions
    • 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>
    • getAssignCategories

      @Nullable public List<String> getAssignCategories()
      Gets the assignCategories property value. A list of categories to be assigned to a message.
      Returns:
      a List<String>
    • 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
    • getCopyToFolder

      @Nullable public String getCopyToFolder()
      Gets the copyToFolder property value. The ID of a folder that a message is to be copied to.
      Returns:
      a String
    • getDelete

      @Nullable public Boolean getDelete()
      Gets the delete property value. Indicates whether a message should be moved to the Deleted Items folder.
      Returns:
      a Boolean
    • 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>>
    • getForwardAsAttachmentTo

      @Nullable public List<Recipient> getForwardAsAttachmentTo()
      Gets the forwardAsAttachmentTo property value. The email addresses of the recipients to which a message should be forwarded as an attachment.
      Returns:
      a List<Recipient>
    • getForwardTo

      @Nullable public List<Recipient> getForwardTo()
      Gets the forwardTo property value. The email addresses of the recipients to which a message should be forwarded.
      Returns:
      a List<Recipient>
    • getMarkAsRead

      @Nullable public Boolean getMarkAsRead()
      Gets the markAsRead property value. Indicates whether a message should be marked as read.
      Returns:
      a Boolean
    • getMarkImportance

      @Nullable public Importance getMarkImportance()
      Gets the markImportance property value. Sets the importance of the message, which can be: low, normal, high.
      Returns:
      a Importance
    • getMoveToFolder

      @Nullable public String getMoveToFolder()
      Gets the moveToFolder property value. The ID of the folder that a message will be moved to.
      Returns:
      a String
    • getOdataType

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

      @Nullable public Boolean getPermanentDelete()
      Gets the permanentDelete property value. Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder.
      Returns:
      a Boolean
    • getRedirectTo

      @Nullable public List<Recipient> getRedirectTo()
      Gets the redirectTo property value. The email addresses to which a message should be redirected.
      Returns:
      a List<Recipient>
    • getStopProcessingRules

      @Nullable public Boolean getStopProcessingRules()
      Gets the stopProcessingRules property value. Indicates whether subsequent rules should be evaluated.
      Returns:
      a Boolean
    • 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.
    • setAssignCategories

      public void setAssignCategories(@Nullable List<String> value)
      Sets the assignCategories property value. A list of categories to be assigned to a message.
      Parameters:
      value - Value to set for the assignCategories 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.
    • setCopyToFolder

      public void setCopyToFolder(@Nullable String value)
      Sets the copyToFolder property value. The ID of a folder that a message is to be copied to.
      Parameters:
      value - Value to set for the copyToFolder property.
    • setDelete

      public void setDelete(@Nullable Boolean value)
      Sets the delete property value. Indicates whether a message should be moved to the Deleted Items folder.
      Parameters:
      value - Value to set for the delete property.
    • setForwardAsAttachmentTo

      public void setForwardAsAttachmentTo(@Nullable List<Recipient> value)
      Sets the forwardAsAttachmentTo property value. The email addresses of the recipients to which a message should be forwarded as an attachment.
      Parameters:
      value - Value to set for the forwardAsAttachmentTo property.
    • setForwardTo

      public void setForwardTo(@Nullable List<Recipient> value)
      Sets the forwardTo property value. The email addresses of the recipients to which a message should be forwarded.
      Parameters:
      value - Value to set for the forwardTo property.
    • setMarkAsRead

      public void setMarkAsRead(@Nullable Boolean value)
      Sets the markAsRead property value. Indicates whether a message should be marked as read.
      Parameters:
      value - Value to set for the markAsRead property.
    • setMarkImportance

      public void setMarkImportance(@Nullable Importance value)
      Sets the markImportance property value. Sets the importance of the message, which can be: low, normal, high.
      Parameters:
      value - Value to set for the markImportance property.
    • setMoveToFolder

      public void setMoveToFolder(@Nullable String value)
      Sets the moveToFolder property value. The ID of the folder that a message will be moved to.
      Parameters:
      value - Value to set for the moveToFolder 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.
    • setPermanentDelete

      public void setPermanentDelete(@Nullable Boolean value)
      Sets the permanentDelete property value. Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder.
      Parameters:
      value - Value to set for the permanentDelete property.
    • setRedirectTo

      public void setRedirectTo(@Nullable List<Recipient> value)
      Sets the redirectTo property value. The email addresses to which a message should be redirected.
      Parameters:
      value - Value to set for the redirectTo property.
    • setStopProcessingRules

      public void setStopProcessingRules(@Nullable Boolean value)
      Sets the stopProcessingRules property value. Indicates whether subsequent rules should be evaluated.
      Parameters:
      value - Value to set for the stopProcessingRules property.