Class: Etna::Clients::Metis::TailBucketRequest

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

Returns the value of attribute batch_end

Returns:

  • (Object)

    the current value of batch_end



161
162
163
# File 'lib/etna/clients/metis/models.rb', line 161

def batch_end
  @batch_end
end

#batch_startObject

Returns the value of attribute batch_start

Returns:

  • (Object)

    the current value of batch_start



161
162
163
# File 'lib/etna/clients/metis/models.rb', line 161

def batch_start
  @batch_start
end

#bucket_nameObject

Returns the value of attribute bucket_name

Returns:

  • (Object)

    the current value of bucket_name



161
162
163
# File 'lib/etna/clients/metis/models.rb', line 161

def bucket_name
  @bucket_name
end

#folder_idObject

Returns the value of attribute folder_id

Returns:

  • (Object)

    the current value of folder_id



161
162
163
# File 'lib/etna/clients/metis/models.rb', line 161

def folder_id
  @folder_id
end

#project_nameObject

Returns the value of attribute project_name

Returns:

  • (Object)

    the current value of project_name



161
162
163
# File 'lib/etna/clients/metis/models.rb', line 161

def project_name
  @project_name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



161
162
163
# File 'lib/etna/clients/metis/models.rb', line 161

def type
  @type
end

Instance Method Details

#to_hObject



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