Class: DSP::StepInTarget
Overview
interface StepInTarget {
/** Unique identifier for a stepIn target. */
id: number;
/** The name of the stepIn target (shown in the UI). */
label: string;
}
Instance Attribute Summary collapse
-
#id ⇒ Object
type: number # type: string.
-
#label ⇒ Object
type: number # type: string.
Instance Method Summary collapse
Methods inherited from DSPBase
Constructor Details
This class inherits a constructor from DSP::DSPBase
Instance Attribute Details
#id ⇒ Object
type: number # type: string
4317 4318 4319 |
# File 'lib/dsp/dsp_protocol.rb', line 4317 def id @id end |
#label ⇒ Object
type: number # type: string
4317 4318 4319 |
# File 'lib/dsp/dsp_protocol.rb', line 4317 def label @label end |
Instance Method Details
#from_h!(value) ⇒ Object
4319 4320 4321 4322 4323 4324 |
# File 'lib/dsp/dsp_protocol.rb', line 4319 def from_h!(value) value = {} if value.nil? self.id = value['id'] self.label = value['label'] self end |