class

TwitchEventSub::TwitchEventSubSubscription

Inherits JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

This class encapsulates all of the data for a subscription, allowing it to be serialized and deserialized.

Constructors

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

Instance methods

condition
Source
condition=(condition : Hash(String, String))
Source
cost
Source
cost=(cost : Int32)
Source
created_at
Source
created_at=(created_at : String)
Source
id=(id : String)
Source
status
Source
status=(status : String)
Source
transport
Source
transport=(transport : Hash(String, String))
Source
type
Source
type=(type : String)
Source
version
Source
version=(version : String)
Source