public class Collection extends SerializableObject
Currently, the only collection available is the `favorites` collection.
The contents of a collection can be explored in a similar way to which the contents of a folder is explored.
| Modifier and Type | Class and Description |
|---|---|
static class |
Collection.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected EnumWrapper<CollectionCollectionTypeField> |
collectionType
The type of the collection.
|
protected String |
id
The unique identifier for this collection.
|
protected EnumWrapper<CollectionNameField> |
name
The name of the collection.
|
protected EnumWrapper<CollectionTypeField> |
type
The value will always be `collection`.
|
explicitlySetNullableFields| Modifier | Constructor and Description |
|---|---|
|
Collection() |
protected |
Collection(Collection.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
EnumWrapper<CollectionCollectionTypeField> |
getCollectionType() |
String |
getId() |
EnumWrapper<CollectionNameField> |
getName() |
EnumWrapper<CollectionTypeField> |
getType() |
int |
hashCode() |
String |
toString() |
getRawData, setRawDatagetExplicitlySetNullableFields, isFieldExplicitlySet, markNullableFieldAsSet, markNullableFieldsAsSetprotected EnumWrapper<CollectionTypeField> type
protected EnumWrapper<CollectionNameField> name
protected EnumWrapper<CollectionCollectionTypeField> collectionType
public Collection()
protected Collection(Collection.Builder builder)
public EnumWrapper<CollectionTypeField> getType()
public EnumWrapper<CollectionNameField> getName()
public EnumWrapper<CollectionCollectionTypeField> getCollectionType()