Class: Etna::Clients::Metis::UploadStartRequest

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(args) ⇒ UploadStartRequest

Returns a new instance of UploadStartRequest.



378
379
380
# File 'lib/etna/clients/metis/models.rb', line 378

def initialize(args)
  super({ action: UploadAction::START }.update(args))
end

Instance Attribute Details

#actionObject

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



375
376
377
# File 'lib/etna/clients/metis/models.rb', line 375

def action
  @action
end

#file_sizeObject

Returns the value of attribute file_size

Returns:

  • (Object)

    the current value of file_size



375
376
377
# File 'lib/etna/clients/metis/models.rb', line 375

def file_size
  @file_size
end

#metis_uidObject

Returns the value of attribute metis_uid

Returns:

  • (Object)

    the current value of metis_uid



375
376
377
# File 'lib/etna/clients/metis/models.rb', line 375

def metis_uid
  @metis_uid
end

#next_blob_hashObject

Returns the value of attribute next_blob_hash

Returns:

  • (Object)

    the current value of next_blob_hash



375
376
377
# File 'lib/etna/clients/metis/models.rb', line 375

def next_blob_hash
  @next_blob_hash
end

#next_blob_sizeObject

Returns the value of attribute next_blob_size

Returns:

  • (Object)

    the current value of next_blob_size



375
376
377
# File 'lib/etna/clients/metis/models.rb', line 375

def next_blob_size
  @next_blob_size
end

#resetObject

Returns the value of attribute reset

Returns:

  • (Object)

    the current value of reset



375
376
377
# File 'lib/etna/clients/metis/models.rb', line 375

def reset
  @reset
end

#upload_pathObject

Returns the value of attribute upload_path

Returns:

  • (Object)

    the current value of upload_path



375
376
377
# File 'lib/etna/clients/metis/models.rb', line 375

def upload_path
  @upload_path
end