Class: Imagekitio::Models::File::AITag
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Imagekitio::Models::File::AITag
- Defined in:
- lib/imagekitio/models/file.rb
Instance Attribute Summary collapse
-
#confidence ⇒ Float?
Confidence score of the tag.
-
#name ⇒ String?
Name of the tag.
-
#source ⇒ String?
Source of the tag.
Instance Method Summary collapse
-
#initialize(ai_tags: nil, audio_codec: nil, bit_rate: nil, created_at: nil, custom_coordinates: nil, custom_metadata: nil, description: nil, duration: nil, embedded_metadata: nil, file_id: nil, file_path: nil, file_type: nil, has_alpha: nil, height: nil, is_private_file: nil, is_published: nil, mime: nil, name: nil, selected_fields_schema: nil, size: nil, tags: nil, thumbnail: nil, type: nil, updated_at: nil, url: nil, version_info: nil, video_codec: nil, width: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Imagekitio::Models::File for more details.
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_tags: nil, audio_codec: nil, bit_rate: nil, created_at: nil, custom_coordinates: nil, custom_metadata: nil, description: nil, duration: nil, embedded_metadata: nil, file_id: nil, file_path: nil, file_type: nil, has_alpha: nil, height: nil, is_private_file: nil, is_published: nil, mime: nil, name: nil, selected_fields_schema: nil, size: nil, tags: nil, thumbnail: nil, type: nil, updated_at: nil, url: nil, version_info: nil, video_codec: nil, width: nil) ⇒ Object
Some parameter documentations has been truncated, see Imagekitio::Models::File for more details.
Object containing details of a file or file version.
261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 |
# File 'lib/imagekitio/models/file.rb', line 261 class AITag < Imagekitio::Internal::Type::BaseModel # @!attribute confidence # Confidence score of the tag. # # @return [Float, nil] optional :confidence, Float # @!attribute name # Name of the tag. # # @return [String, nil] optional :name, String # @!attribute source # Source of the tag. Possible values are `google-auto-tagging` and # `aws-auto-tagging`. # # @return [String, nil] optional :source, String # @!method initialize(confidence: nil, name: nil, source: nil) # Some parameter documentations has been truncated, see # {Imagekitio::Models::File::AITag} for more details. # # @param confidence [Float] Confidence score of the tag. # # @param name [String] Name of the tag. # # @param source [String] Source of the tag. Possible values are `google-auto-tagging` and `aws-auto-taggi end |
Instance Attribute Details
#confidence ⇒ Float?
Confidence score of the tag.
266 |
# File 'lib/imagekitio/models/file.rb', line 266 optional :confidence, Float |
#name ⇒ String?
Name of the tag.
272 |
# File 'lib/imagekitio/models/file.rb', line 272 optional :name, String |
#source ⇒ String?
Source of the tag. Possible values are google-auto-tagging and aws-auto-tagging.
279 |
# File 'lib/imagekitio/models/file.rb', line 279 optional :source, String |