Class: Etna::Clients::Metis::UploadBlobRequest
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Metis::UploadBlobRequest
- Includes:
- MultipartSerializableNestedHash
- Defined in:
- lib/etna/clients/metis/models.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#blob_data ⇒ Object
Returns the value of attribute blob_data.
-
#current_byte_position ⇒ Object
Returns the value of attribute current_byte_position.
-
#file_size ⇒ Object
Returns the value of attribute file_size.
-
#metis_uid ⇒ Object
Returns the value of attribute metis_uid.
-
#next_blob_hash ⇒ Object
Returns the value of attribute next_blob_hash.
-
#next_blob_size ⇒ Object
Returns the value of attribute next_blob_size.
-
#upload_path ⇒ Object
Returns the value of attribute upload_path.
Instance Method Summary collapse
- #encode_multipart_content(base_key = '') ⇒ Object
-
#initialize(args) ⇒ UploadBlobRequest
constructor
A new instance of UploadBlobRequest.
Methods included from MultipartSerializableNestedHash
Constructor Details
#initialize(args) ⇒ UploadBlobRequest
Returns a new instance of UploadBlobRequest.
386 387 388 |
# File 'lib/etna/clients/metis/models.rb', line 386 def initialize(args) super({ action: UploadAction::BLOB }.update(args)) end |
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action
383 384 385 |
# File 'lib/etna/clients/metis/models.rb', line 383 def action @action end |
#blob_data ⇒ Object
Returns the value of attribute blob_data
383 384 385 |
# File 'lib/etna/clients/metis/models.rb', line 383 def blob_data @blob_data end |
#current_byte_position ⇒ Object
Returns the value of attribute current_byte_position
383 384 385 |
# File 'lib/etna/clients/metis/models.rb', line 383 def current_byte_position @current_byte_position end |
#file_size ⇒ Object
Returns the value of attribute file_size
383 384 385 |
# File 'lib/etna/clients/metis/models.rb', line 383 def file_size @file_size end |
#metis_uid ⇒ Object
Returns the value of attribute metis_uid
383 384 385 |
# File 'lib/etna/clients/metis/models.rb', line 383 def metis_uid @metis_uid end |
#next_blob_hash ⇒ Object
Returns the value of attribute next_blob_hash
383 384 385 |
# File 'lib/etna/clients/metis/models.rb', line 383 def next_blob_hash @next_blob_hash end |
#next_blob_size ⇒ Object
Returns the value of attribute next_blob_size
383 384 385 |
# File 'lib/etna/clients/metis/models.rb', line 383 def next_blob_size @next_blob_size end |
#upload_path ⇒ Object
Returns the value of attribute upload_path
383 384 385 |
# File 'lib/etna/clients/metis/models.rb', line 383 def upload_path @upload_path end |
Instance Method Details
#encode_multipart_content(base_key = '') ⇒ Object
390 391 392 |
# File 'lib/etna/clients/metis/models.rb', line 390 def encode_multipart_content(base_key = '') self.class.encode_multipart_content(to_h, base_key) end |