Class Info |
|---|
public final class CommentList extends GenericJson CommentList实体,文件权限类。 |
Qualifier and Type |
Method Name and Description |
|---|---|
clone() 克隆一个CommentList类对象。 |
|
String |
获取资源类型的标识,固定值:drive#commentList。 |
List<Comment> |
获取评论列表,如果nextCursor有值,说明list没有查询完,需要继续查询。 |
String |
获取下一个分页查询的起始页标记,为空表示最后一页。 |
set(String fieldName, Object value) 设置自定义属性及属性值。 |
|
setCategory(String category) 设置资源类型的标识,固定值:drive#commentList。 |
|
setComments(List<Comment> comments) 设置评论列表。 |
|
setNextCursor(String nextCursor) 设置下一个分页查询的起始页标记,为空表示最后一页。 |
Method |
|---|
public CommentList clone() 克隆一个CommentList对象。 |
Returns
Type |
Description |
|---|---|
CommentList |
返回CommentList对象。 |
Method |
|---|
public String getCategory() 获取资源类型的标识,固定值:drive#commentList。 |
Returns
Type |
Description |
|---|---|
String |
资源类型的标识,固定值:drive#commentList。 |
Method |
|---|
public List<Comment> getComments() 获取评论列表,如果nextCursor有值,说明list没有查询完,需要继续查询。 |
Returns
Type |
Description |
|---|---|
List<Comment> |
评论列表,如果nextCursor有值,说明list没有查询完,需要继续查询。 |
Method |
|---|
public String getNextCursor() 获取下一个分页查询的起始页标记,为空表示最后一页。 |
Returns
Type |
Description |
|---|---|
String |
返回下一个分页查询的起始页标记,为空表示最后一页。 |
Method |
|---|
public CommentList set(String fieldName, Object value) 设置自定义属性及属性值。 |
Parameters
Name |
Description |
|---|---|
fieldName |
自定义属性。 |
value |
属性值。 |
Returns
Type |
Description |
|---|---|
CommentList |
返回CommentList对象。 |
Method |
|---|
public CommentList setCategory(String category) 设置资源类型的标识,固定值:drive#commentList。 |
Parameters
Name |
Description |
|---|---|
category |
资源类型的标识,固定值:drive#commentList。 |
Returns
Type |
Description |
|---|---|
CommentList |
返回CommentList对象。 |