Class: DSP::GotoTargetsRequest

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

Overview

interface GotoTargetsRequest extends Request {

    arguments: GotoTargetsArguments;
}

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



3197
3198
3199
# File 'lib/dsp/dsp_protocol.rb', line 3197

def arguments
  @arguments
end

#commandObject

type: GotoTargetsArguments # type: string # type: number # type: string



3197
3198
3199
# File 'lib/dsp/dsp_protocol.rb', line 3197

def command
  @command
end

#seqObject

type: GotoTargetsArguments # type: string # type: number # type: string



3197
3198
3199
# File 'lib/dsp/dsp_protocol.rb', line 3197

def seq
  @seq
end

#typeObject

type: GotoTargetsArguments # type: string # type: number # type: string



3197
3198
3199
# File 'lib/dsp/dsp_protocol.rb', line 3197

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



3199
3200
3201
3202
3203
3204
3205
3206
# File 'lib/dsp/dsp_protocol.rb', line 3199

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