sym.sdk.event.Payload

class sym.sdk.event.Payload(srn: Union[sym.sdk.resource.SRN, str])

Bases: sym.sdk.resource.SymResource

The Payload object contains the data of the Event.

Attributes

fields

A dict containing the values submitted by the user who created the Event

name

An alias for this resource’s slug, represented by its SRN.

srn

The SRN of the Event instance.

timestamp

A datetime object indicating when the Event was created.

user

The User who triggered the Event.

property fields

A dict containing the values submitted by the user who created the Event

property name

An alias for this resource’s slug, represented by its SRN.

property srn

The SRN of the Event instance.

property timestamp

A datetime object indicating when the Event was created.

property user

The User who triggered the Event.