Class: Etna::Clients::Metis::TouchFolderRequest
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Metis::TouchFolderRequest
- Includes:
- JsonSerializableStruct
- Defined in:
- lib/etna/clients/metis/models.rb
Instance Attribute Summary collapse
-
#bucket_name ⇒ Object
Returns the value of attribute bucket_name.
-
#folder_path ⇒ Object
Returns the value of attribute folder_path.
-
#project_name ⇒ Object
Returns the value of attribute project_name.
Instance Method Summary collapse
-
#initialize(**params) ⇒ TouchFolderRequest
constructor
A new instance of TouchFolderRequest.
- #to_h ⇒ Object
Methods included from JsonSerializableStruct
Constructor Details
#initialize(**params) ⇒ TouchFolderRequest
Returns a new instance of TouchFolderRequest.
89 90 91 |
# File 'lib/etna/clients/metis/models.rb', line 89 def initialize(**params) super({}.update(params)) end |
Instance Attribute Details
#bucket_name ⇒ Object
Returns the value of attribute bucket_name
86 87 88 |
# File 'lib/etna/clients/metis/models.rb', line 86 def bucket_name @bucket_name end |
#folder_path ⇒ Object
Returns the value of attribute folder_path
86 87 88 |
# File 'lib/etna/clients/metis/models.rb', line 86 def folder_path @folder_path end |
#project_name ⇒ Object
Returns the value of attribute project_name
86 87 88 |
# File 'lib/etna/clients/metis/models.rb', line 86 def project_name @project_name end |
Instance Method Details
#to_h ⇒ Object
93 94 95 96 97 98 |
# File 'lib/etna/clients/metis/models.rb', line 93 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 |