public class FileFullRepresentationsEntriesContentField extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
FileFullRepresentationsEntriesContentField.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
urlTemplate
The download URL that can be used to fetch the representation.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
FileFullRepresentationsEntriesContentField() |
protected |
FileFullRepresentationsEntriesContentField(FileFullRepresentationsEntriesContentField.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getUrlTemplate() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected String urlTemplate
This URL is a template and will require the `{+asset_path}` to be replaced by a path. In general, for unpaged representations it can be replaced by an empty string.
For paged representations, replace the `{+asset_path}` with the page to request plus the extension for the file, for example `1.pdf`.
When requesting the download URL the following additional query params can be passed along.
* `set_content_disposition_type` - Sets the `Content-Disposition` header in the API response with the specified disposition type of either `inline` or `attachment`. If not supplied, the `Content-Disposition` header is not included in the response.
* `set_content_disposition_filename` - Allows the application to define the representation's file name used in the `Content-Disposition` header. If not defined, the filename is derived from the source file name in Box combined with the extension of the representation.
public FileFullRepresentationsEntriesContentField()
protected FileFullRepresentationsEntriesContentField(FileFullRepresentationsEntriesContentField.Builder builder)