Class: DSP::NextRequest

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

Overview

interface NextRequest extends Request {

    arguments: NextArguments;
}

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



1799
1800
1801
# File 'lib/dsp/dsp_protocol.rb', line 1799

def arguments
  @arguments
end

#commandObject

type: NextArguments # type: string # type: number # type: string



1799
1800
1801
# File 'lib/dsp/dsp_protocol.rb', line 1799

def command
  @command
end

#seqObject

type: NextArguments # type: string # type: number # type: string



1799
1800
1801
# File 'lib/dsp/dsp_protocol.rb', line 1799

def seq
  @seq
end

#typeObject

type: NextArguments # type: string # type: number # type: string



1799
1800
1801
# File 'lib/dsp/dsp_protocol.rb', line 1799

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



1801
1802
1803
1804
1805
1806
1807
1808
# File 'lib/dsp/dsp_protocol.rb', line 1801

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