Class: DSP::PauseArguments

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

Overview

interface PauseArguments {

    /** Pause execution for this thread. */
    threadId: number;
}

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

#threadIdObject

type: number



2198
2199
2200
# File 'lib/dsp/dsp_protocol.rb', line 2198

def threadId
  @threadId
end

Instance Method Details

#from_h!(value) ⇒ Object



2200
2201
2202
2203
2204
# File 'lib/dsp/dsp_protocol.rb', line 2200

def from_h!(value)
  value = {} if value.nil?
  self.threadId = value['threadId']
  self
end