Class: Etna::Clients::Metis::TouchFileRequest
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Metis::TouchFileRequest
- Includes:
- JsonSerializableStruct
- Defined in:
- lib/etna/clients/metis/models.rb
Instance Attribute Summary collapse
-
#bucket_name ⇒ Object
Returns the value of attribute bucket_name.
-
#file_path ⇒ Object
Returns the value of attribute file_path.
-
#project_name ⇒ Object
Returns the value of attribute project_name.
Instance Method Summary collapse
-
#initialize(**params) ⇒ TouchFileRequest
constructor
A new instance of TouchFileRequest.
- #to_h ⇒ Object
Methods included from JsonSerializableStruct
Constructor Details
#initialize(**params) ⇒ TouchFileRequest
Returns a new instance of TouchFileRequest.
104 105 106 |
# File 'lib/etna/clients/metis/models.rb', line 104 def initialize(**params) super({}.update(params)) end |
Instance Attribute Details
#bucket_name ⇒ Object
Returns the value of attribute bucket_name
101 102 103 |
# File 'lib/etna/clients/metis/models.rb', line 101 def bucket_name @bucket_name end |
#file_path ⇒ Object
Returns the value of attribute file_path
101 102 103 |
# File 'lib/etna/clients/metis/models.rb', line 101 def file_path @file_path end |
#project_name ⇒ Object
Returns the value of attribute project_name
101 102 103 |
# File 'lib/etna/clients/metis/models.rb', line 101 def project_name @project_name end |
Instance Method Details
#to_h ⇒ Object
108 109 110 111 112 113 |
# File 'lib/etna/clients/metis/models.rb', line 108 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 |