Module: ModerationAPI::Models::ContentSubmitResponse::Recommendation::ReasonCode
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/moderation_api/models/content_submit_response.rb,
sig/moderation_api/models/content_submit_response.rbs
collapse
- SEVERITY_REJECT =
:severity_reject- SEVERITY_REVIEW =
:severity_review- AUTHOR_BLOCK =
:author_block- DRY_RUN =
:dry_run- TRUSTED_ALLOW =
:trusted_allow- UNTRUSTED_SEVERITY =
:untrusted_severity- RULE_MATCH =
:rule_match- RULE_DEFAULT =
:rule_default- RULE_FALLBACK =
:rule_fallback- CLIENT_OVERRIDE =
:client_override
Class Method Summary collapse
Instance Method Summary collapse
- #self?.variants ⇒ ::Array[ModerationAPI::Models::ContentSubmitResponse::Recommendation::reason_code]
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants
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
Class Method Details
.variants ⇒ Array(Symbol, String)
943 944 945 |
# File 'lib/moderation_api/models/content_submit_response.rb', line 943 define_sorbet_constant!(:Variants) do T.type_alias { T.any(ModerationAPI::Models::ContentSubmitResponse::Recommendation::ReasonCode::TaggedSymbol, String) } end |
Instance Method Details
#self?.variants ⇒ ::Array[ModerationAPI::Models::ContentSubmitResponse::Recommendation::reason_code]
766 |
# File 'sig/moderation_api/models/content_submit_response.rbs', line 766
def self?.variants: -> ::Array[ModerationAPI::Models::ContentSubmitResponse::Recommendation::reason_code]
|