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.

Methods

dict()

Represent this resource as a dictionary.

Attributes

fields

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

name

An alias for this resource's slug, derived from 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.

dict()

Represent this resource as a dictionary.

property fields

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

property name

An alias for this resource’s slug, derived from 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.