struct

Polar::Models::UserEvent

Inherits JSON::Serializable < Struct < Value < Object

Model representing a UserEvent

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

customer

The customer associated with the event.

Source
customer_id

ID of the customer in your Polar organization associated with the event.

Source
external_customer_id

ID of the customer in your system associated with the event.

Source
id

The ID of the object.

Source
metadata
Source
name

The name of the event.

Source
organization_id

The ID of the organization owning the event.

Source
source

The source of the event. system events are created by Polar. user events are the one you create through our ingestion API.

Source
timestamp

The timestamp of the event.

Source