Share via


CreateMemoryStoreRequest Class

Definition

The CreateMemoryStoreRequest.

public class CreateMemoryStoreRequest : Azure.AI.AgentServer.Contracts.Generated.Common.IUtf8JsonSerializable, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.MemoryStore.CreateMemoryStoreRequest>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.MemoryStore.CreateMemoryStoreRequest>
type CreateMemoryStoreRequest = class
    interface IUtf8JsonSerializable
    interface IJsonModel<CreateMemoryStoreRequest>
    interface IPersistableModel<CreateMemoryStoreRequest>
Public Class CreateMemoryStoreRequest
Implements IJsonModel(Of CreateMemoryStoreRequest), IPersistableModel(Of CreateMemoryStoreRequest), IUtf8JsonSerializable
Inheritance
CreateMemoryStoreRequest
Implements

Constructors

Name Description
CreateMemoryStoreRequest()

Initializes a new instance of CreateMemoryStoreRequest for deserialization.

CreateMemoryStoreRequest(String, MemoryStoreDefinition)

Initializes a new instance of CreateMemoryStoreRequest.

CreateMemoryStoreRequest(String, String, IReadOnlyDictionary<String,String>, MemoryStoreDefinition, IDictionary<String,BinaryData>)

Initializes a new instance of CreateMemoryStoreRequest.

Properties

Name Description
Definition

The memory store definition. Please note MemoryStoreDefinition is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MemoryStoreDefaultDefinition.

Description

A human-readable description of the memory store.

Metadata

Arbitrary key-value metadata to associate with the memory store.

Name

The name of the memory store.

Methods

Name Description
DeserializeCreateMemoryStoreRequest(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<CreateMemoryStoreRequest>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CreateMemoryStoreRequest>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CreateMemoryStoreRequest>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CreateMemoryStoreRequest>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CreateMemoryStoreRequest>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to