class Asterisk::AMI::Response

Direct Known Subclasses

Defined in:

asterisk/ami/response.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(data : AMIData? = nil) #

[View source]

Instance Method Detail

def [](*args, **options) #

[View source]
def [](*args, **options, &block) #

[View source]
def []=(*args, **options) #

[View source]
def []?(*args, **options) #

[View source]
def []?(*args, **options, &block) #

[View source]
def actionid : ActionID #

[View source]
def actionid=(actionid : ActionID) #

[View source]
def actionid? : ActionID? #

[View source]
def actionid_present? : Bool #

[View source]
def data : Hash(String, Array(String) | String) #

[View source]
def events : Array(AMIData)? #

Response including nested events (i.e. action SIPpeers)


[View source]
def events=(events : Array(AMIData)?) #

Response including nested events (i.e. action SIPpeers)


[View source]
def message : String #

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

[View source]
def message? : String? #

[View source]
def message_present? : Bool #

[View source]
def output : Array(String) #

[View source]
def output=(output : Array(String)) #

[View source]
def output? : Array(String)? #

[View source]
def output_present? : Bool #

[View source]
def response : String #

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

[View source]
def response? : String? #

[View source]
def response_present? : Bool #

[View source]
def success? : Bool #

[View source]
def to_h : Hash(String, Array(String) | String) #

[View source]
def value : String #

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

[View source]
def value? : String? #

[View source]
def value_present? : Bool #

[View source]

Macro Detail

macro def_property(property, klass = String) #

[View source]