public class GetContentRequest
extends java.lang.Object
Member Variable | Description |
Boolean error |
Equals true if error occured, false otherwise. Explained by errorName and errorDetails |
String ticket |
An authentication ticket for this request. |
String objectId |
The object id of the content to retrieve |
String [] fileExtention |
An array of file extensions to indicate what mimeType of the object to retrieve.
By default, this array consists of {"pdf", ".*"} , which indicates PDF is
preferred, then fall back to the native content. |
Constructor and Description |
---|
GetContentRequest() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getFileExtension() |
java.lang.String |
getObjectId() |
java.lang.String |
getTicket() |
void |
setFileExtension(java.lang.String[] fileExtension)
An array of content types to retrieve.
|
void |
setObjectId(java.lang.String objectId)
The object id of the content to retrieve.
|
void |
setTicket(java.lang.String ticket)
Set the authentication ticket for this request.
|
public java.lang.String getTicket()
public void setTicket(java.lang.String ticket)
ticket
- public java.lang.String getObjectId()
public void setObjectId(java.lang.String objectId)
objectId
- public java.lang.String[] getFileExtension()
public void setFileExtension(java.lang.String[] fileExtension)
{"pdf", ".*"}
, which indicates PDF is
preferred, then fall back to the native content.fileExtension
- an array of file extensions to retrieve