Class Info |
|---|
public class Drive.Replies extends java.lang.Object Drive.Replies类结构。 |
Qualifier and Type | Class Name and Description |
|---|---|
class | Drive.Replies.Create类声明。 |
class | Drive.Replies.Delete类声明。 |
class | Drive.Replies.Get类声明。 |
class | Drive.Replies.List类声明。 |
class | Drive.Replies.Update类声明。 |
Qualifier and Type | Method Name and Description |
|---|---|
create(String fileId, String commentId, Reply content) 回复评论。 | |
delete(String fileId, String commentId, String replyId) 删除评论的一条回复。 | |
get(String fileId, String commentId, String replyId) 通过ID获取回复。 | |
list(String fileId, String commentId) 列举该评论的所有回复。 | |
update(String fileId, String commentId, String replyId, Reply content) 更新评论的回复。 |
Method |
|---|
public Drive.Replies.Create create(String fileId, String commentId, Reply content) throws java.io.IOException 回复评论。 |
Parameters
Name | Description |
|---|---|
fileId | 回复评论的文件ID。 |
commentId | 回复的评论ID。 |
content | 文件评论的回复。 |
Throws
Name | Description |
|---|---|
java.io.IOException | 若接口调用异常,会返回IOException。您可以通过getMessage方法获取错误描述。 |
Returns
Type | Description |
|---|---|
Drive.Replies.Create | 返回一个Drive.Replies.Create对象。 |
Method |
|---|
public Drive.Replies.Delete delete(String fileId, String commentId, String replyId) throws java.io.IOException 删除评论的一条回复。 |
Parameters
Name | Description |
|---|---|
fileId | 文件ID。 |
commentId | 评论ID。 |
replyId | 评论回复ID。 |
Throws
Name | Description |
|---|---|
java.io.IOException | 若接口调用异常,会返回IOException。您可以通过getMessage方法获取错误描述。 |
Returns
Type | Description |
|---|---|
Drive.Replies.Delete | 返回一个Drive.Replies.Delete对象。 |
Method |
|---|
public Drive.Replies.Get get(String fileId, String commentId, String replyId) throws java.io.IOException 通过ID获取回复。 |
Parameters
Name | Description |
|---|---|
fileId | 文件ID。 |
commentId | 评论ID。 |
replyId | 评论回复ID。 |
Throws
Name | Description |
|---|---|
java.io.IOException | 若接口调用异常,会返回IOException。您可以通过getMessage方法获取错误描述。 |
Returns
Type | Description |
|---|---|
Drive.Replies.Get | 返回一个Drive.Replies.Get对象。 |
Method |
|---|
public Drive.Replies.List list(String fileId, String commentId) throws java.io.IOException 列举该评论的所有回复。 |
Parameters
Name | Description |
|---|---|
fileId | 回复评论的文件ID。 |
commentId | 评论ID。 |
Throws
Name | Description |
|---|---|
java.io.IOException | 若接口调用异常,会返回IOException。您可以通过getMessage方法获取错误描述。 |
Returns
Type | Description |
|---|---|
Drive.Replies.List | 返回一个Drive.Replies.List对象。 |
Method |
|---|
public Drive.Replies.Update update(String fileId, String commentId, String replyId, Reply content) throws java.io.IOException 更新评论的回复。 |
Parameters
Name | Description |
|---|---|
fileId | 回复评论的文件ID。 |
commentId | 评论ID。 |
replyId | 回复ID。 |
content | 文件评论的回复。 |
Throws
Name | Description |
|---|---|
java.io.IOException | 若接口调用异常,会返回IOException。您可以通过getMessage方法获取错误描述。 |
Returns
Type | Description |
|---|---|
Drive.Replies.Update | 返回一个Drive.Replies.Update对象。 |