Class: DSP::ExceptionBreakpointsFilter
- Defined in:
- lib/dsp/dsp_protocol.rb
Overview
interface ExceptionBreakpointsFilter {
/** The internal ID of the filter. This value is passed to the setExceptionBreakpoints request. */
filter: string;
/** The name of the filter. This will be shown in the UI. */
label: string;
/** Initial value of the filter. If not specified a value 'false' is assumed. */
default?: boolean;
}
Instance Attribute Summary collapse
-
#default ⇒ Object
type: string # type: string # type: boolean.
-
#filter ⇒ Object
type: string # type: string # type: boolean.
-
#label ⇒ Object
type: string # type: string # type: boolean.
Instance Method Summary collapse
- #from_h!(value) ⇒ Object
-
#initialize(initial_hash = nil) ⇒ ExceptionBreakpointsFilter
constructor
A new instance of ExceptionBreakpointsFilter.
Methods inherited from DSPBase
Constructor Details
#initialize(initial_hash = nil) ⇒ ExceptionBreakpointsFilter
Returns a new instance of ExceptionBreakpointsFilter.
3707 3708 3709 3710 |
# File 'lib/dsp/dsp_protocol.rb', line 3707 def initialize(initial_hash = nil) super @optional_method_names = %i[default] end |
Instance Attribute Details
#default ⇒ Object
type: string # type: string # type: boolean
3705 3706 3707 |
# File 'lib/dsp/dsp_protocol.rb', line 3705 def default @default end |
#filter ⇒ Object
type: string # type: string # type: boolean
3705 3706 3707 |
# File 'lib/dsp/dsp_protocol.rb', line 3705 def filter @filter end |
#label ⇒ Object
type: string # type: string # type: boolean
3705 3706 3707 |
# File 'lib/dsp/dsp_protocol.rb', line 3705 def label @label end |
Instance Method Details
#from_h!(value) ⇒ Object
3712 3713 3714 3715 3716 3717 3718 |
# File 'lib/dsp/dsp_protocol.rb', line 3712 def from_h!(value) value = {} if value.nil? self.filter = value['filter'] self.label = value['label'] self.default = value['default'] # Unknown type self end |