Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.71 KB

File metadata and controls

38 lines (29 loc) · 1.71 KB

WebhookEventLog

The webhook event log.

Properties

Name Type Description Notes
id str The event log ID.
created_timestamp int The time when the event was triggered, in Unix timestamp format (milliseconds). - The value remains unchanged across retries. - The default webhook timeout is 2 seconds.
request_headers object The request headers of the webhook event.
request_body WebhookEvent
response_body str The response body of the webhook event. [optional]
response_status_code int The response status code of the webhook event. [optional]
response_time int The response time of the webhook event, in milliseconds. [optional]
success bool Whether the webhook event has been successfully delivered.
failure_reason str The reason why the webhook event fails to be delivered. [optional]

Example

from cobo_waas2.models.webhook_event_log import WebhookEventLog

# TODO update the JSON string below
json = "{}"
# create an instance of WebhookEventLog from a JSON string
webhook_event_log_instance = WebhookEventLog.from_json(json)
# print the JSON string representation of the object
print(WebhookEventLog.to_json())

# convert the object into a dict
webhook_event_log_dict = webhook_event_log_instance.to_dict()
# create an instance of WebhookEventLog from a dict
webhook_event_log_from_dict = WebhookEventLog.from_dict(webhook_event_log_dict)

[Back to Model list] [Back to API list] [Back to README]