struct Apps::EventMessages::PBXManagerEvent

Included Modules

Defined in:

pb-Apps/CATS_Events.pb.cr

Constant Summary

FIELDS = {1 => {name: :call, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :event_case, pb_type: EventCause, crystal_type: EventCause, cast_type: EventCause?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :source, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :reverse, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :evtnum, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :evtstmp, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :dir, pb_type: PBXManagerEvent::TCd, crystal_type: PBXManagerEvent::TCd, cast_type: PBXManagerEvent::TCd?, native: false, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :action, pb_type: PBXManagerEvent::TAc, crystal_type: PBXManagerEvent::TAc, cast_type: PBXManagerEvent::TAc?, native: false, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :ab, pb_type: PBXManagerEvent::TAt, crystal_type: PBXManagerEvent::TAt, cast_type: PBXManagerEvent::TAt?, native: false, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :nst, pb_type: Support::Device, crystal_type: Support::Device, cast_type: Support::Device?, native: false, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :num, pb_type: Support::Device, crystal_type: Support::Device, cast_type: Support::Device?, native: false, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :vnst, pb_type: Support::Device, crystal_type: Support::Device, cast_type: Support::Device?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(call : Int64 | Nil = nil, event_case : EventCause | Nil = nil, source : String | Nil = nil, reverse : Bool | Nil = nil, evtnum : Int64 | Nil = nil, evtstmp : String | Nil = nil, dir : PBXManagerEvent::TCd | Nil = nil, action : PBXManagerEvent::TAc | Nil = nil, ab : PBXManagerEvent::TAt | Nil = nil, nst : Support::Device | Nil = nil, num : Support::Device | Nil = nil, vnst : Support::Device | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def ab : PBXManagerEvent::TAt | Nil #

def ab=(ab : PBXManagerEvent::TAt | Nil) #

def action : PBXManagerEvent::TAc | Nil #

def action=(action : PBXManagerEvent::TAc | Nil) #

def call : Int64 | Nil #

def call=(call : Int64 | Nil) #

def dir : PBXManagerEvent::TCd | Nil #

def dir=(dir : PBXManagerEvent::TCd | Nil) #

def event_case : EventCause | Nil #

def event_case=(event_case : EventCause | Nil) #

def evtnum : Int64 | Nil #

def evtnum=(evtnum : Int64 | Nil) #

def evtstmp : String | Nil #

def evtstmp=(evtstmp : String | Nil) #

def nst : Support::Device | Nil #

def nst=(nst : Support::Device | Nil) #

def num : Support::Device | Nil #

def num=(num : Support::Device | Nil) #

def reverse : Bool | Nil #

def reverse=(reverse : Bool | Nil) #

def source : String | Nil #

def source=(source : String | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def vnst : Support::Device | Nil #

def vnst=(vnst : Support::Device | Nil) #