ProjectsAgentsModelFactory.CandidateFileInfo(String, String, Int64) Method

Definition

File entry in a candidate's blob directory.

public static Azure.AI.Projects.Agents.CandidateFileInfo CandidateFileInfo(string path = default, string type = default, long sizeBytes = 0);
static member CandidateFileInfo : string * string * int64 -> Azure.AI.Projects.Agents.CandidateFileInfo
Public Shared Function CandidateFileInfo (Optional path As String = Nothing, Optional type As String = Nothing, Optional sizeBytes As Long = 0) As CandidateFileInfo

Parameters

path
String

Relative path of the file.

type
String

File type category (e.g. 'config', 'results').

sizeBytes
Int64

File size in bytes.

Returns

A new CandidateFileInfo instance for mocking.

Applies to