enum

Crig::Providers::Gemini::BlockReason

Inherits Enum < Comparable < Value < Object

Constants

BlockReasonUnspecified = 0
Safety = 1
Other = 2
Blocklist = 3
ProhibitedContent = 4

Constructors

parse(value : String) : self
Source

Instance methods

block_reason_unspecified?

Returns true if this enum value equals BlockReasonUnspecified

Source
blocklist?

Returns true if this enum value equals Blocklist

Source
other?

Returns true if this enum value equals Other

Source
prohibited_content?

Returns true if this enum value equals ProhibitedContent

Source
safety?

Returns true if this enum value equals Safety

Source