# Entry Entry is a class that represents an entry in the MarcSync API.
METHODS
## METHODS ### :getValues() Returns all values of the entry as [EntryData](../types/EntryData). ### :getValue(`key:` [string](https://www.lua.org/pil/2.4.html)) Returns the value of the specified key. ### :updateValues(`data:` [EntryData](../types/EntryData)) Updates the values of the entry with the specified data. :::caution Exceptions [InvalidAccessToken](../errors/Authorization#InvalidAccessToken) - Thrown when the `accessToken` is invalid.
[CollectionNotFound](../errors/Collection#CollectionNotFound) - Thrown when the collection does not exist.
[InvalidEntryData](../errors/Entry#InvalidEntryData) - Thrown when the [EntryData](../types/EntryData) is invalid. ::: ### :delete() Deletes the entry. :::caution Exceptions [InvalidAccessToken](../errors/Authorization#InvalidAccessToken) - Thrown when the `accessToken` is invalid.
[CollectionNotFound](../errors/Collection#CollectionNotFound) - Thrown when the collection does not exist.
:::