Class Info |
|---|
public final class CommentList extends GenericJson File permission class. |
Qualifier and Type | Method Name and Description |
|---|---|
clone() Clones a CommentList object. | |
String | Obtains the resource type. The value is always drive#commentList. |
List<Comment> | Obtains the comment list. If nextCursor has a value, the returned list is incomplete and the query needs to continue. |
String | Obtains the next page cursor for query. If nextCursor is empty, there is no next page. |
set(String fieldName, Object value) Sets a custom attribute and its value. | |
setCategory(String category) Sets the resource type. The value is always drive#commentList. | |
String | setComments(List<Comment> comments) Sets a comment list. |
setNextCursor(String nextCursor) Sets the next page cursor for query. If nextCursor is empty, there is no next page. |
Method |
|---|
public CommentList clone() Clones a CommentList object. |
Returns
Type | Description |
|---|---|
CommentList | A CommentList object. |
Method |
|---|
public String getCategory() Obtains the resource type. The value is always drive#commentList. |
Returns
Type | Description |
|---|---|
String | Resource type. The value is always drive#commentList. |
Method |
|---|
public List<Comment> getComments() Obtains the comment list. If nextCursor has a value, the returned list is incomplete and the query needs to continue. |
Returns
Type | Description |
|---|---|
List<Comment> | Comment list. If nextCursor has a value, the returned list is incomplete and 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. |
Returns
Type | Description |
|---|---|
String | Next page cursor for query. If nextCursor is empty, there is no next page. |
Method |
|---|
public CommentList set(String fieldName, Object value) Sets a custom attribute and its value. |
Parameters
Name | Description |
|---|---|
fieldName | Attribute name. |
value | Attribute value. |
Returns
Type | Description |
|---|---|
CommentList | A CommentList object. |
Method |
|---|
public CommentList setCategory(String category) Sets the resource type. The value is always drive#commentList. |
Parameters
Name | Description |
|---|---|
category | Resource type. The value is always drive#commentList. |
Returns
Type | Description |
|---|---|
CommentList | A CommentList object. |