SegmentSpec.Page (segment_spec v0.1.0) View Source

Represents a Segment page event.

Link to this section Summary

Functions

Parses a Segment page event into a SegmentSpec.Page struct.

Link to this section Types

Specs

t() :: %SegmentSpec.Page{
  anonymous_id: term(),
  context: term(),
  integrations: term(),
  message_id: term(),
  name: term(),
  properties: term(),
  received_at: term(),
  sent_at: term(),
  timestamp: term(),
  type: term(),
  user_id: term(),
  version: term()
}

Link to this section Functions

Link to this function

new(map_or_kwlist, opts \\ [])

View Source

Specs

new(ExConstructor.map_or_kwlist(), Keyword.t()) :: %SegmentSpec.Page{
  anonymous_id: term(),
  context: term(),
  integrations: term(),
  message_id: term(),
  name: term(),
  properties: term(),
  received_at: term(),
  sent_at: term(),
  timestamp: term(),
  type: term(),
  user_id: term(),
  version: term()
}

Specs

parse!(map()) :: t()

Parses a Segment page event into a SegmentSpec.Page struct.