Class: Pangea::Models::AiGuard::ClassificationResult
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Pangea::Models::AiGuard::ClassificationResult
- Defined in:
- lib/pangea/models/ai_guard/classification_result.rb
Defined Under Namespace
Classes: Classification
Instance Attribute Summary collapse
-
#action ⇒ String?
The action taken by this Detector.
-
#classifications ⇒ Pangea::Internal::Type::ArrayOf<Classification>?
Triggered classifications.
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, coerce, #deconstruct_keys, dump, fields, #initialize, #inspect, known_fields, optional, required, #to_h
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, type_info
Constructor Details
This class inherits a constructor from Pangea::Internal::Type::BaseModel
Instance Attribute Details
#action ⇒ String?
The action taken by this Detector
11 |
# File 'lib/pangea/models/ai_guard/classification_result.rb', line 11 optional :action, String, nil?: true |
#classifications ⇒ Pangea::Internal::Type::ArrayOf<Classification>?
Triggered classifications.
17 |
# File 'lib/pangea/models/ai_guard/classification_result.rb', line 17 optional :classifications, Pangea::Internal::Type::ArrayOf[-> { Classification }], nil?: true |