Class: DSP::LaunchRequest

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

Overview

interface LaunchRequest extends Request {

    arguments: LaunchRequestArguments;
}

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

#argumentsObject

type: LaunchRequestArguments # type: string # type: number # type: string



991
992
993
# File 'lib/dsp/dsp_protocol.rb', line 991

def arguments
  @arguments
end

#commandObject

type: LaunchRequestArguments # type: string # type: number # type: string



991
992
993
# File 'lib/dsp/dsp_protocol.rb', line 991

def command
  @command
end

#seqObject

type: LaunchRequestArguments # type: string # type: number # type: string



991
992
993
# File 'lib/dsp/dsp_protocol.rb', line 991

def seq
  @seq
end

#typeObject

type: LaunchRequestArguments # type: string # type: number # type: string



991
992
993
# File 'lib/dsp/dsp_protocol.rb', line 991

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



993
994
995
996
997
998
999
1000
# File 'lib/dsp/dsp_protocol.rb', line 993

def from_h!(value)
  value = {} if value.nil?
  self.arguments = LaunchRequestArguments.new(value['arguments']) unless value['arguments'].nil?
  self.command = value['command']
  self.seq = value['seq']
  self.type = value['type']
  self
end