3.80 Rule

A rule object defines a rule in the account.

3.80.1 Properties

The following table lists properties along with their access and descriptions.

Property

Access

Description

Actions

R/O

RuleActions. The collection of rule actions.

Application

R/O

Application. The Application object.

Appointment

R/W

Boolean. The rule will trigger on the type being an appointment.

Conflict

R/W

AppointmentConflictConstants. Specifies the trigger of rules whether or not there is a conflicting appointment at the same time as the new appointment.

Deleted

R/O

Boolean. Whether or not the rule is deleted.

Draft

R/W

Boolean. The rule triggers on the BoxType being a Draft item.

Enabled

R/W

Boolean. Whether or not the rule is enabled.

Event

R/W

RuleContents. The rule event type.

Filter

R/W

String. The filter for the rule.

Folder

R/W

Folder. The folder involved in the rule.

Mail

R/W

Boolean. The rule triggers on the type being a mail item.

Name

R/W

String. The name of the rule.

Note

R/W

Boolean. The rule triggers on the type being a note.

Parent

R/O

Rules Collection. The Rules collection the owns this rule.

Phone

R/W

Boolean. The rule triggers on the type being a phone message item.

Posted

R/W

Boolean. The rule triggers on the BoxType being a Posted/personal item.

Received

R/W

Boolean. The rule triggers on the BoxType being a Received item.

Sequence

R/W

Long. The order of this rule in the list of rules.

Sent

R/W

Boolean. The rule triggers on the BoxType being a Sent item.

Task

R/W

Boolean. The rule triggers on the type being a task.

3.80.2 Methods

Delete()

Deletes this rule from its parent collection.

Refresh()

Reread the Rule object.