struct Apps::IOServicesMessages::SendDataArgument

Included Modules

Defined in:

pb-Apps/CATS_IO_Services.pb.cr

Constant Summary

FIELDS = {1 => {name: :io_cross_ref_id, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :io_register_req_id, pb_type: :uint32, crystal_type: UInt32, cast_type: UInt32?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :object, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :data_path_type, pb_type: DataPathType, crystal_type: DataPathType, cast_type: DataPathType?, native: false, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :display_attributes, pb_type: DisplayAttributeList, crystal_type: DisplayAttributeList, cast_type: DisplayAttributeList?, native: false, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :io_data, pb_type: :bytes, crystal_type: Slice(UInt8), cast_type: Slice(UInt8)?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :io_cause, pb_type: EventMessages::EventCause, crystal_type: EventMessages::EventCause, cast_type: EventMessages::EventCause?, native: false, optional: true, repeated: false, default: nil, packed: false}, 100 => {name: :display_mode, pb_type: SendDataArgument::DisplayMode, crystal_type: SendDataArgument::DisplayMode, cast_type: SendDataArgument::DisplayMode?, native: false, optional: true, repeated: false, default: nil, packed: false}, 101 => {name: :audible_indication, pb_type: SendDataArgument::AudibleIndication, crystal_type: SendDataArgument::AudibleIndication, cast_type: SendDataArgument::AudibleIndication?, native: false, optional: true, repeated: false, default: nil, packed: false}, 102 => {name: :application_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, 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(io_cross_ref_id : UInt32 | Nil = nil, io_register_req_id : UInt32 | Nil = nil, object : String | Nil = nil, data_path_type : DataPathType | Nil = nil, display_attributes : DisplayAttributeList | Nil = nil, io_data : Slice(UInt8) | Nil = nil, io_cause : EventMessages::EventCause | Nil = nil, display_mode : SendDataArgument::DisplayMode | Nil = nil, audible_indication : SendDataArgument::AudibleIndication | Nil = nil, application_id : String | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def application_id : String | Nil #

def application_id=(application_id : String | Nil) #

def audible_indication : SendDataArgument::AudibleIndication | Nil #

def audible_indication=(audible_indication : SendDataArgument::AudibleIndication | Nil) #

def data_path_type : DataPathType | Nil #

def data_path_type=(data_path_type : DataPathType | Nil) #

def display_attributes : DisplayAttributeList | Nil #

def display_attributes=(display_attributes : DisplayAttributeList | Nil) #

def display_mode : SendDataArgument::DisplayMode | Nil #

def display_mode=(display_mode : SendDataArgument::DisplayMode | Nil) #

def io_cause : EventMessages::EventCause | Nil #

def io_cause=(io_cause : EventMessages::EventCause | Nil) #

def io_cross_ref_id : UInt32 | Nil #

def io_cross_ref_id=(io_cross_ref_id : UInt32 | Nil) #

def io_data : Slice(UInt8) | Nil #

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

def io_register_req_id : UInt32 | Nil #

def io_register_req_id=(io_register_req_id : UInt32 | Nil) #

def object : String | Nil #

def object=(object : String | Nil) #

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

def to_protobuf #