Class: Imagekitio::Models::SavedExtension

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/imagekitio/models/saved_extension.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(id: nil, config: nil, created_at: nil, description: nil, name: nil, updated_at: nil) ⇒ Object

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

Saved extension object containing extension configuration.

Parameters:



# File 'lib/imagekitio/models/saved_extension.rb', line 43

Instance Attribute Details

#configImagekitio::Models::ExtensionConfig::RemoveBg, ...

Configuration object for an extension (base extensions only, not saved extension references).



17
# File 'lib/imagekitio/models/saved_extension.rb', line 17

optional :config, union: -> { Imagekitio::ExtensionConfig }

#created_atTime?

Timestamp when the saved extension was created.

Returns:

  • (Time, nil)


23
# File 'lib/imagekitio/models/saved_extension.rb', line 23

optional :created_at, Time, api_name: :createdAt

#descriptionString?

Description of the saved extension.

Returns:

  • (String, nil)


29
# File 'lib/imagekitio/models/saved_extension.rb', line 29

optional :description, String

#idString?

Unique identifier of the saved extension.

Returns:

  • (String, nil)


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

optional :id, String

#nameString?

Name of the saved extension.

Returns:

  • (String, nil)


35
# File 'lib/imagekitio/models/saved_extension.rb', line 35

optional :name, String

#updated_atTime?

Timestamp when the saved extension was last updated.

Returns:

  • (Time, nil)


41
# File 'lib/imagekitio/models/saved_extension.rb', line 41

optional :updated_at, Time, api_name: :updatedAt