enum

Crig::Providers::Gemini::HarmBlockThreshold

Inherits Enum < Comparable < Value < Object

Constants

HarmBlockThresholdUnspecified = 0
BlockLowAndAbove = 1
BlockMediumAndAbove = 2
BlockOnlyHigh = 3
BlockNone = 4
Off = 5

Constructors

parse(value : String) : self
Source

Instance methods

block_low_and_above?

Returns true if this enum value equals BlockLowAndAbove

Source
block_medium_and_above?

Returns true if this enum value equals BlockMediumAndAbove

Source
block_none?

Returns true if this enum value equals BlockNone

Source
block_only_high?

Returns true if this enum value equals BlockOnlyHigh

Source
harm_block_threshold_unspecified?

Returns true if this enum value equals HarmBlockThresholdUnspecified

Source
off?

Returns true if this enum value equals Off

Source