struct Apps::SnapshotMessages::SnapshotDeviceResult

Included Modules

Defined in:

pb-Apps/CATS_Snapshot_Services.pb.cr

Constant Summary

FIELDS = {1 => {name: :calls, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :states, pb_type: Support::ConnectionState, crystal_type: Support::ConnectionState, cast_type: Array(Support::ConnectionState)?, native: false, optional: true, repeated: true, 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(calls : Array(Int64) | Nil = nil, states : Array(Support::ConnectionState) | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def calls : Array(Int64) | Nil #

def calls=(calls : Array(Int64) | Nil) #

def states : Array(Support::ConnectionState) | Nil #

def states=(states : Array(Support::ConnectionState) | Nil) #

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

def to_protobuf #