Class: Etna::Clients::Metis::TailBucketRequest
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Metis::TailBucketRequest
- Includes:
- JsonSerializableStruct
- Defined in:
- lib/etna/clients/metis/models.rb
Instance Attribute Summary collapse
-
#batch_end ⇒ Object
Returns the value of attribute batch_end.
-
#batch_start ⇒ Object
Returns the value of attribute batch_start.
-
#bucket_name ⇒ Object
Returns the value of attribute bucket_name.
-
#folder_id ⇒ Object
Returns the value of attribute folder_id.
-
#project_name ⇒ Object
Returns the value of attribute project_name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(**params) ⇒ TailBucketRequest
constructor
A new instance of TailBucketRequest.
- #to_h ⇒ Object
Methods included from JsonSerializableStruct
Constructor Details
#initialize(**params) ⇒ TailBucketRequest
Returns a new instance of TailBucketRequest.
164 165 166 |
# File 'lib/etna/clients/metis/models.rb', line 164 def initialize(**params) super({}.update(params)) end |
Instance Attribute Details
#batch_end ⇒ Object
Returns the value of attribute batch_end
161 162 163 |
# File 'lib/etna/clients/metis/models.rb', line 161 def batch_end @batch_end end |
#batch_start ⇒ Object
Returns the value of attribute batch_start
161 162 163 |
# File 'lib/etna/clients/metis/models.rb', line 161 def batch_start @batch_start end |
#bucket_name ⇒ Object
Returns the value of attribute bucket_name
161 162 163 |
# File 'lib/etna/clients/metis/models.rb', line 161 def bucket_name @bucket_name end |
#folder_id ⇒ Object
Returns the value of attribute folder_id
161 162 163 |
# File 'lib/etna/clients/metis/models.rb', line 161 def folder_id @folder_id end |
#project_name ⇒ Object
Returns the value of attribute project_name
161 162 163 |
# File 'lib/etna/clients/metis/models.rb', line 161 def project_name @project_name end |
#type ⇒ Object
Returns the value of attribute type
161 162 163 |
# File 'lib/etna/clients/metis/models.rb', line 161 def type @type end |
Instance Method Details
#to_h ⇒ Object
168 169 170 171 172 173 |
# File 'lib/etna/clients/metis/models.rb', line 168 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 |