Package com.microsoft.graph.models
Class MessageRule
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.MessageRule
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Message Rule.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Actions.The Conditions.The Display Name.The Exceptions.The Has Error.The Is Enabled.The Is Read Only.The Sequence. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setRawObject
(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
actions
@SerializedName(value="actions", alternate="Actions") @Expose @Nullable public MessageRuleActions actionsThe Actions. Actions to be taken on a message when the corresponding conditions are fulfilled. -
conditions
@SerializedName(value="conditions", alternate="Conditions") @Expose @Nullable public MessageRulePredicates conditionsThe Conditions. Conditions that when fulfilled, will trigger the corresponding actions for that rule. -
displayName
@SerializedName(value="displayName", alternate="DisplayName") @Expose @Nullable public String displayNameThe Display Name. The display name of the rule. -
exceptions
@SerializedName(value="exceptions", alternate="Exceptions") @Expose @Nullable public MessageRulePredicates exceptionsThe Exceptions. Exception conditions for the rule. -
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 isEnabledThe Is Enabled. Indicates whether the rule is enabled to be applied to messages. -
isReadOnly
@SerializedName(value="isReadOnly", alternate="IsReadOnly") @Expose @Nullable public Boolean isReadOnlyThe Is Read Only. Indicates if the rule is read-only and cannot be modified or deleted by the rules REST API. -
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 interfacecom.microsoft.graph.serializer.IJsonBackedObject
- Overrides:
setRawObject
in classEntity
- Parameters:
serializer
- the serializerjson
- the JSON object to set this object to
-