Class: DSP::ConfigurationDoneRequest
- Defined in:
- lib/dsp/dsp_protocol.rb
Overview
interface ConfigurationDoneRequest extends Request {
arguments?: ConfigurationDoneArguments;
}
Instance Attribute Summary collapse
-
#arguments ⇒ Object
type: ConfigurationDoneArguments # type: string # type: number # type: string.
-
#command ⇒ Object
type: ConfigurationDoneArguments # type: string # type: number # type: string.
-
#seq ⇒ Object
type: ConfigurationDoneArguments # type: string # type: number # type: string.
-
#type ⇒ Object
type: ConfigurationDoneArguments # type: string # type: number # type: string.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ ConfigurationDoneRequest
constructor
A new instance of ConfigurationDoneRequest.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ ConfigurationDoneRequest
Returns a new instance of ConfigurationDoneRequest.
939 940 941 942 |
# File 'lib/dsp/dsp_protocol.rb', line 939 def initialize(initial_hash = nil) super @optional_method_names = %i[arguments] end |
Instance Attribute Details
#arguments ⇒ Object
type: ConfigurationDoneArguments # type: string # type: number # type: string
937 938 939 |
# File 'lib/dsp/dsp_protocol.rb', line 937 def arguments @arguments end |
#command ⇒ Object
type: ConfigurationDoneArguments # type: string # type: number # type: string
937 938 939 |
# File 'lib/dsp/dsp_protocol.rb', line 937 def command @command end |
#seq ⇒ Object
type: ConfigurationDoneArguments # type: string # type: number # type: string
937 938 939 |
# File 'lib/dsp/dsp_protocol.rb', line 937 def seq @seq end |
#type ⇒ Object
type: ConfigurationDoneArguments # type: string # type: number # type: string
937 938 939 |
# File 'lib/dsp/dsp_protocol.rb', line 937 def type @type end |
Instance Method Details
#from_h!(value) ⇒ Object
944 945 946 947 948 949 950 951 |
# File 'lib/dsp/dsp_protocol.rb', line 944 def from_h!(value) value = {} if value.nil? self.arguments = ConfigurationDoneArguments.new(value['arguments']) unless value['arguments'].nil? self.command = value['command'] self.seq = value['seq'] self.type = value['type'] self end |