StateStoreItem Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A single key -> value record within a state store (spec §2, §4.2).
public class StateStoreItem : System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Core.Storage.StateStoreItem>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Core.Storage.StateStoreItem>
type StateStoreItem = class
interface IJsonModel<StateStoreItem>
interface IPersistableModel<StateStoreItem>
Public Class StateStoreItem
Implements IJsonModel(Of StateStoreItem), IPersistableModel(Of StateStoreItem)
- Inheritance
-
StateStoreItem
- Implements
Properties
| Name | Description |
|---|---|
| CreatedAt |
Gets the CreatedAt. |
| Etag |
Optimistic-concurrency token for this item; also echoed in the |
| Id |
Server-assigned, read-only. Not used for addressing (the |
| Key |
Logical key, unique within the store. May contain |
| Object |
Always |
| Tags |
Optional labels used to filter |
| UpdatedAt |
Gets the UpdatedAt. |
| Value |
Opaque JSON object; stored and returned verbatim. <= 1 MB serialized inline. To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
Methods
Operators
| Name | Description |
|---|---|
| Explicit(ClientResult to StateStoreItem) | |