struct Apps::Broadcast

Included Modules

Defined in:

pb-Apps/CATS_Broadcast.pb.cr

Constant Summary

FIELDS = {1 => {name: :message_type, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :conn_list, pb_type: :int32, crystal_type: Int32, cast_type: Array(Int32)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 100 => {name: :call_action, pb_type: CallAction, crystal_type: CallAction, cast_type: CallAction?, native: false, optional: true, repeated: false, default: nil, packed: false}, 101 => {name: :call_journal, pb_type: CallJournal, crystal_type: CallJournal, cast_type: CallJournal?, native: false, optional: true, repeated: false, default: nil, packed: false}, 103 => {name: :ext_status, pb_type: ExtStatus, crystal_type: ExtStatus, cast_type: ExtStatus?, native: false, optional: true, repeated: false, default: nil, packed: false}, 105 => {name: :live_message, pb_type: LiveMessage, crystal_type: LiveMessage, cast_type: LiveMessage?, 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(message_type : Int32, conn_list : Array(Int32) | Nil = nil, call_action : CallAction | Nil = nil, call_journal : CallJournal | Nil = nil, ext_status : ExtStatus | Nil = nil, live_message : LiveMessage | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def call_action : CallAction | Nil #

def call_action=(call_action : CallAction | Nil) #

def call_journal : CallJournal | Nil #

def call_journal=(call_journal : CallJournal | Nil) #

def conn_list : Array(Int32) | Nil #

def conn_list=(conn_list : Array(Int32) | Nil) #

def ext_status : ExtStatus | Nil #

def ext_status=(ext_status : ExtStatus | Nil) #

def live_message : LiveMessage | Nil #

def live_message=(live_message : LiveMessage | Nil) #

def message_type : Int32 #

def message_type=(message_type : Int32) #

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

def to_protobuf #