Sha256: 6177a092c66cbb2a52bf6b0977f599bd4c424e363d0eb8212cdce7eac316ccc9

Contents?: true

Size: 1.7 KB

Versions: 4

Compression:

Stored size: 1.7 KB

Contents

# SyncteraRubySdk::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] |
| **response_history** | [**Array<ResponseHistoryItem>**](ResponseHistoryItem.md) | Response history of the webhook request | [optional] |
| **status** | **String** | Current event status. Failing event will keep retry until it is purged. | [optional] |
| **type** | [**EventTypeExplicit**](EventTypeExplicit.md) |  | [optional] |
| **url** | **String** | URL that the current event will be sent to | [optional] |
| **webhook_id** | **String** | Webhook the current event belongs to | [optional] |

## Example

```ruby
require 'synctera_ruby_sdk'

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
synctera_ruby_sdk-1.1.3 docs/Event.md
synctera_ruby_sdk-1.1.2 docs/Event.md
synctera_ruby_sdk-1.1.1 docs/Event.md
synctera_ruby_sdk-1.0.0 docs/Event.md