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.
582 |
# File 'sig/types.rbs', line 582
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.
572 573 574 |
# File 'sig/types.rbs', line 572 def harassment @harassment end |
#harassment_threatening ⇒ Boolean (readonly)
Returns the value of attribute harassment_threatening.
579 580 581 |
# File 'sig/types.rbs', line 579 def harassment_threatening @harassment_threatening end |
#hate ⇒ Boolean (readonly)
Returns the value of attribute hate.
571 572 573 |
# File 'sig/types.rbs', line 571 def hate @hate end |
#hate_threatening ⇒ Boolean (readonly)
Returns the value of attribute hate_threatening.
575 576 577 |
# File 'sig/types.rbs', line 575 def hate_threatening @hate_threatening end |
#self_harm ⇒ Boolean (readonly)
Returns the value of attribute self_harm.
573 574 575 |
# File 'sig/types.rbs', line 573 def self_harm @self_harm end |
#self_harm_instructions ⇒ Boolean (readonly)
Returns the value of attribute self_harm_instructions.
578 579 580 |
# File 'sig/types.rbs', line 578 def self_harm_instructions @self_harm_instructions end |
#self_harm_intent ⇒ Boolean (readonly)
Returns the value of attribute self_harm_intent.
577 578 579 |
# File 'sig/types.rbs', line 577 def self_harm_intent @self_harm_intent end |
#sexual ⇒ Boolean (readonly)
Returns the value of attribute sexual.
570 571 572 |
# File 'sig/types.rbs', line 570 def sexual @sexual end |
#sexual_minors ⇒ Boolean (readonly)
Returns the value of attribute sexual_minors.
574 575 576 |
# File 'sig/types.rbs', line 574 def sexual_minors @sexual_minors end |
#violence ⇒ Boolean (readonly)
Returns the value of attribute violence.
580 581 582 |
# File 'sig/types.rbs', line 580 def violence @violence end |
#violence_graphic ⇒ Boolean (readonly)
Returns the value of attribute violence_graphic.
576 577 578 |
# File 'sig/types.rbs', line 576 def violence_graphic @violence_graphic end |