mistk.model.server.models.watch_event module

class mistk.model.server.models.watch_event.WatchEvent(payload: object = None, event_type: str = None)

Bases: mistk.model.server.models.base_model_.Model

NOTE: This class is auto generated by the swagger code generator program.

Do not edit the class manually.

property event_type

Gets the event_type of this WatchEvent.

Returns

The event_type of this WatchEvent.

Return type

str

classmethod from_dict(dikt) → mistk.model.server.models.watch_event.WatchEvent

Returns the dict as a model

Parameters

dikt – A dict.

Type

dict

Returns

The WatchEvent of this WatchEvent. # noqa: E501

Return type

WatchEvent

property payload

Gets the payload of this WatchEvent.

The object/resource which was changed. If the type of the event was added or modified, then this field is the new state of the resource. If the field is deleted then the value is the state just before deletion. # noqa: E501

Returns

The payload of this WatchEvent.

Return type

object