Class: DSP::GotoRequest

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

Overview

interface GotoRequest extends Request {

    arguments: GotoArguments;
}

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: GotoArguments # type: string # type: number # type: string



2125
2126
2127
# File 'lib/dsp/dsp_protocol.rb', line 2125

def arguments
  @arguments
end

#commandObject

type: GotoArguments # type: string # type: number # type: string



2125
2126
2127
# File 'lib/dsp/dsp_protocol.rb', line 2125

def command
  @command
end

#seqObject

type: GotoArguments # type: string # type: number # type: string



2125
2126
2127
# File 'lib/dsp/dsp_protocol.rb', line 2125

def seq
  @seq
end

#typeObject

type: GotoArguments # type: string # type: number # type: string



2125
2126
2127
# File 'lib/dsp/dsp_protocol.rb', line 2125

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



2127
2128
2129
2130
2131
2132
2133
2134
# File 'lib/dsp/dsp_protocol.rb', line 2127

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