struct Asterisk::ARI::Events::ChannelUserevent

Overview

User-generated event with additional user-defined fields in the object.

Defined in:

asterisk/ari/events/channel_userevent.cr

Constructors

Instance Method Summary

Instance methods inherited from struct Asterisk::ARI::Events::Event

application : String application, application=(application : String) application=, timestamp : Time timestamp, timestamp=(timestamp : Time) timestamp=

Constructor methods inherited from struct Asterisk::ARI::Events::Event

new(pull : JSON::PullParser) new

Instance methods inherited from struct Asterisk::ARI::Events::Message

asterisk_id : String? asterisk_id, asterisk_id=(asterisk_id : String?) asterisk_id=, type : String type, type=(type : String) type=

Constructor methods inherited from struct Asterisk::ARI::Events::Message

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

User-generated event with additional user-defined fields in the object.


[View source]

Instance Method Detail

def bridge : Bridges::Bridge? #

A bridge that is signaled with the user event.


[View source]
def bridge=(bridge : Bridges::Bridge?) #

A bridge that is signaled with the user event.


[View source]
def channel : Channels::Channel? #

A channel that is signaled with the user event.


[View source]
def channel=(channel : Channels::Channel?) #

A channel that is signaled with the user event.


[View source]
def endpoint : Int32? #

A endpoint that is signaled with the user event.


[View source]
def endpoint=(endpoint : Int32?) #

A endpoint that is signaled with the user event.


[View source]
def eventname : String #

The name of the user event.


[View source]
def eventname=(eventname : String) #

The name of the user event.


[View source]
def userevent : Hash(String, String | Bool | Int32 | Float32) #

Custom Userevent data


[View source]
def userevent=(userevent : Hash(String, String | Bool | Int32 | Float32)) #

Custom Userevent data


[View source]