Class: DSP::RestartFrameRequest

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

Overview

interface RestartFrameRequest extends Request {

    arguments: RestartFrameArguments;
}

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: RestartFrameArguments # type: string # type: number # type: string



2072
2073
2074
# File 'lib/dsp/dsp_protocol.rb', line 2072

def arguments
  @arguments
end

#commandObject

type: RestartFrameArguments # type: string # type: number # type: string



2072
2073
2074
# File 'lib/dsp/dsp_protocol.rb', line 2072

def command
  @command
end

#seqObject

type: RestartFrameArguments # type: string # type: number # type: string



2072
2073
2074
# File 'lib/dsp/dsp_protocol.rb', line 2072

def seq
  @seq
end

#typeObject

type: RestartFrameArguments # type: string # type: number # type: string



2072
2073
2074
# File 'lib/dsp/dsp_protocol.rb', line 2072

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



2074
2075
2076
2077
2078
2079
2080
2081
# File 'lib/dsp/dsp_protocol.rb', line 2074

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