Class: Etna::Clients::Metis::ListFoldersRequest

Inherits:
Struct
  • Object
show all
Includes:
JsonSerializableStruct
Defined in:
lib/etna/clients/metis/models.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from JsonSerializableStruct

#as_json, included, #to_json

Constructor Details

#initialize(**params) ⇒ ListFoldersRequest

Returns a new instance of ListFoldersRequest.



10
11
12
# File 'lib/etna/clients/metis/models.rb', line 10

def initialize(**params)
  super({}.update(params))
end

Instance Attribute Details

#bucket_nameObject

Returns the value of attribute bucket_name

Returns:

  • (Object)

    the current value of bucket_name



7
8
9
# File 'lib/etna/clients/metis/models.rb', line 7

def bucket_name
  @bucket_name
end

#limitObject

Returns the value of attribute limit

Returns:

  • (Object)

    the current value of limit



7
8
9
# File 'lib/etna/clients/metis/models.rb', line 7

def limit
  @limit
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



7
8
9
# File 'lib/etna/clients/metis/models.rb', line 7

def offset
  @offset
end

#project_nameObject

Returns the value of attribute project_name

Returns:

  • (Object)

    the current value of project_name



7
8
9
# File 'lib/etna/clients/metis/models.rb', line 7

def project_name
  @project_name
end

Instance Method Details

#to_hObject



14
15
16
17
18
19
# File 'lib/etna/clients/metis/models.rb', line 14

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