public class FileResponse extends Object
https://beta.openai.com/docs/api-reference/files
| Modifier and Type | Field and Description |
|---|---|
private Long |
bytes
文件大小(以字节为单位)
File size in bytes.
|
private Long |
createdAt
创建时间(以秒为单位的纪元时间)
The creation time in epoch seconds.
|
private String |
filename
文件名
The name of the file.
|
private String |
id
文件的唯一ID
The unique id of this file.
|
private String |
object
返回的对象类型,应为 "file"
The type of object returned, should be "file".
|
private String |
purpose
文件用途的描述
Description of the file's purpose.
|
private String |
status
文件的当前状态,可以是 uploaded, processed, pending, error, deleting 或 deleted
The current status of the file, which can be either uploaded, processed, pending, error, deleting or deleted.
|
private String |
statusDetails
文件状态的附加详细信息
如果文件处于错误状态,这将包括描述错误的消息
Additional details about the status of the file.
|
| Constructor and Description |
|---|
FileResponse() |
private String id
private String object
private Long bytes
private Long createdAt
private String filename
private String purpose
private String status
private String statusDetails
Copyright © 2024. All rights reserved.