Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.82 KB

Event.md

File metadata and controls

38 lines (32 loc) · 1.82 KB

Synctera::Event

Properties

Name Type Description Notes
event_resource String Json string of object associated with the event. For example, if your event is ACCOUNT.CREATED, You can refer to Acccount to parse the account event to obtain the ID, status etc. [optional]
event_resource_changed_fields String Json string of object associated with the event related to a resource change. This only contains those fields that have value changed on the event, and the field values are prior to the resource change event. [optional]
event_time Time Timestamp of the current event raised [optional]
id String Unique event ID of the webhook request. Use event endpoints to get more event summary data [optional][readonly]
metadata String Metadata that stored in the webhook subscription [optional]
resource_id String The ID of the resource this event occurred on, if available. [optional][readonly]
response_history Array<ResponseHistoryItem> Response history of the webhook request [optional]
status String Current event status. Failing event will keep retry until it is purged. [optional]
type EventTypeExplicit [optional]
url String URL that the current event will be sent to [optional]
webhook_id String Webhook the current event belongs to [optional]

Example

require 'synctera'

instance = Synctera::Event.new(
  event_resource: null,
  event_resource_changed_fields: null,
  event_time: null,
  id: null,
  metadata: null,
  resource_id: null,
  response_history: null,
  status: null,
  type: null,
  url: null,
  webhook_id: null
)