目录

CommentList

Class Info

public final class CommentList extends GenericJson

CommentList实体,文件权限类。

Public Constructor Summary

Constructor Name

CommentList()

CommentList类构造方法。

Public Method Summary

Qualifier and Type

Method Name and Description

CommentList

clone()

克隆一个CommentList类对象。

String

getCategory()

获取资源类型的标识,固定值:drive#commentList。

List<Comment>

getComments()

获取评论列表,如果nextCursor有值,说明list没有查询完,需要继续查询。

String

getNextCursor()

获取下一个分页查询的起始页标记,为空表示最后一页。

CommentList

set(String fieldName, Object value)

设置自定义属性及属性值。

CommentList

setCategory(String category)

设置资源类型的标识,固定值:drive#commentList。

CommentList

setComments(List<Comment> comments)

设置评论列表。

CommentList

setNextCursor(String nextCursor)

设置下一个分页查询的起始页标记,为空表示最后一页。

Public Constructors

[h2]CommentList

Constructor

CommentList()

构造一个CommentList对象。

Public Methods

[h2]clone

Method

public CommentList clone()

克隆一个CommentList对象。

Returns

Type

Description

CommentList

返回CommentList对象。

[h2]getCategory

Method

public String getCategory()

获取资源类型的标识,固定值:drive#commentList。

Returns

Type

Description

String

资源类型的标识,固定值:drive#commentList。

[h2]getComments

Method

public List<Comment> getComments()

获取评论列表,如果nextCursor有值,说明list没有查询完,需要继续查询。

Returns

Type

Description

List<Comment>

评论列表,如果nextCursor有值,说明list没有查询完,需要继续查询。

[h2]getNextCursor

Method

public String getNextCursor()

获取下一个分页查询的起始页标记,为空表示最后一页。

Returns

Type

Description

String

返回下一个分页查询的起始页标记,为空表示最后一页。

[h2]set

Method

public CommentList set(String fieldName, Object value)

设置自定义属性及属性值。

Parameters

Name

Description

fieldName

自定义属性。

value

属性值。

Returns

Type

Description

CommentList

返回CommentList对象。

[h2]setCategory

Method

public CommentList setCategory(String category)

设置资源类型的标识,固定值:drive#commentList。

Parameters

Name

Description

category

资源类型的标识,固定值:drive#commentList。

Returns

Type

Description

CommentList

返回CommentList对象。

[h2]setComments

Method

public CommentList setComments(List<Comment> comments)

设置评论列表。

Parameters

Name

Description

comments

评论列表。

Returns

Type

Description

CommentList

返回CommentList对象。

[h2]setNextCursor

Method

public CommentList setNextCursor(String nextCursor)

设置下一个分页查询的起始页标记,为空表示最后一页。

Parameters

Name

Description

nextCursor

下一个分页查询的起始页标记。

Returns

Type

Description

CommentList

返回CommentList对象。