Class: DSP::SetFunctionBreakpointsResponse

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

Overview

interface SetFunctionBreakpointsResponse extends Response {

    body: {
        /** Information about the breakpoints. The array elements correspond to the elements of the 'breakpoints' array. */
        breakpoints: Breakpoint[];
    };
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DSPBase

#to_h, #to_json

Constructor Details

#initialize(initial_hash = nil) ⇒ SetFunctionBreakpointsResponse

Returns a new instance of SetFunctionBreakpointsResponse.



1503
1504
1505
1506
# File 'lib/dsp/dsp_protocol.rb', line 1503

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

Instance Attribute Details

#bodyObject

type: {



1497
1498
1499
# File 'lib/dsp/dsp_protocol.rb', line 1497

def body
  @body
end

#commandObject

type: {



1497
1498
1499
# File 'lib/dsp/dsp_protocol.rb', line 1497

def command
  @command
end

#messageObject

type: {



1497
1498
1499
# File 'lib/dsp/dsp_protocol.rb', line 1497

def message
  @message
end

#request_seqObject

/** Information about the breakpoints. The array elements correspond to the elements of the ‘breakpoints’ array. */

    breakpoints: Breakpoint[];
}


1501
1502
1503
# File 'lib/dsp/dsp_protocol.rb', line 1501

def request_seq
  @request_seq
end

#seqObject

type: {



1497
1498
1499
# File 'lib/dsp/dsp_protocol.rb', line 1497

def seq
  @seq
end

#successObject

type: {



1497
1498
1499
# File 'lib/dsp/dsp_protocol.rb', line 1497

def success
  @success
end

#typeObject

type: {



1497
1498
1499
# File 'lib/dsp/dsp_protocol.rb', line 1497

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
# File 'lib/dsp/dsp_protocol.rb', line 1508

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