Class: DSP::StepBackRequest

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

Overview

interface StepBackRequest extends Request {

    arguments: StepBackArguments;
}

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



1966
1967
1968
# File 'lib/dsp/dsp_protocol.rb', line 1966

def arguments
  @arguments
end

#commandObject

type: StepBackArguments # type: string # type: number # type: string



1966
1967
1968
# File 'lib/dsp/dsp_protocol.rb', line 1966

def command
  @command
end

#seqObject

type: StepBackArguments # type: string # type: number # type: string



1966
1967
1968
# File 'lib/dsp/dsp_protocol.rb', line 1966

def seq
  @seq
end

#typeObject

type: StepBackArguments # type: string # type: number # type: string



1966
1967
1968
# File 'lib/dsp/dsp_protocol.rb', line 1966

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



1968
1969
1970
1971
1972
1973
1974
1975
# File 'lib/dsp/dsp_protocol.rb', line 1968

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