Table of Contents

Class ResourceProviderActionResult

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

Represents the result of executing a resource provider action.

public record ResourceProviderActionResult : IEquatable<ResourceProviderActionResult>
Inheritance
ResourceProviderActionResult
Implements
Derived
Inherited Members
Extension Methods

Constructors

ResourceProviderActionResult(string, bool, string?)

Represents the result of executing a resource provider action.

public ResourceProviderActionResult(string ObjectId, bool IsSuccess, string? ErrorMessage = null)

Parameters

ObjectId string

The object id to which the result refers to.

IsSuccess bool

Indicates whether the execution was completed successfully.

ErrorMessage string

When IsSuccess is false, contains an error message with details.

Properties

ErrorMessage

When IsSuccess is false, contains an error message with details.

[JsonPropertyName("error_message")]
public string? ErrorMessage { get; init; }

Property Value

string

IsSuccess

Indicates whether the execution was completed successfully.

[JsonPropertyName("is_success")]
public bool IsSuccess { get; init; }

Property Value

bool

ObjectId

The object id to which the result refers to.

[JsonPropertyName("object_id")]
public string ObjectId { get; init; }

Property Value

string