Module: ModerationAPI::Models::WebhookRetrieveResponse::PayloadVersion
- Extended by:
- Internal::Type::Enum
- Defined in:
- lib/moderation_api/models/webhook_retrieve_response.rb,
sig/moderation_api/models/webhook_retrieve_response.rbs
Overview
Payload envelope version. V2 is the Stripe-style envelope; V1 is the legacy flat shape and is read-only via this API.
Constant Summary collapse
- V1 =
:V1- V2 =
:V2
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Internal::Type::Enum
==, ===, coerce, dump, hash, inspect, to_sorbet_type, 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
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/moderation_api/models/webhook_retrieve_response.rb', line 102
|
Instance Method Details
#self?.values ⇒ ::Array[ModerationAPI::Models::WebhookRetrieveResponse::payload_version]
88 |
# File 'sig/moderation_api/models/webhook_retrieve_response.rbs', line 88
def self?.values: -> ::Array[ModerationAPI::Models::WebhookRetrieveResponse::payload_version]
|