Table of Contents

Class ResourceProviderUpsertResult

Namespace
FoundationaLLM.Common.Models.ResourceProviders
Assembly
FoundationaLLM.Common.dll

Represents the result of an upsert operation.

public class ResourceProviderUpsertResult
Inheritance
ResourceProviderUpsertResult
Derived
Inherited Members
Extension Methods

Properties

ObjectId

The id of the object that was created or updated.

public required string ObjectId { get; set; }

Property Value

string

Resource

Gets or sets the resource resulting from the upsert operation.

[JsonPropertyName("resource")]
public object? Resource { get; set; }

Property Value

object

Remarks

Each resource provider will decide whether to return the resource in the upsert result or not.

ResourceExists

A flag denoting whether the upserted resource already exists.

public required bool ResourceExists { get; set; }

Property Value

bool