CreateTimerAction Class

Defines the structure of the Create Timer object.

Constructor

CreateTimerAction(fire_at: datetime, is_cancelled: bool = False)

Parameters

Name Description
fire_at
Required
is_cancelled
Default value: False

Methods

to_json

Convert object into a json dictionary.

to_json

Convert object into a json dictionary.

to_json() -> Dict[str, Any]

Returns

Type Description

The instance of the class converted into a json dictionary

Attributes

action_type

Get the type of action this class represents.