Class: Etna::Clients::Metis::ListFoldersRequest
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Metis::ListFoldersRequest
- Includes:
- JsonSerializableStruct
- Defined in:
- lib/etna/clients/metis/models.rb
Instance Attribute Summary collapse
-
#bucket_name ⇒ Object
Returns the value of attribute bucket_name.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#project_name ⇒ Object
Returns the value of attribute project_name.
Instance Method Summary collapse
-
#initialize(**params) ⇒ ListFoldersRequest
constructor
A new instance of ListFoldersRequest.
- #to_h ⇒ Object
Methods included from JsonSerializableStruct
Constructor Details
#initialize(**params) ⇒ ListFoldersRequest
Returns a new instance of ListFoldersRequest.
11 12 13 |
# File 'lib/etna/clients/metis/models.rb', line 11 def initialize(**params) super({}.update(params)) end |
Instance Attribute Details
#bucket_name ⇒ Object
Returns the value of attribute bucket_name
8 9 10 |
# File 'lib/etna/clients/metis/models.rb', line 8 def bucket_name @bucket_name end |
#limit ⇒ Object
Returns the value of attribute limit
8 9 10 |
# File 'lib/etna/clients/metis/models.rb', line 8 def limit @limit end |
#offset ⇒ Object
Returns the value of attribute offset
8 9 10 |
# File 'lib/etna/clients/metis/models.rb', line 8 def offset @offset end |
#project_name ⇒ Object
Returns the value of attribute project_name
8 9 10 |
# File 'lib/etna/clients/metis/models.rb', line 8 def project_name @project_name end |
Instance Method Details
#to_h ⇒ Object
15 16 17 18 19 20 |
# File 'lib/etna/clients/metis/models.rb', line 15 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 |