Class: ModerationAPI::Models::ContentSubmitResponse::Policy::EntityMatcherOutput
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModerationAPI::Models::ContentSubmitResponse::Policy::EntityMatcherOutput
- Defined in:
- lib/moderation_api/models/content_submit_response.rb
Defined Under Namespace
Classes: Match
Instance Attribute Summary collapse
- #flagged ⇒ Boolean
- #flagged_fields ⇒ Array<String>?
- #id ⇒ String
- #matches ⇒ Array<ModerationAPI::Models::ContentSubmitResponse::Policy::EntityMatcherOutput::Match>
- #probability ⇒ Float
- #type ⇒ Symbol, :entity_matcher
Method Summary
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
This class inherits a constructor from ModerationAPI::Internal::Type::BaseModel
Instance Attribute Details
#flagged ⇒ Boolean
661 |
# File 'lib/moderation_api/models/content_submit_response.rb', line 661 required :flagged, ModerationAPI::Internal::Type::Boolean |
#flagged_fields ⇒ Array<String>?
682 |
# File 'lib/moderation_api/models/content_submit_response.rb', line 682 optional :flagged_fields, ModerationAPI::Internal::Type::ArrayOf[String] |
#id ⇒ String
656 |
# File 'lib/moderation_api/models/content_submit_response.rb', line 656 required :id, String |
#matches ⇒ Array<ModerationAPI::Models::ContentSubmitResponse::Policy::EntityMatcherOutput::Match>
666 667 |
# File 'lib/moderation_api/models/content_submit_response.rb', line 666 required :matches, -> { ModerationAPI::Internal::Type::ArrayOf[ModerationAPI::Models::ContentSubmitResponse::Policy::EntityMatcherOutput::Match] } |
#probability ⇒ Float
672 |
# File 'lib/moderation_api/models/content_submit_response.rb', line 672 required :probability, Float |
#type ⇒ Symbol, :entity_matcher
677 |
# File 'lib/moderation_api/models/content_submit_response.rb', line 677 required :type, const: :entity_matcher |