FileListResponse Class
- java.
lang. Object - com.
azure. ai. agents. persistent. models. FileListResponse
- com.
Implements
public final class FileListResponse
implements JsonSerializable<FileListResponse>
The response data from a file list operation.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
File |
fromJson(JsonReader jsonReader)
Reads an instance of File |
|
List<File |
getData()
Get the data property: The files returned for the request. |
| String |
getObject()
Get the object property: The object type, which is always 'list'. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static FileListResponse fromJson(JsonReader jsonReader)
Reads an instance of FileListResponse from the JsonReader.
Parameters:
Returns:
Throws:
getData
public List<FileInfo> getData()
Get the data property: The files returned for the request.
Returns:
getObject
public String getObject()
Get the object property: The object type, which is always 'list'.
Returns: