struct Apps::Start

Included Modules

Defined in:

pb-Apps/CATS_Login.pb.cr

Constant Summary

FIELDS = {1 => {name: :version, pb_type: Version, crystal_type: Version, cast_type: Version, native: false, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :algo, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 3 => {name: :request, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Slice(UInt8)?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :agent_name, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}, 5 => {name: :pc_name, pb_type: :string, crystal_type: String, cast_type: String, native: true, optional: false, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(version : Version, algo : String, agent_name : String, pc_name : String, request : Slice(UInt8) | Nil = nil) #

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

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def agent_name : String #

def agent_name=(agent_name : String) #

def algo : String #

def algo=(algo : String) #

def pc_name : String #

def pc_name=(pc_name : String) #

def request : Slice(UInt8) | Nil #

def request=(request : Slice(UInt8) | Nil) #

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

def to_protobuf #

def version : Version #

def version=(version : Version) #