struct Client::SpecialResult

Included Modules

Defined in:

pb-Client/CATS_Specials.pb.cr

Constant Summary

FIELDS = {1 => {name: :special_command, pb_type: :int32, crystal_type: Int32, cast_type: Int32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :result, pb_type: SpecialResult::SpecialSuccess, crystal_type: SpecialResult::SpecialSuccess, cast_type: SpecialResult::SpecialSuccess?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :result_str, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :call_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :error_code, pb_type: SpecialResult::SpecialErrorCode, crystal_type: SpecialResult::SpecialErrorCode, cast_type: SpecialResult::SpecialErrorCode?, 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(special_command : Int32 | Nil = nil, result : SpecialResult::SpecialSuccess | Nil = nil, result_str : String | Nil = nil, call_id : Int64 | Nil = nil, error_code : SpecialResult::SpecialErrorCode | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def call_id : Int64 | Nil #

def call_id=(call_id : Int64 | Nil) #

def error_code : SpecialResult::SpecialErrorCode | Nil #

def error_code=(error_code : SpecialResult::SpecialErrorCode | Nil) #

def result : SpecialResult::SpecialSuccess | Nil #

def result=(result : SpecialResult::SpecialSuccess | Nil) #

def result_str : String | Nil #

def result_str=(result_str : String | Nil) #

def special_command : Int32 | Nil #

def special_command=(special_command : Int32 | Nil) #

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

def to_protobuf #