Class: DSP::ProgressEndEvent
Overview
interface ProgressEndEvent extends Event {
body: {
/** The ID that was introduced in the initial 'ProgressStartEvent'. */
progressId: string;
/** Optional, more detailed progress message. If omitted, the previous message (if any) is used. */
message?: string;
};
}
Instance Attribute Summary collapse
-
#body ⇒ Object
type: {.
-
#event ⇒ Object
/** The ID that was introduced in the initial ‘ProgressStartEvent’.
-
#seq ⇒ Object
type: {.
-
#type ⇒ Object
type: {.
Instance Method Summary collapse
Methods inherited from DSPBase
Constructor Details
This class inherits a constructor from DSP::DSPBase
Instance Attribute Details
#body ⇒ Object
type: {
733 734 735 |
# File 'lib/dsp/dsp_protocol.rb', line 733 def body @body end |
#event ⇒ Object
/** The ID that was introduced in the initial ‘ProgressStartEvent’. */
progressId: string;
/** Optional, more detailed progress message. If omitted, the previous message (if any) is used. */
message?: string;
}
739 740 741 |
# File 'lib/dsp/dsp_protocol.rb', line 739 def event @event end |
#seq ⇒ Object
type: {
733 734 735 |
# File 'lib/dsp/dsp_protocol.rb', line 733 def seq @seq end |
#type ⇒ Object
type: {
733 734 735 |
# File 'lib/dsp/dsp_protocol.rb', line 733 def type @type end |
Instance Method Details
#from_h!(value) ⇒ Object
741 742 743 744 745 746 747 748 |
# File 'lib/dsp/dsp_protocol.rb', line 741 def from_h!(value) value = {} if value.nil? self.body = value['body'] # Unknown type self.event = value['event'] self.seq = value['seq'] self.type = value['type'] self end |