Class: Etna::Clients::Metis::RenameFolderRequest
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Metis::RenameFolderRequest
- Includes:
- JsonSerializableStruct
- Defined in:
- lib/etna/clients/metis/models.rb
Instance Attribute Summary collapse
-
#bucket_name ⇒ Object
Returns the value of attribute bucket_name.
-
#create_parent ⇒ Object
Returns the value of attribute create_parent.
-
#folder_path ⇒ Object
Returns the value of attribute folder_path.
-
#new_bucket_name ⇒ Object
Returns the value of attribute new_bucket_name.
-
#new_folder_path ⇒ Object
Returns the value of attribute new_folder_path.
-
#project_name ⇒ Object
Returns the value of attribute project_name.
Instance Method Summary collapse
-
#initialize(**params) ⇒ RenameFolderRequest
constructor
A new instance of RenameFolderRequest.
- #to_h ⇒ Object
Methods included from JsonSerializableStruct
Constructor Details
#initialize(**params) ⇒ RenameFolderRequest
Returns a new instance of RenameFolderRequest.
26 27 28 |
# File 'lib/etna/clients/metis/models.rb', line 26 def initialize(**params) super({create_parent: false}.update(params)) end |
Instance Attribute Details
#bucket_name ⇒ Object
Returns the value of attribute bucket_name
23 24 25 |
# File 'lib/etna/clients/metis/models.rb', line 23 def bucket_name @bucket_name end |
#create_parent ⇒ Object
Returns the value of attribute create_parent
23 24 25 |
# File 'lib/etna/clients/metis/models.rb', line 23 def create_parent @create_parent end |
#folder_path ⇒ Object
Returns the value of attribute folder_path
23 24 25 |
# File 'lib/etna/clients/metis/models.rb', line 23 def folder_path @folder_path end |
#new_bucket_name ⇒ Object
Returns the value of attribute new_bucket_name
23 24 25 |
# File 'lib/etna/clients/metis/models.rb', line 23 def new_bucket_name @new_bucket_name end |
#new_folder_path ⇒ Object
Returns the value of attribute new_folder_path
23 24 25 |
# File 'lib/etna/clients/metis/models.rb', line 23 def new_folder_path @new_folder_path end |
#project_name ⇒ Object
Returns the value of attribute project_name
23 24 25 |
# File 'lib/etna/clients/metis/models.rb', line 23 def project_name @project_name end |
Instance Method Details
#to_h ⇒ Object
30 31 32 33 34 35 |
# File 'lib/etna/clients/metis/models.rb', line 30 def to_h # The :project_name comes in from Polyphemus as a symbol value, # we need to make sure it's a string because it's going # in the URL. super().compact.transform_values(&:to_s) end |