Class: DSP::DataBreakpointInfoArguments

Inherits:
DSPBase
  • Object
show all
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

Instance Method Summary collapse

Methods inherited from DSPBase

#to_h, #to_json

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

#nameObject

type: number # type: string



1609
1610
1611
# File 'lib/dsp/dsp_protocol.rb', line 1609

def name
  @name
end

#variablesReferenceObject

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