Class: DSP::DataBreakpointInfoArguments
- Defined in:
- lib/dsp/dsp_protocol.rb
Overview
interface DataBreakpointInfoArguments {
/** Reference to the Variable container if the data breakpoint is requested for a child of the container. */
variablesReference?: number;
/** The name of the Variable's child to obtain data breakpoint information for.
If variableReference isn’t provided, this can be an expression.
*/
name: string;
}
Instance Attribute Summary collapse
-
#name ⇒ Object
type: number # type: string.
-
#variablesReference ⇒ Object
type: number # type: string.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ DataBreakpointInfoArguments
constructor
A new instance of DataBreakpointInfoArguments.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ DataBreakpointInfoArguments
Returns a new instance of DataBreakpointInfoArguments.
1611 1612 1613 1614 |
# File 'lib/dsp/dsp_protocol.rb', line 1611 def initialize(initial_hash = nil) super @optional_method_names = %i[variablesReference] end |
Instance Attribute Details
#name ⇒ Object
type: number # type: string
1609 1610 1611 |
# File 'lib/dsp/dsp_protocol.rb', line 1609 def name @name end |
#variablesReference ⇒ Object
type: number # type: string
1609 1610 1611 |
# File 'lib/dsp/dsp_protocol.rb', line 1609 def variablesReference @variablesReference end |
Instance Method Details
#from_h!(value) ⇒ Object
1616 1617 1618 1619 1620 1621 |
# File 'lib/dsp/dsp_protocol.rb', line 1616 def from_h!(value) value = {} if value.nil? self.variablesReference = value['variablesReference'] self.name = value['name'] self end |