public class FileBase extends SerializableObject
| Modifier and Type | Class and Description |
|---|---|
static class |
FileBase.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
etag
The HTTP `etag` of this file.
|
protected String |
id
The unique identifier that represent a file.
|
protected EnumWrapper<FileBaseTypeField> |
type
The value will always be `file`.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
protected |
FileBase(FileBase.Builder builder) |
|
FileBase(String id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getEtag() |
String |
getId() |
EnumWrapper<FileBaseTypeField> |
getType() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected final String id
The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`.
protected String etag
protected EnumWrapper<FileBaseTypeField> type
protected FileBase(FileBase.Builder builder)
public EnumWrapper<FileBaseTypeField> getType()