Class: DSP::ContinueResponse

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

Overview

interface ContinueResponse extends Response {

    body: {
        /** If true, the 'continue' request has ignored the specified thread and continued all threads instead.
            If this attribute is missing a value of 'true' is assumed for backward compatibility.
        */
        allThreadsContinued?: boolean;
    };
}

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from DSPBase

#to_h, #to_json

Constructor Details

#initialize(initial_hash = nil) ⇒ ContinueResponse

Returns a new instance of ContinueResponse.



1777
1778
1779
1780
# File 'lib/dsp/dsp_protocol.rb', line 1777

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

Instance Attribute Details

#bodyObject

type: {



1769
1770
1771
# File 'lib/dsp/dsp_protocol.rb', line 1769

def body
  @body
end

#commandObject

type: {



1769
1770
1771
# File 'lib/dsp/dsp_protocol.rb', line 1769

def command
  @command
end

#messageObject

type: {



1769
1770
1771
# File 'lib/dsp/dsp_protocol.rb', line 1769

def message
  @message
end

#request_seqObject

/** If true, the ‘continue’ request has ignored the specified thread and continued all threads instead.

        If this attribute is missing a value of 'true' is assumed for backward compatibility.
    */
    allThreadsContinued?: boolean;
}


1775
1776
1777
# File 'lib/dsp/dsp_protocol.rb', line 1775

def request_seq
  @request_seq
end

#seqObject

type: {



1769
1770
1771
# File 'lib/dsp/dsp_protocol.rb', line 1769

def seq
  @seq
end

#successObject

type: {



1769
1770
1771
# File 'lib/dsp/dsp_protocol.rb', line 1769

def success
  @success
end

#typeObject

type: {



1769
1770
1771
# File 'lib/dsp/dsp_protocol.rb', line 1769

def type
  @type
end

Instance Method Details

#from_h!(value) ⇒ Object



1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
# File 'lib/dsp/dsp_protocol.rb', line 1782

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