Module: ModerationAPI::Models::ContentSubmitParams::MetaType

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

Overview

The meta type of content being moderated

Constant Summary collapse

PROFILE =

Returns:

  • (:profile)
:profile
MESSAGE =

Returns:

  • (:message)
:message
POST =

Returns:

  • (:post)
:post
COMMENT =

Returns:

  • (:comment)
:comment
EVENT =

Returns:

  • (:event)
:event
PRODUCT =

Returns:

  • (:product)
:product
REVIEW =

Returns:

  • (:review)
:review
VOICE =

Returns:

  • (:voice)
:voice
OTHER =

Returns:

  • (:other)
:other

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::ContentSubmitParams::meta_type]

Returns:

  • (::Array[ModerationAPI::Models::ContentSubmitParams::meta_type])


347
# File 'sig/moderation_api/models/content_submit_params.rbs', line 347

def self?.values: -> ::Array[ModerationAPI::Models::ContentSubmitParams::meta_type]