Class: DSP::StepInRequest

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

Overview

interface StepInRequest extends Request {

    arguments: StepInArguments;
}

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



1852
1853
1854
# File 'lib/dsp/dsp_protocol.rb', line 1852

def arguments
  @arguments
end

#commandObject

type: StepInArguments # type: string # type: number # type: string



1852
1853
1854
# File 'lib/dsp/dsp_protocol.rb', line 1852

def command
  @command
end

#seqObject

type: StepInArguments # type: string # type: number # type: string



1852
1853
1854
# File 'lib/dsp/dsp_protocol.rb', line 1852

def seq
  @seq
end

#typeObject

type: StepInArguments # type: string # type: number # type: string



1852
1853
1854
# File 'lib/dsp/dsp_protocol.rb', line 1852

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



1854
1855
1856
1857
1858
1859
1860
1861
# File 'lib/dsp/dsp_protocol.rb', line 1854

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