Class: DSP::LoadedSourcesRequest
- Defined in:
- lib/dsp/dsp_protocol.rb
Overview
interface LoadedSourcesRequest extends Request {
arguments?: LoadedSourcesArguments;
}
Instance Attribute Summary collapse
-
#arguments ⇒ Object
type: LoadedSourcesArguments # type: string # type: number # type: string.
-
#command ⇒ Object
type: LoadedSourcesArguments # type: string # type: number # type: string.
-
#seq ⇒ Object
type: LoadedSourcesArguments # type: string # type: number # type: string.
-
#type ⇒ Object
type: LoadedSourcesArguments # type: string # type: number # type: string.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ LoadedSourcesRequest
constructor
A new instance of LoadedSourcesRequest.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ LoadedSourcesRequest
Returns a new instance of LoadedSourcesRequest.
2826 2827 2828 2829 |
# File 'lib/dsp/dsp_protocol.rb', line 2826 def initialize(initial_hash = nil) super @optional_method_names = i[arguments] end |
Instance Attribute Details
#arguments ⇒ Object
type: LoadedSourcesArguments # type: string # type: number # type: string
2824 2825 2826 |
# File 'lib/dsp/dsp_protocol.rb', line 2824 def arguments @arguments end |
#command ⇒ Object
type: LoadedSourcesArguments # type: string # type: number # type: string
2824 2825 2826 |
# File 'lib/dsp/dsp_protocol.rb', line 2824 def command @command end |
#seq ⇒ Object
type: LoadedSourcesArguments # type: string # type: number # type: string
2824 2825 2826 |
# File 'lib/dsp/dsp_protocol.rb', line 2824 def seq @seq end |
#type ⇒ Object
type: LoadedSourcesArguments # type: string # type: number # type: string
2824 2825 2826 |
# File 'lib/dsp/dsp_protocol.rb', line 2824 def type @type end |
Instance Method Details
#from_h!(value) ⇒ Object
2831 2832 2833 2834 2835 2836 2837 2838 |
# File 'lib/dsp/dsp_protocol.rb', line 2831 def from_h!(value) value = {} if value.nil? self.arguments = LoadedSourcesArguments.new(value['arguments']) unless value['arguments'].nil? self.command = value['command'] self.seq = value['seq'] self.type = value['type'] self end |