Class: DSP::BreakpointLocationsResponse
- 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
-
#body ⇒ Object
type: {.
-
#command ⇒ Object
type: {.
-
#message ⇒ Object
type: {.
-
#request_seq ⇒ Object
/** Sorted set of possible breakpoint locations.
-
#seq ⇒ Object
type: {.
-
#success ⇒ Object
type: {.
-
#type ⇒ Object
type: {.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ BreakpointLocationsResponse
constructor
A new instance of BreakpointLocationsResponse.
Methods inherited from DSPBase
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
#body ⇒ Object
type: {
1357 1358 1359 |
# File 'lib/dsp/dsp_protocol.rb', line 1357 def body @body end |
#command ⇒ Object
type: {
1357 1358 1359 |
# File 'lib/dsp/dsp_protocol.rb', line 1357 def command @command end |
#message ⇒ Object
type: {
1357 1358 1359 |
# File 'lib/dsp/dsp_protocol.rb', line 1357 def @message end |
#request_seq ⇒ Object
/** 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 |
#seq ⇒ Object
type: {
1357 1358 1359 |
# File 'lib/dsp/dsp_protocol.rb', line 1357 def seq @seq end |
#success ⇒ Object
type: {
1357 1358 1359 |
# File 'lib/dsp/dsp_protocol.rb', line 1357 def success @success end |
#type ⇒ Object
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. = value['message'] self.seq = value['seq'] self.type = value['type'] self end |