Table of Contents

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 string

The FoundationaLLM instance identifier.

codeSessionId string

The code session unique identifier.

fileUploadSuccess Dictionary<string, bool>

The dictionary with the file upload success status for each file.

userIdentity UnifiedUserIdentity

The 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

string

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

Dictionary<string, bool>

Type

Gets or sets the type of the context record.

[JsonPropertyName("type")]
[JsonPropertyOrder(-99)]
public override string Type { get; set; }

Property Value

string