Share via


MemoryStoreDeleteScopeResponse Class

Definition

Response for deleting memories from a scope.

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

Constructors

Name Description
MemoryStoreDeleteScopeResponse()

Initializes a new instance of MemoryStoreDeleteScopeResponse for deserialization.

MemoryStoreDeleteScopeResponse(MemoryStoreDeleteScopeResponseObject, String, String, Boolean, IDictionary<String,BinaryData>)

Initializes a new instance of MemoryStoreDeleteScopeResponse.

MemoryStoreDeleteScopeResponse(String, String, Boolean)

Initializes a new instance of MemoryStoreDeleteScopeResponse.

Properties

Name Description
Deleted

Whether the deletion operation was successful.

Name

The name of the memory store.

Object

The object type. Always 'memory_store.scope.deleted'.

Scope

The scope from which memories were deleted.

Methods

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

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

IJsonModel<MemoryStoreDeleteScopeResponse>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MemoryStoreDeleteScopeResponse>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MemoryStoreDeleteScopeResponse>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MemoryStoreDeleteScopeResponse>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to