Class: Imagekitio::Models::Beta::V2::FileUploadResponse::ExtensionStatus

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/imagekitio/models/beta/v2/file_upload_response.rb

Overview

See Also:

Defined Under Namespace

Modules: AIAutoDescription, AwsAutoTagging, GoogleAutoTagging, RemoveBg

Instance Attribute Summary collapse

Class Method 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(ai_auto_description: nil, aws_auto_tagging: nil, google_auto_tagging: nil, remove_bg: nil) ⇒ Object

Extension names with their processing status at the time of completion of the request. It could have one of the following status values:

‘success`: The extension has been successfully applied. `failed`: The extension has failed and will not be retried. `pending`: The extension will finish processing in some time. On completion, the final status (success / failed) will be sent to the `webhookUrl` provided.

If no extension was requested, then this parameter is not returned.



# File 'lib/imagekitio/models/beta/v2/file_upload_response.rb', line 323

Instance Attribute Details

#ai_auto_descriptionSymbol, ...



298
299
300
# File 'lib/imagekitio/models/beta/v2/file_upload_response.rb', line 298

optional :ai_auto_description,
enum: -> { Imagekitio::Models::Beta::V2::FileUploadResponse::ExtensionStatus::AIAutoDescription },
api_name: :"ai-auto-description"

#aws_auto_taggingSymbol, ...



305
306
307
# File 'lib/imagekitio/models/beta/v2/file_upload_response.rb', line 305

optional :aws_auto_tagging,
enum: -> { Imagekitio::Models::Beta::V2::FileUploadResponse::ExtensionStatus::AwsAutoTagging },
api_name: :"aws-auto-tagging"

#google_auto_taggingSymbol, ...



312
313
314
# File 'lib/imagekitio/models/beta/v2/file_upload_response.rb', line 312

optional :google_auto_tagging,
enum: -> { Imagekitio::Models::Beta::V2::FileUploadResponse::ExtensionStatus::GoogleAutoTagging },
api_name: :"google-auto-tagging"

#remove_bgSymbol, ...



319
320
321
# File 'lib/imagekitio/models/beta/v2/file_upload_response.rb', line 319

optional :remove_bg,
enum: -> { Imagekitio::Models::Beta::V2::FileUploadResponse::ExtensionStatus::RemoveBg },
api_name: :"remove-bg"

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/imagekitio/models/beta/v2/file_upload_response.rb', line 347