Class ResourceBase
- Namespace
- FoundationaLLM.Common.Models.ResourceProviders
- Assembly
- FoundationaLLM.Common.dll
Basic properties for all resources.
public class ResourceBase : ResourceName
- Inheritance
-
ResourceBase
- Derived
- Inherited Members
- Extension Methods
Properties
CostCenter
The cost center of the resource.
[JsonPropertyName("cost_center")]
[JsonPropertyOrder(-1)]
public string? CostCenter { get; set; }
Property Value
CreatedBy
The entity who created the resource.
[JsonPropertyName("created_by")]
[JsonPropertyOrder(502)]
public string? CreatedBy { get; set; }
Property Value
CreatedOn
The time at which the resource was created.
[JsonPropertyName("created_on")]
[JsonPropertyOrder(500)]
public DateTimeOffset CreatedOn { get; set; }
Property Value
Deleted
Indicates whether the resource has been logically deleted.
[JsonPropertyName("deleted")]
[JsonPropertyOrder(504)]
public virtual bool Deleted { get; set; }
Property Value
Description
The description of the resource.
[JsonPropertyName("description")]
[JsonPropertyOrder(-2)]
public string? Description { get; set; }
Property Value
DisplayName
The display name of the resource.
[JsonPropertyName("display_name")]
[JsonPropertyOrder(-3)]
public string? DisplayName { get; set; }
Property Value
ExpirationDate
The date and time on which the resource expires and is no longer usable.
[JsonPropertyName("expiration_date")]
[JsonPropertyOrder(505)]
public DateTimeOffset? ExpirationDate { get; set; }
Property Value
ObjectId
The unique identifier of the resource.
[JsonPropertyName("object_id")]
[JsonPropertyOrder(-4)]
public string? ObjectId { get; set; }
Property Value
Properties
Gets or sets the property bag for the resource.
[JsonPropertyName("properties")]
[JsonPropertyOrder(400)]
public Dictionary<string, string>? Properties { get; set; }
Property Value
UpdatedBy
The entity who last updated the resource.
[JsonPropertyName("updated_by")]
[JsonPropertyOrder(503)]
public string? UpdatedBy { get; set; }
Property Value
UpdatedOn
The time at which the resource was last updated.
[JsonPropertyName("updated_on")]
[JsonPropertyOrder(501)]
public DateTimeOffset UpdatedOn { get; set; }