Class: Imagekitio::Models::FolderCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Imagekitio::Models::FolderCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/imagekitio/models/folder_create_params.rb
Overview
Instance Attribute Summary collapse
-
#folder_name ⇒ String
The folder will be created with this name.
-
#parent_folder_path ⇒ String
The folder where the new folder should be created, for root use ‘/` else the path e.g.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(folder_name: , parent_folder_path: , request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see FolderCreateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(folder_name: , parent_folder_path: , request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Imagekitio::Models::FolderCreateParams for more details.
|
|
# File 'lib/imagekitio/models/folder_create_params.rb', line 32
|
Instance Attribute Details
#folder_name ⇒ String
The folder will be created with this name.
All characters except alphabets and numbers (inclusive of unicode letters, marks, and numerals in other languages) will be replaced by an underscore i.e. ‘_`.
18 |
# File 'lib/imagekitio/models/folder_create_params.rb', line 18 required :folder_name, String, api_name: :folderName |
#parent_folder_path ⇒ String
The folder where the new folder should be created, for root use ‘/` else the path e.g. `containing/folder/`.
Note: If any folder(s) is not present in the parentFolderPath parameter, it will be automatically created. For example, if you pass ‘/product/images/summer`, then `product`, `images`, and `summer` folders will be created if they don’t already exist.
30 |
# File 'lib/imagekitio/models/folder_create_params.rb', line 30 required :parent_folder_path, String, api_name: :parentFolderPath |