Class: DSP::SetExpressionRequest
- Defined in:
- lib/dsp/dsp_protocol.rb
Overview
interface SetExpressionRequest extends Request {
arguments: SetExpressionArguments;
}
Instance Attribute Summary collapse
-
#arguments ⇒ Object
type: SetExpressionArguments # type: string # type: number # type: string.
-
#command ⇒ Object
type: SetExpressionArguments # type: string # type: number # type: string.
-
#seq ⇒ Object
type: SetExpressionArguments # type: string # type: number # type: string.
-
#type ⇒ Object
type: SetExpressionArguments # type: string # 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
#arguments ⇒ Object
type: SetExpressionArguments # type: string # type: number # type: string
3021 3022 3023 |
# File 'lib/dsp/dsp_protocol.rb', line 3021 def arguments @arguments end |
#command ⇒ Object
type: SetExpressionArguments # type: string # type: number # type: string
3021 3022 3023 |
# File 'lib/dsp/dsp_protocol.rb', line 3021 def command @command end |
#seq ⇒ Object
type: SetExpressionArguments # type: string # type: number # type: string
3021 3022 3023 |
# File 'lib/dsp/dsp_protocol.rb', line 3021 def seq @seq end |
#type ⇒ Object
type: SetExpressionArguments # type: string # type: number # type: string
3021 3022 3023 |
# File 'lib/dsp/dsp_protocol.rb', line 3021 def type @type end |
Instance Method Details
#from_h!(value) ⇒ Object
3023 3024 3025 3026 3027 3028 3029 3030 |
# File 'lib/dsp/dsp_protocol.rb', line 3023 def from_h!(value) value = {} if value.nil? self.arguments = SetExpressionArguments.new(value['arguments']) unless value['arguments'].nil? self.command = value['command'] self.seq = value['seq'] self.type = value['type'] self end |