FileEntry
@JsonIgnoreProperties(ignoreUnknown = true) public class FileEntry
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/model/FileEntry.java:22–72文件条目,与模型服务通信并返回生成或向量化结果。位于 io.agentscope.extensions.sandbox.kubernetes.client.model 包。核心成员包括 getName、setName、getSize、setSize、getType、setType。
A file or directory entry returned by the sandbox filesystem list API.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public FileEntry() | 初始化 `FileEntry` 实例。 Creates a new instance. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getName() | 获取名称。 Returns the name. |
public void setName(String name) | 设置名称。 Sets the name. |
public long getSize() | 获取大小。 Returns the size. |
public void setSize(long size) | 设置大小。 Sets the size. |
public String getType() | 获取类型。 Returns the type. |
public void setType(String type) | 设置类型。 Sets the type. |
public double getModTime() | 获取 `getModTime`。 Returns the mod time. |
public void setModTime(double modTime) | 设置 `setModTime`。 Sets the mod time. |
构造器详情Constructor Detail
FileEntry
public FileEntry()
初始化 FileEntry 实例。
Creates a new instance.
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/model/FileEntry.java:39方法详情Method Detail
getName
public String getName()
获取名称。
Returns the name.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/model/FileEntry.java:41–43setName
public void setName(String name)
设置名称。
Sets the name.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
name | String | 名称(类型 `String`)。The name. |
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/model/FileEntry.java:45–47getSize
public long getSize()
获取大小。
Returns the size.
long返回数值结果。Returns a numeric result.
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/model/FileEntry.java:49–51setSize
public void setSize(long size)
设置大小。
Sets the size.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
size | long | 大小(类型 `long`)。The size. |
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/model/FileEntry.java:53–55getType
public String getType()
获取类型。
Returns the type.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/model/FileEntry.java:57–59setType
public void setType(String type)
设置类型。
Sets the type.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
type | String | 类型(类型 `String`)。The type. |
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/model/FileEntry.java:61–63getModTime
public double getModTime()
获取 getModTime。
Returns the mod time.
double返回数值结果。Returns a numeric result.
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/model/FileEntry.java:65–67setModTime
public void setModTime(double modTime)
设置 setModTime。
Sets the mod time.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
modTime | double | mod 时间(类型 `double`)。The mod time. |
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/model/FileEntry.java:69–71