Class: Auth0::Types::EventStreamSubscribeEventsResponseContent

Inherits:
Internal::Types::Model show all
Extended by:
Internal::Types::Union
Defined in:
lib/auth0/types/event_stream_subscribe_events_response_content.rb

Overview

The JSON payload delivered in each SSE data line. The type field is injected from the SSE event field by the SDK. Discriminated by type: an event type name for events, “error” for errors, and “offset-only” for cursor-only heartbeats.

Method Summary

Methods included from Internal::Types::Union

coerce, discriminant, load, member, members, type_member?

Methods included from Internal::Types::Type

#coerce, #strict!, #strict?

Methods included from Internal::JSON::Serializable

#dump, #load

Methods inherited from Internal::Types::Model

#==, ===, add_extra_field_definition, coerce, extra_fields, field, fields, #initialize, #inspect, literal, load, #to_h

Constructor Details

This class inherits a constructor from Auth0::Internal::Types::Model