Class: DSP::SetDataBreakpointsResponse

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

Overview

interface SetDataBreakpointsResponse extends Response {

    body: {
        /** Information about the data breakpoints. The array elements correspond to the elements of the input argument 'breakpoints' array. */
        breakpoints: Breakpoint[];
    };
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DSPBase

#to_h, #to_json

Constructor Details

#initialize(initial_hash = nil) ⇒ SetDataBreakpointsResponse

Returns a new instance of SetDataBreakpointsResponse.



1710
1711
1712
1713
# File 'lib/dsp/dsp_protocol.rb', line 1710

def initialize(initial_hash = nil)
  super
  @optional_method_names = i[message]
end

Instance Attribute Details

#bodyObject

type: {



1704
1705
1706
# File 'lib/dsp/dsp_protocol.rb', line 1704

def body
  @body
end

#commandObject

type: {



1704
1705
1706
# File 'lib/dsp/dsp_protocol.rb', line 1704

def command
  @command
end

#messageObject

type: {



1704
1705
1706
# File 'lib/dsp/dsp_protocol.rb', line 1704

def message
  @message
end

#request_seqObject

/** Information about the data breakpoints. The array elements correspond to the elements of the input argument ‘breakpoints’ array. */

    breakpoints: Breakpoint[];
}


1708
1709
1710
# File 'lib/dsp/dsp_protocol.rb', line 1708

def request_seq
  @request_seq
end

#seqObject

type: {



1704
1705
1706
# File 'lib/dsp/dsp_protocol.rb', line 1704

def seq
  @seq
end

#successObject

type: {



1704
1705
1706
# File 'lib/dsp/dsp_protocol.rb', line 1704

def success
  @success
end

#typeObject

type: {



1704
1705
1706
# File 'lib/dsp/dsp_protocol.rb', line 1704

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
# File 'lib/dsp/dsp_protocol.rb', line 1715

def from_h!(value)
  value = {} if value.nil?
  self.body = value['body'] # Unknown type
  self.request_seq = value['request_seq']
  self.success = value['success'] # Unknown type
  self.command = value['command']
  self.message = value['message']
  self.seq = value['seq']
  self.type = value['type']
  self
end