struct

Polar::Models::WebhookEvent

Inherits JSON::Serializable < Struct < Value < Object

Model representing a WebhookEvent

This struct is auto-generated from the Polar.sh OpenAPI specification. It uses JSON::Serializable for automatic JSON parsing and serialization.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

created_at

Creation timestamp of the object.

Source
id

The ID of the object.

Source
is_archived

Whether this event is archived. Archived events can't be redelivered, and the payload is not accessible anymore.

Source
last_http_code

Last HTTP code returned by the URL. null if no delviery has been attempted or if the endpoint was unreachable.

Source
modified_at

Last modification timestamp of the object.

Source
payload

The payload of the webhook event.

Source
succeeded

Whether this event was successfully delivered. null if no delivery has been attempted.

Source
type

The type of the webhook event.

Source