Module: ModerationAPI::Models::ContentSubmitResponse::Recommendation::Action

Extended by:
Internal::Type::Enum
Defined in:
lib/moderation_api/models/content_submit_response.rb,
sig/moderation_api/models/content_submit_response.rbs

Overview

The action to take based on the recommendation

See Also:

  • ModerationAPI::Models::ContentSubmitResponse::Recommendation#action

Constant Summary collapse

REVIEW =

Returns:

  • (:review)
:review
ALLOW =

Returns:

  • (:allow)
:allow
REJECT =

Returns:

  • (:reject)
:reject

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#self?.values::Array[ModerationAPI::Models::ContentSubmitResponse::Recommendation::action]

Returns:

  • (::Array[ModerationAPI::Models::ContentSubmitResponse::Recommendation::action])


726
# File 'sig/moderation_api/models/content_submit_response.rbs', line 726

def self?.values: -> ::Array[ModerationAPI::Models::ContentSubmitResponse::Recommendation::action]