Class: Pangea::Models::AiGuard::SingleEntityResult

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/pangea/models/ai_guard/single_entity_result.rb

Instance Attribute Summary collapse

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

#actionString?

The action taken by this Detector

Returns:

  • (String, nil)


11
# File 'lib/pangea/models/ai_guard/single_entity_result.rb', line 11

optional :action, String, nil?: true

#entitiesPangea::Internal::Type::ArrayOf<String>?

Detected entities.

Returns:



17
# File 'lib/pangea/models/ai_guard/single_entity_result.rb', line 17

optional :entities, Pangea::Internal::Type::ArrayOf[String], nil?: true