Class: DSP::SetBreakpointsResponse
- 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
-
#body ⇒ Object
type: {.
-
#command ⇒ Object
type: {.
-
#message ⇒ Object
type: {.
-
#request_seq ⇒ Object
/** Information about the breakpoints.
-
#seq ⇒ Object
type: {.
-
#success ⇒ Object
type: {.
-
#type ⇒ Object
type: {.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ SetBreakpointsResponse
constructor
A new instance of SetBreakpointsResponse.
Methods inherited from DSPBase
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
#body ⇒ Object
type: {
1434 1435 1436 |
# File 'lib/dsp/dsp_protocol.rb', line 1434 def body @body end |
#command ⇒ Object
type: {
1434 1435 1436 |
# File 'lib/dsp/dsp_protocol.rb', line 1434 def command @command end |
#message ⇒ Object
type: {
1434 1435 1436 |
# File 'lib/dsp/dsp_protocol.rb', line 1434 def @message end |
#request_seq ⇒ Object
/** 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 |
#seq ⇒ Object
type: {
1434 1435 1436 |
# File 'lib/dsp/dsp_protocol.rb', line 1434 def seq @seq end |
#success ⇒ Object
type: {
1434 1435 1436 |
# File 'lib/dsp/dsp_protocol.rb', line 1434 def success @success end |
#type ⇒ Object
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. = value['message'] self.seq = value['seq'] self.type = value['type'] self end |