目录

Class info
public final class CommentList extends GenericJson
CommentList实体,文件权限类。

Public Constructor Summary

Constructor name

CommentList()  

CommentList类构造方法。

Public Method Summary

Return typeMethod name
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。

String

setComments(List<Comment> comments)

设置评论列表。

CommentList

setNextCursor(String nextCursor)

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

Public Constructors

constructor
CommentList()
构造一个CommentList对象 。

Public Methods

Method
public CommentList clone()
克隆一个CommentList对象。

Return

typedesc
CommentList返回CommentList对象。
Method


public String getCategory()

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

Return

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


public List<Comment> getComments()

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

Return

typedesc
List<Comment>评论列表,如果nextCursor有值,说明list没有查询完,需要继续查询。
Method


public String getNextCursor()

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

Return

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


public CommentList set(String fieldName, Object value)

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

Parameters

Parameter nameParameter desc
fieldName自定义属性。
value属性值。

Return

typedesc
CommentList返回CommentList对象。
Method


public CommentList setCategory(String category)

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

Parameters

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

Return

typedesc
CommentList返回CommentList对象。
Method


public CommentList setComments(List<Comment> comments)

设置评论列表。

Parameters

Parameter nameParameter desc
comments评论列表。

Return

typedesc
CommentList返回CommentList对象。
Method


public CommentList setNextCursor(String nextCursor)

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

Parameters

Parameter nameParameter desc
nextCursor下一个分页查询的起始页标记。

Return

typedesc
CommentList返回CommentList对象。