Class: Etna::Clients::Metis::UploadStartRequest
- Inherits:
-
Struct
- Object
- Struct
- Etna::Clients::Metis::UploadStartRequest
- Includes:
- JsonSerializableStruct
- Defined in:
- lib/etna/clients/metis/models.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#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.
-
#reset ⇒ Object
Returns the value of attribute reset.
-
#upload_path ⇒ Object
Returns the value of attribute upload_path.
Instance Method Summary collapse
-
#initialize(args) ⇒ UploadStartRequest
constructor
A new instance of UploadStartRequest.
Methods included from JsonSerializableStruct
Constructor Details
#initialize(args) ⇒ UploadStartRequest
Returns a new instance of UploadStartRequest.
291 292 293 |
# File 'lib/etna/clients/metis/models.rb', line 291 def initialize(args) super({ action: UploadAction::START }.update(args)) end |
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action
288 289 290 |
# File 'lib/etna/clients/metis/models.rb', line 288 def action @action end |
#file_size ⇒ Object
Returns the value of attribute file_size
288 289 290 |
# File 'lib/etna/clients/metis/models.rb', line 288 def file_size @file_size end |
#metis_uid ⇒ Object
Returns the value of attribute metis_uid
288 289 290 |
# File 'lib/etna/clients/metis/models.rb', line 288 def metis_uid @metis_uid end |
#next_blob_hash ⇒ Object
Returns the value of attribute next_blob_hash
288 289 290 |
# File 'lib/etna/clients/metis/models.rb', line 288 def next_blob_hash @next_blob_hash end |
#next_blob_size ⇒ Object
Returns the value of attribute next_blob_size
288 289 290 |
# File 'lib/etna/clients/metis/models.rb', line 288 def next_blob_size @next_blob_size end |
#reset ⇒ Object
Returns the value of attribute reset
288 289 290 |
# File 'lib/etna/clients/metis/models.rb', line 288 def reset @reset end |
#upload_path ⇒ Object
Returns the value of attribute upload_path
288 289 290 |
# File 'lib/etna/clients/metis/models.rb', line 288 def upload_path @upload_path end |