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
ObjectIdstringThe object id to which the result refers to.
IsSuccessboolIndicates whether the execution was completed successfully.
ErrorMessagestringWhen 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
IsSuccess
Indicates whether the execution was completed successfully.
[JsonPropertyName("is_success")]
public bool IsSuccess { get; init; }
  Property Value
ObjectId
The object id to which the result refers to.
[JsonPropertyName("object_id")]
public string ObjectId { get; init; }