Class: DSP::SetDataBreakpointsArguments

Inherits:
DSPBase
  • Object
show all
Defined in:
lib/dsp/dsp_protocol.rb

Overview

interface SetDataBreakpointsArguments {

    /** The contents of this array replaces all existing data breakpoints. An empty array clears all data breakpoints. */
    breakpoints: DataBreakpoint[];
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DSPBase

#initialize, #to_h, #to_json

Constructor Details

This class inherits a constructor from DSP::DSPBase

Instance Attribute Details

#breakpointsObject

type: DataBreakpoint[]



1688
1689
1690
# File 'lib/dsp/dsp_protocol.rb', line 1688

def breakpoints
  @breakpoints
end

Instance Method Details

#from_h!(value) ⇒ Object



1690
1691
1692
1693
1694
# File 'lib/dsp/dsp_protocol.rb', line 1690

def from_h!(value)
  value = {} if value.nil?
  self.breakpoints = to_typed_aray(value['breakpoints'], DataBreakpoint)
  self
end