Class: DSP::ContinueRequest

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

Overview

interface ContinueRequest extends Request {

    arguments: ContinueArguments;
}

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



1732
1733
1734
# File 'lib/dsp/dsp_protocol.rb', line 1732

def arguments
  @arguments
end

#commandObject

type: ContinueArguments # type: string # type: number # type: string



1732
1733
1734
# File 'lib/dsp/dsp_protocol.rb', line 1732

def command
  @command
end

#seqObject

type: ContinueArguments # type: string # type: number # type: string



1732
1733
1734
# File 'lib/dsp/dsp_protocol.rb', line 1732

def seq
  @seq
end

#typeObject

type: ContinueArguments # type: string # type: number # type: string



1732
1733
1734
# File 'lib/dsp/dsp_protocol.rb', line 1732

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



1734
1735
1736
1737
1738
1739
1740
1741
# File 'lib/dsp/dsp_protocol.rb', line 1734

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