Class: Imagekitio::Models::FileUpdateResponse::ExtensionStatus
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Imagekitio::Models::FileUpdateResponse::ExtensionStatus
- Defined in:
- lib/imagekitio/models/file_update_response.rb
Defined Under Namespace
Modules: AIAutoDescription, AwsAutoTagging, GoogleAutoTagging, RemoveBg
Instance Attribute Summary collapse
- #ai_auto_description ⇒ Symbol, ...
- #aws_auto_tagging ⇒ Symbol, ...
- #google_auto_tagging ⇒ Symbol, ...
- #remove_bg ⇒ Symbol, ...
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
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 |
# File 'lib/imagekitio/models/file_update_response.rb', line 19 class ExtensionStatus < Imagekitio::Internal::Type::BaseModel # @!attribute ai_auto_description # # @return [Symbol, Imagekitio::Models::FileUpdateResponse::ExtensionStatus::AIAutoDescription, nil] optional :ai_auto_description, enum: -> { Imagekitio::Models::FileUpdateResponse::ExtensionStatus::AIAutoDescription }, api_name: :"ai-auto-description" # @!attribute aws_auto_tagging # # @return [Symbol, Imagekitio::Models::FileUpdateResponse::ExtensionStatus::AwsAutoTagging, nil] optional :aws_auto_tagging, enum: -> { Imagekitio::Models::FileUpdateResponse::ExtensionStatus::AwsAutoTagging }, api_name: :"aws-auto-tagging" # @!attribute google_auto_tagging # # @return [Symbol, Imagekitio::Models::FileUpdateResponse::ExtensionStatus::GoogleAutoTagging, nil] optional :google_auto_tagging, enum: -> { Imagekitio::Models::FileUpdateResponse::ExtensionStatus::GoogleAutoTagging }, api_name: :"google-auto-tagging" # @!attribute remove_bg # # @return [Symbol, Imagekitio::Models::FileUpdateResponse::ExtensionStatus::RemoveBg, nil] optional :remove_bg, enum: -> { Imagekitio::Models::FileUpdateResponse::ExtensionStatus::RemoveBg }, api_name: :"remove-bg" # @!method initialize(ai_auto_description: nil, aws_auto_tagging: nil, google_auto_tagging: nil, remove_bg: nil) # @param ai_auto_description [Symbol, Imagekitio::Models::FileUpdateResponse::ExtensionStatus::AIAutoDescription] # @param aws_auto_tagging [Symbol, Imagekitio::Models::FileUpdateResponse::ExtensionStatus::AwsAutoTagging] # @param google_auto_tagging [Symbol, Imagekitio::Models::FileUpdateResponse::ExtensionStatus::GoogleAutoTagging] # @param remove_bg [Symbol, Imagekitio::Models::FileUpdateResponse::ExtensionStatus::RemoveBg] # @see Imagekitio::Models::FileUpdateResponse::ExtensionStatus#ai_auto_description module AIAutoDescription extend Imagekitio::Internal::Type::Enum SUCCESS = :success PENDING = :pending FAILED = :failed # @!method self.values # @return [Array<Symbol>] end # @see Imagekitio::Models::FileUpdateResponse::ExtensionStatus#aws_auto_tagging module AwsAutoTagging extend Imagekitio::Internal::Type::Enum SUCCESS = :success PENDING = :pending FAILED = :failed # @!method self.values # @return [Array<Symbol>] end # @see Imagekitio::Models::FileUpdateResponse::ExtensionStatus#google_auto_tagging module GoogleAutoTagging extend Imagekitio::Internal::Type::Enum SUCCESS = :success PENDING = :pending FAILED = :failed # @!method self.values # @return [Array<Symbol>] end # @see Imagekitio::Models::FileUpdateResponse::ExtensionStatus#remove_bg module RemoveBg extend Imagekitio::Internal::Type::Enum SUCCESS = :success PENDING = :pending FAILED = :failed # @!method self.values # @return [Array<Symbol>] end end |
Instance Attribute Details
#ai_auto_description ⇒ Symbol, ...
23 24 25 |
# File 'lib/imagekitio/models/file_update_response.rb', line 23 optional :ai_auto_description, enum: -> { Imagekitio::Models::FileUpdateResponse::ExtensionStatus::AIAutoDescription }, api_name: :"ai-auto-description" |
#aws_auto_tagging ⇒ Symbol, ...
30 31 32 |
# File 'lib/imagekitio/models/file_update_response.rb', line 30 optional :aws_auto_tagging, enum: -> { Imagekitio::Models::FileUpdateResponse::ExtensionStatus::AwsAutoTagging }, api_name: :"aws-auto-tagging" |
#google_auto_tagging ⇒ Symbol, ...
37 38 39 |
# File 'lib/imagekitio/models/file_update_response.rb', line 37 optional :google_auto_tagging, enum: -> { Imagekitio::Models::FileUpdateResponse::ExtensionStatus::GoogleAutoTagging }, api_name: :"google-auto-tagging" |
#remove_bg ⇒ Symbol, ...
44 45 46 |
# File 'lib/imagekitio/models/file_update_response.rb', line 44 optional :remove_bg, enum: -> { Imagekitio::Models::FileUpdateResponse::ExtensionStatus::RemoveBg }, api_name: :"remove-bg" |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/imagekitio/models/file_update_response.rb', line 62
|