共用方式為


DeliveryRule interface

A rule that specifies a set of actions and conditions

Properties

actions

A list of actions that are executed when all the conditions of a rule are satisfied.

conditions

A list of conditions that must be matched for the actions to be executed

name

Name of the rule

order

The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied.

Property Details

actions

A list of actions that are executed when all the conditions of a rule are satisfied.

actions: DeliveryRuleActionAutoGeneratedUnion[]

Property Value

conditions

A list of conditions that must be matched for the actions to be executed

conditions?: DeliveryRuleConditionUnion[]

Property Value

name

Name of the rule

name?: string

Property Value

string

order

The order in which the rules are applied for the endpoint. Possible values {0,1,2,3,………}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied.

order: number

Property Value

number