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