目录

Class info
public final class CommentList extends GenericJson
CommentList entity and file permission class.

Public Constructor Summary

Constructor name

CommentList() 

Constructor for the CommenList class.

Public Method Summary

Return typeMethod name
CommentList

clone()

Clones a CommentList object.

String

getCategory()

Obtains the resource type, which is fixed at drive#commentList.

List<Comment>

getComments()

Obtains the comment list. If nextCursor has a value, not all records of the list are returned. The query needs to continue.

String

getNextCursor()

Obtains the next page cursor for query. If an empty string is returned, there is no next page.

CommentList

set(String fieldName, Object value)

Sets the given field value for the given field name.

CommentList

setCategory(String category)

Sets the resource type, which is fixed at drive#commentList.

String

setComments(List<Comment> comments)

Sets a comment list.

CommentList

setNextCursor(String nextCursor)

Sets the next page cursor for query. If nextCursor is empty, there is no next page.

Public Constructors

constructor
CommentList()
Constructs a CommentList object.

Public Methods

Method
public CommentList clone()
Clones an CommentList object.

Return

typedesc
CommentListA CommentList object.
Method


public String getCategory()

Obtains the resource type, which is fixed at drive#commentList.

Return

typedesc
StringResource type, which is fixed at drive#commentList.
Method


public List<Comment> getComments()

Obtains the comment list. If nextCursor has a value, not all records of the list are returned. The query needs to continue.

Return

typedesc
List<Comment>Comment list. If nextCursor has a value, not all records of the list are returned. The query needs to continue.
Method


public String getNextCursor()

Obtains the next page cursor for query. If nextCursor is empty, there is no next page.

Return

typedesc
StringNext page cursor for query. If an empty string is returned, there is no next page.
Method


public CommentList set(String fieldName, Object value)

Sets the given field value for the given field name.

Parameters

Parameter nameParameter desc
fieldNameField name.
valueField value.

Return

typedesc
CommentListA CommentList object.
Method


public CommentList setCategory(String category)

Sets the resource type, which is fixed at drive#commentList.

Parameters

Parameter nameParameter desc
categoryResource type, which is fixed at drive#commentList.

Return

typedesc
CommentListA CommentList object.
Method


public CommentList setComments(List<Comment> comments)

Sets a comment list.

Parameters

Parameter nameParameter desc
commentsComment list.

Return

typedesc
CommentListA CommentList object.
Method


public CommentList setNextCursor(String nextCursor)

Sets the next page cursor for query. If an empty string is set, there is no next page.

Parameters

Parameter nameParameter desc
nextCursorNext page cursor for query.

Return

typedesc
CommentListA CommentList object.