Class: LiterLlm::ModerationCategories
- Inherits:
-
Object
- Object
- LiterLlm::ModerationCategories
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#harassment ⇒ Boolean
readonly
Returns the value of attribute harassment.
-
#harassment_threatening ⇒ Boolean
readonly
Returns the value of attribute harassment_threatening.
-
#hate ⇒ Boolean
readonly
Returns the value of attribute hate.
-
#hate_threatening ⇒ Boolean
readonly
Returns the value of attribute hate_threatening.
-
#self_harm ⇒ Boolean
readonly
Returns the value of attribute self_harm.
-
#self_harm_instructions ⇒ Boolean
readonly
Returns the value of attribute self_harm_instructions.
-
#self_harm_intent ⇒ Boolean
readonly
Returns the value of attribute self_harm_intent.
-
#sexual ⇒ Boolean
readonly
Returns the value of attribute sexual.
-
#sexual_minors ⇒ Boolean
readonly
Returns the value of attribute sexual_minors.
-
#violence ⇒ Boolean
readonly
Returns the value of attribute violence.
-
#violence_graphic ⇒ Boolean
readonly
Returns the value of attribute violence_graphic.
Instance Method Summary collapse
-
#initialize ⇒ ModerationCategories
constructor
A new instance of ModerationCategories.
Constructor Details
#initialize ⇒ ModerationCategories
Returns a new instance of ModerationCategories.
402 |
# File 'sig/types.rbs', line 402
def initialize: (?sexual: bool, ?hate: bool, ?harassment: bool, ?self_harm: bool, ?sexual_minors: bool, ?hate_threatening: bool, ?violence_graphic: bool, ?self_harm_intent: bool, ?self_harm_instructions: bool, ?harassment_threatening: bool, ?violence: bool) -> void
|
Instance Attribute Details
#harassment ⇒ Boolean (readonly)
Returns the value of attribute harassment.
392 393 394 |
# File 'sig/types.rbs', line 392 def harassment @harassment end |
#harassment_threatening ⇒ Boolean (readonly)
Returns the value of attribute harassment_threatening.
399 400 401 |
# File 'sig/types.rbs', line 399 def harassment_threatening @harassment_threatening end |
#hate ⇒ Boolean (readonly)
Returns the value of attribute hate.
391 392 393 |
# File 'sig/types.rbs', line 391 def hate @hate end |
#hate_threatening ⇒ Boolean (readonly)
Returns the value of attribute hate_threatening.
395 396 397 |
# File 'sig/types.rbs', line 395 def hate_threatening @hate_threatening end |
#self_harm ⇒ Boolean (readonly)
Returns the value of attribute self_harm.
393 394 395 |
# File 'sig/types.rbs', line 393 def self_harm @self_harm end |
#self_harm_instructions ⇒ Boolean (readonly)
Returns the value of attribute self_harm_instructions.
398 399 400 |
# File 'sig/types.rbs', line 398 def self_harm_instructions @self_harm_instructions end |
#self_harm_intent ⇒ Boolean (readonly)
Returns the value of attribute self_harm_intent.
397 398 399 |
# File 'sig/types.rbs', line 397 def self_harm_intent @self_harm_intent end |
#sexual ⇒ Boolean (readonly)
Returns the value of attribute sexual.
390 391 392 |
# File 'sig/types.rbs', line 390 def sexual @sexual end |
#sexual_minors ⇒ Boolean (readonly)
Returns the value of attribute sexual_minors.
394 395 396 |
# File 'sig/types.rbs', line 394 def sexual_minors @sexual_minors end |
#violence ⇒ Boolean (readonly)
Returns the value of attribute violence.
400 401 402 |
# File 'sig/types.rbs', line 400 def violence @violence end |
#violence_graphic ⇒ Boolean (readonly)
Returns the value of attribute violence_graphic.
396 397 398 |
# File 'sig/types.rbs', line 396 def violence_graphic @violence_graphic end |