Module: ModerationAPI::Models::WebhookCreateResponse::EventType
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/moderation_api/models/webhook_create_response.rb,
sig/moderation_api/models/webhook_create_response.rbs
Constant Summary collapse
- QUEUE_ITEM_NEW =
:QUEUE_ITEM_NEW- QUEUE_ITEM_COMPLETED =
:QUEUE_ITEM_COMPLETED- QUEUE_ITEM_ACTION =
:QUEUE_ITEM_ACTION- QUEUE_ITEM_REJECTED =
:QUEUE_ITEM_REJECTED- QUEUE_ITEM_ALLOWED =
:QUEUE_ITEM_ALLOWED- AUTHOR_BLOCKED =
:AUTHOR_BLOCKED- AUTHOR_UNBLOCKED =
:AUTHOR_UNBLOCKED- AUTHOR_SUSPENDED =
:AUTHOR_SUSPENDED- AUTHOR_UPDATED =
:AUTHOR_UPDATED- AUTHOR_TRUST_LEVEL_CHANGED =
:AUTHOR_TRUST_LEVEL_CHANGED- AUTHOR_ACTION =
:AUTHOR_ACTION
Instance Method Summary collapse
-
#initialize(id:, created_at:, event_types:, name:, payload_version:, url:, description: nil) ⇒ Object
Some parameter documentations has been truncated, see ModerationAPI::Models::WebhookCreateResponse for more details.
- #self?.values ⇒ ::Array[ModerationAPI::Models::WebhookCreateResponse::event_type]
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
#initialize(id:, created_at:, event_types:, name:, payload_version:, url:, description: nil) ⇒ Object
Some parameter documentations has been truncated, see ModerationAPI::Models::WebhookCreateResponse for more details.
73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/moderation_api/models/webhook_create_response.rb', line 73 module EventType extend ModerationAPI::Internal::Type::Enum QUEUE_ITEM_NEW = :QUEUE_ITEM_NEW QUEUE_ITEM_COMPLETED = :QUEUE_ITEM_COMPLETED QUEUE_ITEM_ACTION = :QUEUE_ITEM_ACTION QUEUE_ITEM_REJECTED = :QUEUE_ITEM_REJECTED QUEUE_ITEM_ALLOWED = :QUEUE_ITEM_ALLOWED AUTHOR_BLOCKED = :AUTHOR_BLOCKED AUTHOR_UNBLOCKED = :AUTHOR_UNBLOCKED AUTHOR_SUSPENDED = :AUTHOR_SUSPENDED AUTHOR_UPDATED = :AUTHOR_UPDATED AUTHOR_TRUST_LEVEL_CHANGED = :AUTHOR_TRUST_LEVEL_CHANGED AUTHOR_ACTION = :AUTHOR_ACTION # @!method self.values # @return [Array<Symbol>] end |
#self?.values ⇒ ::Array[ModerationAPI::Models::WebhookCreateResponse::event_type]
77 |
# File 'sig/moderation_api/models/webhook_create_response.rbs', line 77
def self?.values: -> ::Array[ModerationAPI::Models::WebhookCreateResponse::event_type]
|