Class ResourceProviderUpsertResult<T>
- Namespace
 - FoundationaLLM.Common.Models.ResourceProviders
 
- Assembly
 - FoundationaLLM.Common.dll
 
Represents the typed result of an upsert operation.
public class ResourceProviderUpsertResult<T> : ResourceProviderUpsertResult where T : ResourceBase
  Type Parameters
T
- Inheritance
 - 
      
      
      ResourceProviderUpsertResult<T>
 
- Derived
 
- Inherited Members
 
- Extension Methods
 
Properties
Resource
Gets or sets the resource resulting from the upsert operation.
[JsonPropertyName("resource")]
public T? Resource { get; set; }
  Property Value
- T
 
Remarks
Each resource provider will decide whether to return the resource in the upsert result or not.
Methods
ToActionResult()
Converts the upsert result to an action result.
public ResourceProviderActionResult<T> ToActionResult()
  Returns
- ResourceProviderActionResult<T>
 The action result created from the upsert result.