CreateTimerAction Class

Defines the structure of the Create Timer object.

Inheritance
CreateTimerAction

Constructor

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

Parameters

fire_at
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

The instance of the class converted into a json dictionary

Return type

<xref:Dict>[str, <xref:Any>]

Attributes

action_type

Get the type of action this class represents.