ProjectsAgentsModelFactory.SessionDirectoryEntry Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A single entry in a directory listing.
public static Azure.AI.Projects.Agents.SessionDirectoryEntry SessionDirectoryEntry(string name = default, long size = 0, bool isDirectory = false, DateTimeOffset modifiedTime = default);
static member SessionDirectoryEntry : string * int64 * bool * DateTimeOffset -> Azure.AI.Projects.Agents.SessionDirectoryEntry
Public Shared Function SessionDirectoryEntry (Optional name As String = Nothing, Optional size As Long = 0, Optional isDirectory As Boolean = false, Optional modifiedTime As DateTimeOffset = Nothing) As SessionDirectoryEntry
Parameters
- name
- String
The name of the file or directory.
- size
- Int64
The size in bytes (0 for directories).
- isDirectory
- Boolean
Whether this entry is a directory.
- modifiedTime
- DateTimeOffset
The Unix timestamp (in seconds) when the file was last modified.
Returns
A new SessionDirectoryEntry instance for mocking.