Class: DSP::BreakpointLocationsRequest

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

Overview

interface BreakpointLocationsRequest extends Request {

    arguments?: BreakpointLocationsArguments;
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DSPBase

#to_h, #to_json

Constructor Details

#initialize(initial_hash = nil) ⇒ BreakpointLocationsRequest

Returns a new instance of BreakpointLocationsRequest.



1304
1305
1306
1307
# File 'lib/dsp/dsp_protocol.rb', line 1304

def initialize(initial_hash = nil)
  super
  @optional_method_names = %i[arguments]
end

Instance Attribute Details

#argumentsObject

type: BreakpointLocationsArguments # type: string # type: number # type: string



1302
1303
1304
# File 'lib/dsp/dsp_protocol.rb', line 1302

def arguments
  @arguments
end

#commandObject

type: BreakpointLocationsArguments # type: string # type: number # type: string



1302
1303
1304
# File 'lib/dsp/dsp_protocol.rb', line 1302

def command
  @command
end

#seqObject

type: BreakpointLocationsArguments # type: string # type: number # type: string



1302
1303
1304
# File 'lib/dsp/dsp_protocol.rb', line 1302

def seq
  @seq
end

#typeObject

type: BreakpointLocationsArguments # type: string # type: number # type: string



1302
1303
1304
# File 'lib/dsp/dsp_protocol.rb', line 1302

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



1309
1310
1311
1312
1313
1314
1315
1316
# File 'lib/dsp/dsp_protocol.rb', line 1309

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