Class ResourceProviderGetResult<T>
- Namespace
- FoundationaLLM.Common.Models.ResourceProviders
- Assembly
- FoundationaLLM.Common.dll
Represents the result of a fetch operation.
public class ResourceProviderGetResult<T> where T : ResourceBase
Type Parameters
T
- Inheritance
-
ResourceProviderGetResult<T>
- Inherited Members
- Extension Methods
Properties
Actions
Gets or sets the list of authorizable actions assigned directly or indirectly to the resource.
[JsonPropertyName("actions")]
public required List<string> Actions { get; set; }
Property Value
Resource
Gets or sets the resource resulting from the fetch operation.
[JsonPropertyName("resource")]
public required T Resource { get; set; }
Property Value
- T
Roles
Gets or sets the list of roles assigned directly or indirectly to the resource.
[JsonPropertyName("roles")]
public required List<string> Roles { get; set; }