Class: Etna::Clients::Metis::ListFolderByIdRequest

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) ⇒ ListFolderByIdRequest

Returns a new instance of ListFolderByIdRequest.



74
75
76
# File 'lib/etna/clients/metis/models.rb', line 74

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



71
72
73
# File 'lib/etna/clients/metis/models.rb', line 71

def bucket_name
  @bucket_name
end

#folder_idObject

Returns the value of attribute folder_id

Returns:

  • (Object)

    the current value of folder_id



71
72
73
# File 'lib/etna/clients/metis/models.rb', line 71

def folder_id
  @folder_id
end

#project_nameObject

Returns the value of attribute project_name

Returns:

  • (Object)

    the current value of project_name



71
72
73
# File 'lib/etna/clients/metis/models.rb', line 71

def project_name
  @project_name
end

Instance Method Details

#to_hObject



78
79
80
81
82
83
# File 'lib/etna/clients/metis/models.rb', line 78

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