Class: DSP::DataBreakpointInfoResponse
- Defined in:
- lib/dsp/dsp_protocol.rb
Overview
interface DataBreakpointInfoResponse extends Response {
body: {
/** An identifier for the data on which a data breakpoint can be registered with the setDataBreakpoints request or null if no data breakpoint is available. */
dataId: string | null;
/** UI string that describes on what data the breakpoint is set on or why a data breakpoint is not available. */
description: string;
/** Optional attribute listing the available access types for a potential data breakpoint. A UI frontend could surface this information. */
accessTypes?: DataBreakpointAccessType[];
/** Optional attribute indicating that a potential data breakpoint could be persisted across sessions. */
canPersist?: boolean;
};
}
Instance Attribute Summary collapse
-
#body ⇒ Object
type: {.
-
#command ⇒ Object
type: {.
-
#message ⇒ Object
type: {.
-
#request_seq ⇒ Object
/** An identifier for the data on which a data breakpoint can be registered with the setDataBreakpoints request or null if no data breakpoint is available.
-
#seq ⇒ Object
type: {.
-
#success ⇒ Object
type: {.
-
#type ⇒ Object
type: {.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ DataBreakpointInfoResponse
constructor
A new instance of DataBreakpointInfoResponse.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ DataBreakpointInfoResponse
Returns a new instance of DataBreakpointInfoResponse.
1649 1650 1651 1652 |
# File 'lib/dsp/dsp_protocol.rb', line 1649 def initialize(initial_hash = nil) super @optional_method_names = %i[message] end |
Instance Attribute Details
#body ⇒ Object
type: {
1637 1638 1639 |
# File 'lib/dsp/dsp_protocol.rb', line 1637 def body @body end |
#command ⇒ Object
type: {
1637 1638 1639 |
# File 'lib/dsp/dsp_protocol.rb', line 1637 def command @command end |
#message ⇒ Object
type: {
1637 1638 1639 |
# File 'lib/dsp/dsp_protocol.rb', line 1637 def @message end |
#request_seq ⇒ Object
/** An identifier for the data on which a data breakpoint can be registered with the setDataBreakpoints request or null if no data breakpoint is available. */
dataId: string | null;
/** UI string that describes on what data the breakpoint is set on or why a data breakpoint is not available. */
description: string;
/** Optional attribute listing the available access types for a potential data breakpoint. A UI frontend could surface this information. */
accessTypes?: DataBreakpointAccessType[];
/** Optional attribute indicating that a potential data breakpoint could be persisted across sessions. */
canPersist?: boolean;
}
1647 1648 1649 |
# File 'lib/dsp/dsp_protocol.rb', line 1647 def request_seq @request_seq end |
#seq ⇒ Object
type: {
1637 1638 1639 |
# File 'lib/dsp/dsp_protocol.rb', line 1637 def seq @seq end |
#success ⇒ Object
type: {
1637 1638 1639 |
# File 'lib/dsp/dsp_protocol.rb', line 1637 def success @success end |
#type ⇒ Object
type: {
1637 1638 1639 |
# File 'lib/dsp/dsp_protocol.rb', line 1637 def type @type end |
Instance Method Details
#from_h!(value) ⇒ Object
1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 |
# File 'lib/dsp/dsp_protocol.rb', line 1654 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 |