Table of Contents

Class ResourceObjectIdProperties

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

Defines the properties of a resource.

public class ResourceObjectIdProperties
Inheritance
ResourceObjectIdProperties
Inherited Members
Extension Methods

Properties

ObjectId

The unique identifier of the resource.

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

Property Value

string

Properties

Gets or sets a dictionary of properties.

[JsonPropertyName("properties")]
public Dictionary<string, object> Properties { get; set; }

Property Value

Dictionary<string, object>

Methods

HasObjectRole(string)

Indicates whether the resource has the specified object role.

public bool HasObjectRole(string role)

Parameters

role string

The object role being searched.

Returns

bool

true if the object role is present, false otherwise.