Class: Imagekitio::Models::VideoTransformationReadyEvent::Timings

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/imagekitio/models/video_transformation_ready_event.rb

Instance Attribute Summary collapse

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(download_duration: nil, encoding_duration: nil) ⇒ Object

Some parameter documentations has been truncated, see Imagekitio::Models::VideoTransformationReadyEvent::Timings for more details.

Performance metrics for the transformation process.

Parameters:

  • download_duration (Integer) (defaults to: nil)

    Time spent downloading the source video from your origin or media library, in mi

  • encoding_duration (Integer) (defaults to: nil)

    Time spent encoding the video, in milliseconds.



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

Instance Attribute Details

#download_durationInteger?

Time spent downloading the source video from your origin or media library, in milliseconds.

Returns:

  • (Integer, nil)


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

optional :download_duration, Integer

#encoding_durationInteger?

Time spent encoding the video, in milliseconds.

Returns:

  • (Integer, nil)


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

optional :encoding_duration, Integer