Class: DSP::StepInTargetsResponse
- Defined in:
- lib/dsp/dsp_protocol.rb
Overview
interface StepInTargetsResponse extends Response {
body: {
/** The possible stepIn targets of the specified source location. */
targets: StepInTarget[];
};
}
Instance Attribute Summary collapse
-
#body ⇒ Object
type: {.
-
#command ⇒ Object
type: {.
-
#message ⇒ Object
type: {.
-
#request_seq ⇒ Object
/** The possible stepIn targets of the specified source location.
-
#seq ⇒ Object
type: {.
-
#success ⇒ Object
type: {.
-
#type ⇒ Object
type: {.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ StepInTargetsResponse
constructor
A new instance of StepInTargetsResponse.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ StepInTargetsResponse
Returns a new instance of StepInTargetsResponse.
3175 3176 3177 3178 |
# File 'lib/dsp/dsp_protocol.rb', line 3175 def initialize(initial_hash = nil) super @optional_method_names = %i[message] end |
Instance Attribute Details
#body ⇒ Object
type: {
3169 3170 3171 |
# File 'lib/dsp/dsp_protocol.rb', line 3169 def body @body end |
#command ⇒ Object
type: {
3169 3170 3171 |
# File 'lib/dsp/dsp_protocol.rb', line 3169 def command @command end |
#message ⇒ Object
type: {
3169 3170 3171 |
# File 'lib/dsp/dsp_protocol.rb', line 3169 def @message end |
#request_seq ⇒ Object
/** The possible stepIn targets of the specified source location. */
targets: StepInTarget[];
}
3173 3174 3175 |
# File 'lib/dsp/dsp_protocol.rb', line 3173 def request_seq @request_seq end |
#seq ⇒ Object
type: {
3169 3170 3171 |
# File 'lib/dsp/dsp_protocol.rb', line 3169 def seq @seq end |
#success ⇒ Object
type: {
3169 3170 3171 |
# File 'lib/dsp/dsp_protocol.rb', line 3169 def success @success end |
#type ⇒ Object
type: {
3169 3170 3171 |
# File 'lib/dsp/dsp_protocol.rb', line 3169 def type @type end |
Instance Method Details
#from_h!(value) ⇒ Object
3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 |
# File 'lib/dsp/dsp_protocol.rb', line 3180 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. = value['message'] self.seq = value['seq'] self.type = value['type'] self end |