Class: module:model/ObjectS3Upload

module:model/ObjectS3Upload(theData, obj)

new module:model/ObjectS3Upload(theData, obj)

Constructs a new ObjectS3Upload. Object json response

Parameters:
Name Type Description
theData Object

The plain JavaScript object bearing properties of interest.

obj module:model/ObjectS3Upload

Optional instance to populate.

Source:

Members

(static) constructFromObject

Constructs a ObjectS3Upload from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Source:

(inner) params :Object

The values for the updatable params that were used in the creation of the returned S3 signed URL (Content-Type, Content-Disposition & Cache-Control).

Type:
  • Object
Source:

(inner) sha1 :String

The calculated sha1 of the object if available.

Type:
  • String
Source:

(inner) size :Integer

OThe object size in bytes.

Type:
  • Integer
Source:

(inner) status :String

Indicates the status of the object. Possible values are:

  • complete - raw uploads or merged resumable uploads
  • chunked - unmerged resumable uploads and public-resource-fallback = false
  • fallback - unmerged resumable uploads and public-resource-fallback = true
Type:
  • String
Source:

(inner) url :String

The S3 signed URL to download from. This attribute is returned when the value of the status attribute is complete or fallback (in which case the URL will be an OSS Signed URL instead of an S3 signed URL).

Type:
  • String
Source:

(inner) urls :Object

A map of S3 signed URLs where each key correspond to a specific byte range chunk. This attribute is returned when the value of the status attribute is chunked.

Type:
  • Object
Source: