struct MUX::Settings

Included Modules

Defined in:

pb-MUX/CATS_Helper.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: :get_settings, pb_type: GetVars, crystal_type: GetVars, cast_type: GetVars?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :settings, pb_type: Vars, crystal_type: Vars, cast_type: Vars?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :set_settings, pb_type: Vars, crystal_type: Vars, cast_type: Vars?, 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, get_settings : GetVars | Nil = nil, settings : Vars | Nil = nil, set_settings : Vars | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def get_settings : GetVars | Nil #

def get_settings=(get_settings : GetVars | Nil) #

def message_type : Int32 #

def message_type=(message_type : Int32) #

def set_settings : Vars | Nil #

def set_settings=(set_settings : Vars | Nil) #

def settings : Vars | Nil #

def settings=(settings : Vars | Nil) #

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

def to_protobuf #