Class: DSP::BreakpointLocationsResponse

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

Overview

interface BreakpointLocationsResponse extends Response {

    body: {
        /** Sorted set of possible breakpoint locations. */
        breakpoints: BreakpointLocation[];
    };
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DSPBase

#to_h, #to_json

Constructor Details

#initialize(initial_hash = nil) ⇒ BreakpointLocationsResponse

Returns a new instance of BreakpointLocationsResponse.



1363
1364
1365
1366
# File 'lib/dsp/dsp_protocol.rb', line 1363

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

Instance Attribute Details

#bodyObject

type: {



1357
1358
1359
# File 'lib/dsp/dsp_protocol.rb', line 1357

def body
  @body
end

#commandObject

type: {



1357
1358
1359
# File 'lib/dsp/dsp_protocol.rb', line 1357

def command
  @command
end

#messageObject

type: {



1357
1358
1359
# File 'lib/dsp/dsp_protocol.rb', line 1357

def message
  @message
end

#request_seqObject

/** Sorted set of possible breakpoint locations. */

    breakpoints: BreakpointLocation[];
}


1361
1362
1363
# File 'lib/dsp/dsp_protocol.rb', line 1361

def request_seq
  @request_seq
end

#seqObject

type: {



1357
1358
1359
# File 'lib/dsp/dsp_protocol.rb', line 1357

def seq
  @seq
end

#successObject

type: {



1357
1358
1359
# File 'lib/dsp/dsp_protocol.rb', line 1357

def success
  @success
end

#typeObject

type: {



1357
1358
1359
# File 'lib/dsp/dsp_protocol.rb', line 1357

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
# File 'lib/dsp/dsp_protocol.rb', line 1368

def from_h!(value)
  value = {} if value.nil?
  self.body = value['body'] # Unknown type
  self.request_seq = value['request_seq']
  self.success = value['success'] # Unknown type
  self.command = value['command']
  self.message = value['message']
  self.seq = value['seq']
  self.type = value['type']
  self
end