@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2023-05-18T04:52:40.966Z") public class UploadMetadata extends Object
Modifier and Type | Class and Description |
---|---|
static class |
UploadMetadata.CompletedByEnum
Currently the API has an endpoint for the client to call and mark an upload completed.
|
Constructor and Description |
---|
UploadMetadata() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getClientInfo()
Uploader's client info, in JSON format.
|
UploadMetadata.CompletedByEnum |
getCompletedBy()
Currently the API has an endpoint for the client to call and mark an upload completed.
|
DateTime |
getCompletedOn()
The date and time (ISO 8601 format) that the upload was completed.
|
Long |
getContentLength()
The size of the object in bytes.
|
String |
getContentMd5()
The base64-encoded, 128-bit MD5 digest of the upload.
|
String |
getContentType()
MIME content type.
|
String |
getFilename()
Name of the uploaded file.
|
String |
getHealthCode()
Health code of the user from which this upload originates from.
|
Object |
getMetadata()
Metadata fields for this upload, as submitted by the app.
|
DateTime |
getRequestedOn()
The date and time (ISO 8601 format) that the client requested an URL to make an upload to the server.
|
String |
getType()
Upload
|
LocalDate |
getUploadDate()
Calendar date the file was uploaded (specifically, the uploadComplete() call.
|
String |
getUploadId()
The GUID assigned to this upload.
|
String |
getUserAgent()
Participant's User-Agent header.
|
int |
hashCode() |
Boolean |
isEncrypted()
True if the upload is encrypted.
|
Boolean |
isZipped()
True if the upload is zipped.
|
void |
setUploadDate(LocalDate uploadDate) |
void |
setUserAgent(String userAgent) |
String |
toString() |
UploadMetadata |
uploadDate(LocalDate uploadDate) |
UploadMetadata |
userAgent(String userAgent) |
public String getUploadId()
public String getClientInfo()
public Long getContentLength()
public String getContentMd5()
public String getContentType()
public Boolean isEncrypted()
public String getFilename()
public String getHealthCode()
public Object getMetadata()
public DateTime getRequestedOn()
public DateTime getCompletedOn()
public UploadMetadata.CompletedByEnum getCompletedBy()
public UploadMetadata uploadDate(LocalDate uploadDate)
public LocalDate getUploadDate()
public void setUploadDate(LocalDate uploadDate)
public UploadMetadata userAgent(String userAgent)
public String getUserAgent()
public void setUserAgent(String userAgent)
public Boolean isZipped()
public String getType()
Copyright © 2023 Sage Bionetworks. All rights reserved.