Class FileReference
- Namespace
- FoundationaLLM.Common.Models.ResourceProviders
- Assembly
- FoundationaLLM.Common.dll
Contains a reference to a file.
public class FileReference : ResourceReference
- Inheritance
-
FileReference
- Derived
- Inherited Members
- Extension Methods
Properties
ContentType
The mime content type of the file.
public string ContentType { get; set; }
Property Value
Id
The unique identifier.
[JsonPropertyName("id")]
public required string Id { get; set; }
Property Value
OriginalFilename
The original file name of the file. This is useful because the resource name is generated by the system and may not be the same as the original file name.
public string OriginalFilename { get; set; }
Property Value
Size
The size of the file.
public long Size { get; set; }
Property Value
UPN
The UPN of the user who created the file.
[JsonPropertyName("upn")]
public string UPN { get; set; }