# Class BSV::KVStore::Entry <a id="class-BSV-KVStore-Entry"></a>

**Inherits:** `Data`

An immutable KVStore entry returned from {Global#get}.

`token` is populated only when +include_token: true+ is passed to
<code>#get</code>. `history` is populated only when +history: true+ is passed
to <code>#get</code>.

## Attributes
### `controller` [R] <a id="attribute-i-controller"></a> <a id="controller-instance_method"></a>
Returns the value of attribute controller
- **@return** [Object] the current value of controller

### `history` [R] <a id="attribute-i-history"></a> <a id="history-instance_method"></a>
Returns the value of attribute history
- **@return** [Object] the current value of history

### `key` [R] <a id="attribute-i-key"></a> <a id="key-instance_method"></a>
Returns the value of attribute key
- **@return** [Object] the current value of key

### `protocol_id` [R] <a id="attribute-i-protocol_id"></a> <a id="protocol_id-instance_method"></a>
Returns the value of attribute protocol_id
- **@return** [Object] the current value of protocol_id

### `tags` [R] <a id="attribute-i-tags"></a> <a id="tags-instance_method"></a>
Returns the value of attribute tags
- **@return** [Object] the current value of tags

### `token` [R] <a id="attribute-i-token"></a> <a id="token-instance_method"></a>
Returns the value of attribute token
- **@return** [Object] the current value of token

### `value` [R] <a id="attribute-i-value"></a> <a id="value-instance_method"></a>
Returns the value of attribute value
- **@return** [Object] the current value of value

## Public Instance Methods
### `initialize(key:, value:, controller:, protocol_id:, tags:, token: = nil, history: = nil)` <a id="method-i-initialize"></a> <a id="initialize-instance_method"></a>
- **@return** [Entry] a new instance of Entry
