struct Apps::SnapshotMessages::Snapshot

Included Modules

Defined in:

pb-Apps/CATS_Snapshot_Services.pb.cr

Constant Summary

FIELDS = {1 => {name: :s_command, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :snapshot_device_argument, pb_type: SnapshotDeviceArgument, crystal_type: SnapshotDeviceArgument, cast_type: SnapshotDeviceArgument?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :snapshot_device_result, pb_type: SnapshotDeviceResult, crystal_type: SnapshotDeviceResult, cast_type: SnapshotDeviceResult?, 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(s_command : Int32, snapshot_device_argument : SnapshotDeviceArgument | Nil = nil, snapshot_device_result : SnapshotDeviceResult | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def s_command : Int32 #

def s_command=(s_command : Int32) #

def snapshot_device_argument : SnapshotDeviceArgument | Nil #

def snapshot_device_argument=(snapshot_device_argument : SnapshotDeviceArgument | Nil) #

def snapshot_device_result : SnapshotDeviceResult | Nil #

def snapshot_device_result=(snapshot_device_result : SnapshotDeviceResult | Nil) #

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

def to_protobuf #