Class: Imagekitio::Models::VideoTransformationReadyEvent

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

Defined Under Namespace

Classes: Data, Request, Timings

Instance Attribute Summary collapse

Attributes inherited from BaseWebhookEvent

#id

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, 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

#initialize(url: , x_request_id: , user_agent: nil) ⇒ Object

Information about the original request that triggered the video transformation.

Parameters:

  • url (String) (defaults to: )

    Full URL of the transformation request that was submitted.

  • x_request_id (String) (defaults to: )

    Unique identifier for the originating transformation request.

  • user_agent (String) (defaults to: nil)

    User-Agent header from the original request that triggered the transformation.



# File 'lib/imagekitio/models/video_transformation_ready_event.rb', line 309


Instance Attribute Details

#created_atTime

Timestamp when the event was created in ISO8601 format.

Returns:

  • (Time)


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

required :created_at, Time

#dataImagekitio::Models::VideoTransformationReadyEvent::Data



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

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

#requestImagekitio::Models::VideoTransformationReadyEvent::Request

Information about the original request that triggered the video transformation.



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

required :request, -> { Imagekitio::VideoTransformationReadyEvent::Request }

#timingsImagekitio::Models::VideoTransformationReadyEvent::Timings?

Performance metrics for the transformation process.



32
# File 'lib/imagekitio/models/video_transformation_ready_event.rb', line 32

optional :timings, -> { Imagekitio::VideoTransformationReadyEvent::Timings }

#typeSymbol, :"video.transformation.ready"

Returns:

  • (Symbol, :"video.transformation.ready")


26
# File 'lib/imagekitio/models/video_transformation_ready_event.rb', line 26

required :type, const: :"video.transformation.ready"