public class BulkUploadAuthRec extends Object
Constructor and Description |
---|
BulkUploadAuthRec(String url,
String jetFileId,
int expiresInSeconds)
Create a new BulkUploadAuth instance
|
Modifier and Type | Method and Description |
---|---|
static BulkUploadAuthRec |
fromJSON(javax.json.JsonObject json)
Create an instance of this from Jet json
|
Date |
getExpiresAt()
Local time this token expires at.
|
int |
getExpiresInSeconds()
Number of seconds the upload token is valid
|
String |
getJetFileId()
Get the Jet defined file id
|
String |
getUrl()
Get the url where the file should be uploaded
|
javax.json.JsonObject |
toJSON()
Turn this object into Jet Json
|
public static BulkUploadAuthRec fromJSON(javax.json.JsonObject json)
json
- Json to parsepublic javax.json.JsonObject toJSON()
public String getUrl()
public String getJetFileId()
public int getExpiresInSeconds()
public Date getExpiresAt()
Copyright © 2017. All rights reserved.