Class: Pangea::Models::AiGuard::MaliciousEntityResult::Entity

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/pangea/models/ai_guard/malicious_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

#rawHash?

Returns:

  • (Hash, nil)


37
# File 'lib/pangea/models/ai_guard/malicious_entity_result.rb', line 37

optional :raw, Hash, nil?: true

#redactedPangea::Internal::Type::Boolean?



27
# File 'lib/pangea/models/ai_guard/malicious_entity_result.rb', line 27

optional :redacted, Pangea::Internal::Type::Boolean, nil?: true

#start_posInteger?

Returns:

  • (Integer, nil)


32
# File 'lib/pangea/models/ai_guard/malicious_entity_result.rb', line 32

optional :start_pos, Integer, nil?: true

#typeString

Returns:

  • (String)


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

required :type, String

#valueString

Returns:

  • (String)


22
# File 'lib/pangea/models/ai_guard/malicious_entity_result.rb', line 22

required :value, String