Class MessageRule

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.MessageRule
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class MessageRule extends Entity implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Message Rule.
  • Field Details

    • actions

      @SerializedName(value="actions", alternate="Actions") @Expose @Nullable public MessageRuleActions actions
      The Actions. Actions to be taken on a message when the corresponding conditions are fulfilled.
    • conditions

      @SerializedName(value="conditions", alternate="Conditions") @Expose @Nullable public MessageRulePredicates conditions
      The Conditions. Conditions that when fulfilled, will trigger the corresponding actions for that rule.
    • displayName

      @SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayName
      The Display Name. The display name of the rule.
    • exceptions

      @SerializedName(value="exceptions", alternate="Exceptions") @Expose @Nullable public MessageRulePredicates exceptions
      The Exceptions. Exception conditions for the rule.
    • hasError

      @SerializedName(value="hasError", alternate="HasError") @Expose @Nullable public Boolean hasError
      The Has Error. Indicates whether the rule is in an error condition. Read-only.
    • isEnabled

      @SerializedName(value="isEnabled", alternate="IsEnabled") @Expose @Nullable public Boolean isEnabled
      The Is Enabled. Indicates whether the rule is enabled to be applied to messages.
    • isReadOnly

      @SerializedName(value="isReadOnly", alternate="IsReadOnly") @Expose @Nullable public Boolean isReadOnly
      The Is Read Only. Indicates if the rule is read-only and cannot be modified or deleted by the rules REST API.
    • sequence

      @SerializedName(value="sequence", alternate="Sequence") @Expose @Nullable public Integer sequence
      The Sequence. Indicates the order in which the rule is executed, among other rules.
  • Constructor Details

    • MessageRule

      public MessageRule()
  • Method Details

    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to