Class: DSP::SetBreakpointsResponse

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

Overview

interface SetBreakpointsResponse extends Response {

    body: {
        /** Information about the breakpoints.
            The array elements are in the same order as the elements of the 'breakpoints' (or the deprecated 'lines') array in the arguments.
        */
        breakpoints: Breakpoint[];
    };
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DSPBase

#to_h, #to_json

Constructor Details

#initialize(initial_hash = nil) ⇒ SetBreakpointsResponse

Returns a new instance of SetBreakpointsResponse.



1442
1443
1444
1445
# File 'lib/dsp/dsp_protocol.rb', line 1442

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

Instance Attribute Details

#bodyObject

type: {



1434
1435
1436
# File 'lib/dsp/dsp_protocol.rb', line 1434

def body
  @body
end

#commandObject

type: {



1434
1435
1436
# File 'lib/dsp/dsp_protocol.rb', line 1434

def command
  @command
end

#messageObject

type: {



1434
1435
1436
# File 'lib/dsp/dsp_protocol.rb', line 1434

def message
  @message
end

#request_seqObject

/** Information about the breakpoints.

        The array elements are in the same order as the elements of the 'breakpoints' (or the deprecated 'lines') array in the arguments.
    */
    breakpoints: Breakpoint[];
}


1440
1441
1442
# File 'lib/dsp/dsp_protocol.rb', line 1440

def request_seq
  @request_seq
end

#seqObject

type: {



1434
1435
1436
# File 'lib/dsp/dsp_protocol.rb', line 1434

def seq
  @seq
end

#successObject

type: {



1434
1435
1436
# File 'lib/dsp/dsp_protocol.rb', line 1434

def success
  @success
end

#typeObject

type: {



1434
1435
1436
# File 'lib/dsp/dsp_protocol.rb', line 1434

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
# File 'lib/dsp/dsp_protocol.rb', line 1447

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