Class: DSP::DisassembleRequest

Inherits:
DSPBase
  • Object
show all
Defined in:
lib/dsp/dsp_protocol.rb

Overview

interface DisassembleRequest extends Request {

    arguments: DisassembleArguments;
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DSPBase

#initialize, #to_h, #to_json

Constructor Details

This class inherits a constructor from DSP::DSPBase

Instance Attribute Details

#argumentsObject

type: DisassembleArguments # type: string # type: number # type: string



3505
3506
3507
# File 'lib/dsp/dsp_protocol.rb', line 3505

def arguments
  @arguments
end

#commandObject

type: DisassembleArguments # type: string # type: number # type: string



3505
3506
3507
# File 'lib/dsp/dsp_protocol.rb', line 3505

def command
  @command
end

#seqObject

type: DisassembleArguments # type: string # type: number # type: string



3505
3506
3507
# File 'lib/dsp/dsp_protocol.rb', line 3505

def seq
  @seq
end

#typeObject

type: DisassembleArguments # type: string # type: number # type: string



3505
3506
3507
# File 'lib/dsp/dsp_protocol.rb', line 3505

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



3507
3508
3509
3510
3511
3512
3513
3514
# File 'lib/dsp/dsp_protocol.rb', line 3507

def from_h!(value)
  value = {} if value.nil?
  self.arguments = DisassembleArguments.new(value['arguments']) unless value['arguments'].nil?
  self.command = value['command']
  self.seq = value['seq']
  self.type = value['type']
  self
end