[SDK reference](../../index.md) / [Models](../index.md) / [Databases](index.md)

# ValkeyKeyValue

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Databases`  

One key's value, cut to a preview.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `KeyName` | `string?` | `keyName` | The key's name. |
| `Length` | `long?` | `length` | The number of elements in a collection or characters in a string. |
| `Preview` | `List<string>?` | `preview` | The first elements (at most 50) or the first 4 KiB of a string, as text. For a hash, element `i` is `field`, element `i+1` its value. |
| `SizeBytes` | `long?` | `sizeBytes` | The sizeBytes property |
| `Truncated` | `bool?` | `truncated` | True when the value is longer than the preview. |
| `TtlSeconds` | `long?` | `ttlSeconds` | The ttlSeconds property |
| `Type` | `string?` | `type` | The type property |
