Class: Imagekitio::Models::FileVersionDeleteEvent

Inherits:
BaseWebhookEvent show all
Defined in:
lib/imagekitio/models/file_version_delete_event.rb

Defined Under Namespace

Classes: Data

Instance Attribute Summary collapse

Attributes inherited from BaseWebhookEvent

#id

Method Summary

Methods inherited from BaseWebhookEvent

#initialize

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

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

Methods included from Internal::Util::SorbetRuntimeSupport

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

Constructor Details

This class inherits a constructor from Imagekitio::Models::BaseWebhookEvent

Instance Attribute Details

#created_atTime

Timestamp of when the event occurred in ISO8601 format.

Returns:

  • (Time)


10
# File 'lib/imagekitio/models/file_version_delete_event.rb', line 10

required :created_at, Time

#dataImagekitio::Models::FileVersionDeleteEvent::Data



15
# File 'lib/imagekitio/models/file_version_delete_event.rb', line 15

required :data, -> { Imagekitio::FileVersionDeleteEvent::Data }

#typeSymbol, :"file-version.deleted"

Type of the webhook event.

Returns:

  • (Symbol, :"file-version.deleted")


21
# File 'lib/imagekitio/models/file_version_delete_event.rb', line 21

required :type, const: :"file-version.deleted"