Class: DSP::ConfigurationDoneRequest

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

Overview

interface ConfigurationDoneRequest extends Request {

    arguments?: ConfigurationDoneArguments;
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DSPBase

#to_h, #to_json

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

#argumentsObject

type: ConfigurationDoneArguments # type: string # type: number # type: string



937
938
939
# File 'lib/dsp/dsp_protocol.rb', line 937

def arguments
  @arguments
end

#commandObject

type: ConfigurationDoneArguments # type: string # type: number # type: string



937
938
939
# File 'lib/dsp/dsp_protocol.rb', line 937

def command
  @command
end

#seqObject

type: ConfigurationDoneArguments # type: string # type: number # type: string



937
938
939
# File 'lib/dsp/dsp_protocol.rb', line 937

def seq
  @seq
end

#typeObject

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