Class: Imagekitio::Models::Folder
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Imagekitio::Models::Folder
- Defined in:
- lib/imagekitio/models/folder.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#created_at ⇒ Time?
Date and time when the folder was created.
-
#folder_id ⇒ String?
Unique identifier of the asset.
-
#folder_path ⇒ String?
Path of the folder.
-
#name ⇒ String?
Name of the asset.
-
#type ⇒ Symbol, ...
Type of the asset.
-
#updated_at ⇒ Time?
Date and time when the folder was last updated.
Instance Method Summary collapse
-
#initialize(created_at: nil, folder_id: nil, folder_path: nil, name: nil, type: nil, updated_at: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Folder 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(created_at: nil, folder_id: nil, folder_path: nil, name: nil, type: nil, updated_at: nil) ⇒ Object
Some parameter documentations has been truncated, see Imagekitio::Models::Folder for more details.
|
|
# File 'lib/imagekitio/models/folder.rb', line 47
|
Instance Attribute Details
#created_at ⇒ Time?
Date and time when the folder was created. The date and time is in ISO8601 format.
11 |
# File 'lib/imagekitio/models/folder.rb', line 11 optional :created_at, Time, api_name: :createdAt |
#folder_id ⇒ String?
Unique identifier of the asset.
17 |
# File 'lib/imagekitio/models/folder.rb', line 17 optional :folder_id, String, api_name: :folderId |
#folder_path ⇒ String?
Path of the folder. This is the path you would use in the URL to access the folder. For example, if the folder is at the root of the media library, the path will be /folder. If the folder is inside another folder named images, the path will be /images/folder.
26 |
# File 'lib/imagekitio/models/folder.rb', line 26 optional :folder_path, String, api_name: :folderPath |
#name ⇒ String?
Name of the asset.
32 |
# File 'lib/imagekitio/models/folder.rb', line 32 optional :name, String |
#type ⇒ Symbol, ...
Type of the asset.
38 |
# File 'lib/imagekitio/models/folder.rb', line 38 optional :type, enum: -> { Imagekitio::Folder::Type } |
#updated_at ⇒ Time?
Date and time when the folder was last updated. The date and time is in ISO8601 format.
45 |
# File 'lib/imagekitio/models/folder.rb', line 45 optional :updated_at, Time, api_name: :updatedAt |