struct Apps::SpecialResult
- Apps::SpecialResult
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
pb-Apps/CATS_Specials.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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 Summary
Instance Method Summary
- #[](key : String)
- #call_id : Int64 | Nil
- #call_id=(call_id : Int64 | Nil)
- #error_code : SpecialResult::SpecialErrorCode | Nil
- #error_code=(error_code : SpecialResult::SpecialErrorCode | Nil)
- #result : SpecialResult::SpecialSuccess | Nil
- #result=(result : SpecialResult::SpecialSuccess | Nil)
- #result_str : String | Nil
- #result_str=(result_str : String | Nil)
- #special_command : Int32 | Nil
- #special_command=(special_command : Int32 | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
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)
#