Class Info |
|---|
public final class FileList extends GenericJson File类对象列表类。 |
Qualifier and Type | Method Name and Description |
|---|---|
clone() 克隆一个FileList类对象。 | |
String | 获取资源类型。 |
List<File> | getFiles() 获取文件列表。 |
String | 获取分页游标。 |
Boolean | 获取是否查询结束。 |
set(String fieldName, Object value) 设置自定义属性及属性值。 | |
setCategory(String category) 设置资源类型,固定值drive#fileList。 | |
| 设置文件列表。 | |
setNextCursor(String nextCursor) 设置分页游标。 | |
setSearchCompleted(Boolean searchCompleted) 设置是否查询结束。 |
Method |
|---|
public String getCategory() |
获取资源类型,固定值drive#fileList。 |
Returns
Type | Description |
|---|---|
String | 资源类型,固定值drive#fileList。 |
Method |
|---|
public FileList setCategory(String category) 设置资源类型,固定值drive#fileList。 |
Parameters
Name | Description |
|---|---|
category | 资源类型,固定值drive#fileList。 |
Returns
Type | Description |
|---|---|
FileList | 返回一个FileList对象。 |
Method |
|---|
public FileList setFiles(List<File> files) 设置文件列表。 |
Parameters
Name | Description |
|---|---|
files | 文件列表。 |
Returns
Type | Description |
|---|---|
FileList | 返回一个FileList对象。 |
Method |
|---|
public String getNextCursor() 获取分页游标。 |
Returns
Type | Description |
|---|---|
String | 分页游标。 |
Method |
|---|
public FileList setNextCursor(String nextCursor) 设置分页游标。 |
Parameters
Name | Description |
|---|---|
nextCursor | 分页游标。 |
Returns
Type | Description |
|---|---|
FileList | 返回一个FileList对象。 |
Method |
|---|
public Boolean getSearchCompleted() 获取是否查询结束。 |
Returns
Type | Description |
|---|---|
Boolean | 返回是否查询结束。 |
Method |
|---|
public FileList setSearchCompleted(Boolean searchCompleted) 设置是否查询结束。 |
Parameters
Name | Description |
|---|---|
searchCompleted | 是否查询结束。 |
Returns
Type | Description |
|---|---|
FileList | 返回一个FileList对象。 |