Class ContextCodeSessionFileUploadRecord
- Namespace
- FoundationaLLM.Common.Models.Context
- Assembly
- FoundationaLLM.Common.dll
Represents a file record.
public class ContextCodeSessionFileUploadRecord : ContextRecord
- Inheritance
-
ContextCodeSessionFileUploadRecord
- Inherited Members
- Extension Methods
Constructors
ContextCodeSessionFileUploadRecord()
Initializes a new instance of the ContextCodeSessionFileUploadRecord class.
public ContextCodeSessionFileUploadRecord()
ContextCodeSessionFileUploadRecord(string, string, Dictionary<string, bool>, UnifiedUserIdentity)
Initializes a new instance of the ContextCodeSessionFileUploadRecord class.
public ContextCodeSessionFileUploadRecord(string instanceId, string codeSessionId, Dictionary<string, bool> fileUploadSuccess, UnifiedUserIdentity userIdentity)
Parameters
instanceId
stringThe FoundationaLLM instance identifier.
codeSessionId
stringThe code session unique identifier.
fileUploadSuccess
Dictionary<string, bool>The dictionary with the file upload success status for each file.
userIdentity
UnifiedUserIdentityThe UnifiedUserIdentity providing details about the user identity.
Properties
CodeSessionId
Gets or sets the code session identifier
[JsonPropertyName("code_session_id")]
[JsonPropertyOrder(0)]
public string CodeSessionId { get; set; }
Property Value
FileUploadSuccess
Gets or sets the dictionary with the file upload success status for each file.
[JsonPropertyName("file_upload_success")]
[JsonPropertyOrder(1)]
public Dictionary<string, bool> FileUploadSuccess { get; set; }
Property Value
Type
Gets or sets the type of the context record.
[JsonPropertyName("type")]
[JsonPropertyOrder(-99)]
public override string Type { get; set; }