Create Rule Request
Class representation of a Nylas create rule request.
Constructors
Link copied to clipboard
public CreateRuleRequest CreateRuleRequest(@Json(name = "name" ) String name, @Json(name = "trigger" ) RuleTrigger trigger, @Json(name = "match" ) RuleMatch match, @Json(name = "actions" ) List<RuleAction> actions, @Json(name = "description" ) String description, @Json(name = "priority" ) Integer priority, @Json(name = "enabled" ) Boolean enabled)
Types
Link copied to clipboard
Builder for CreateRuleRequest.
Properties
Functions
Link copied to clipboard
The actions to perform when conditions are met.
Link copied to clipboard
Optional description of the rule.
Link copied to clipboard
Whether the rule is active. Defaults to true.
Link copied to clipboard
Evaluation order — lower numbers run first. Range 0–1000, default 10.
Link copied to clipboard
When this rule is evaluated.