Class: LiterLlm::ModerationCategories
- Inherits:
-
Object
- Object
- LiterLlm::ModerationCategories
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#harassment ⇒ Boolean?
Returns the value of attribute harassment.
-
#harassment_threatening ⇒ Boolean?
Returns the value of attribute harassment_threatening.
-
#hate ⇒ Boolean?
Returns the value of attribute hate.
-
#hate_threatening ⇒ Boolean?
Returns the value of attribute hate_threatening.
-
#self_harm ⇒ Boolean?
Returns the value of attribute self_harm.
-
#self_harm_instructions ⇒ Boolean?
Returns the value of attribute self_harm_instructions.
-
#self_harm_intent ⇒ Boolean?
Returns the value of attribute self_harm_intent.
-
#sexual ⇒ Boolean?
Returns the value of attribute sexual.
-
#sexual_minors ⇒ Boolean?
Returns the value of attribute sexual_minors.
-
#violence ⇒ Boolean?
Returns the value of attribute violence.
-
#violence_graphic ⇒ Boolean?
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.
389 |
# File 'sig/types.rbs', line 389
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?
Returns the value of attribute harassment.
379 380 381 |
# File 'sig/types.rbs', line 379 def harassment @harassment end |
#harassment_threatening ⇒ Boolean?
Returns the value of attribute harassment_threatening.
386 387 388 |
# File 'sig/types.rbs', line 386 def harassment_threatening @harassment_threatening end |
#hate ⇒ Boolean?
Returns the value of attribute hate.
378 379 380 |
# File 'sig/types.rbs', line 378 def hate @hate end |
#hate_threatening ⇒ Boolean?
Returns the value of attribute hate_threatening.
382 383 384 |
# File 'sig/types.rbs', line 382 def hate_threatening @hate_threatening end |
#self_harm ⇒ Boolean?
Returns the value of attribute self_harm.
380 381 382 |
# File 'sig/types.rbs', line 380 def self_harm @self_harm end |
#self_harm_instructions ⇒ Boolean?
Returns the value of attribute self_harm_instructions.
385 386 387 |
# File 'sig/types.rbs', line 385 def self_harm_instructions @self_harm_instructions end |
#self_harm_intent ⇒ Boolean?
Returns the value of attribute self_harm_intent.
384 385 386 |
# File 'sig/types.rbs', line 384 def self_harm_intent @self_harm_intent end |
#sexual ⇒ Boolean?
Returns the value of attribute sexual.
377 378 379 |
# File 'sig/types.rbs', line 377 def sexual @sexual end |
#sexual_minors ⇒ Boolean?
Returns the value of attribute sexual_minors.
381 382 383 |
# File 'sig/types.rbs', line 381 def sexual_minors @sexual_minors end |
#violence ⇒ Boolean?
Returns the value of attribute violence.
387 388 389 |
# File 'sig/types.rbs', line 387 def violence @violence end |
#violence_graphic ⇒ Boolean?
Returns the value of attribute violence_graphic.
383 384 385 |
# File 'sig/types.rbs', line 383 def violence_graphic @violence_graphic end |