MemoryStoreUpdateResult 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.
Memory update result.
public class MemoryStoreUpdateResult : Azure.AI.AgentServer.Contracts.Generated.Common.IUtf8JsonSerializable, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryStoreUpdateResult>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.MemoryStore.MemoryStoreUpdateResult>
type MemoryStoreUpdateResult = class
interface IUtf8JsonSerializable
interface IJsonModel<MemoryStoreUpdateResult>
interface IPersistableModel<MemoryStoreUpdateResult>
Public Class MemoryStoreUpdateResult
Implements IJsonModel(Of MemoryStoreUpdateResult), IPersistableModel(Of MemoryStoreUpdateResult), IUtf8JsonSerializable
- Inheritance
-
MemoryStoreUpdateResult
- Implements
Constructors
| Name | Description |
|---|---|
| MemoryStoreUpdateResult() |
Initializes a new instance of MemoryStoreUpdateResult for deserialization. |
| MemoryStoreUpdateResult(IEnumerable<MemoryOperation>, MemoryStoreOperationUsage) |
Initializes a new instance of MemoryStoreUpdateResult. |
| MemoryStoreUpdateResult(IReadOnlyList<MemoryOperation>, MemoryStoreOperationUsage, IDictionary<String,BinaryData>) |
Initializes a new instance of MemoryStoreUpdateResult. |
Properties
| Name | Description |
|---|---|
| MemoryOperations |
A list of individual memory operations that were performed during the update. |
| Usage |
Usage statistics associated with the memory update operation. |
Methods
| Name | Description |
|---|---|
| DeserializeMemoryStoreUpdateResult(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IJsonModel<MemoryStoreUpdateResult>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
| IJsonModel<MemoryStoreUpdateResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
| IPersistableModel<MemoryStoreUpdateResult>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
| IPersistableModel<MemoryStoreUpdateResult>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
| IPersistableModel<MemoryStoreUpdateResult>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
| IUtf8JsonSerializable.Write(Utf8JsonWriter) | |