Class: DSP::ScopesRequest

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

Overview

interface ScopesRequest extends Request {

    arguments: ScopesArguments;
}

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



2319
2320
2321
# File 'lib/dsp/dsp_protocol.rb', line 2319

def arguments
  @arguments
end

#commandObject

type: ScopesArguments # type: string # type: number # type: string



2319
2320
2321
# File 'lib/dsp/dsp_protocol.rb', line 2319

def command
  @command
end

#seqObject

type: ScopesArguments # type: string # type: number # type: string



2319
2320
2321
# File 'lib/dsp/dsp_protocol.rb', line 2319

def seq
  @seq
end

#typeObject

type: ScopesArguments # type: string # type: number # type: string



2319
2320
2321
# File 'lib/dsp/dsp_protocol.rb', line 2319

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



2321
2322
2323
2324
2325
2326
2327
2328
# File 'lib/dsp/dsp_protocol.rb', line 2321

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