目录

Drive.Replies

Class Info

public class Drive.Replies extends java.lang.Object

Drive.Replies类结构。

Nested Class Summary

Qualifier and Type

Class Name and Description

class

Drive.Replies.Create

Drive.Replies.Create类声明。

class

Drive.Replies.Delete

Drive.Replies.Delete类声明。

class

Drive.Replies.Get

Drive.Replies.Get类声明。

class

Drive.Replies.List

Drive.Replies.List类声明。

class

Drive.Comments.Update

Drive.Replies.Update类声明。

Public Constructor Summary

Constructor Name

Drive.Replies()

Drive.Replies构造方法。

Public Method Summary

Qualifier and Type

Method Name and Description

Drive.Replies.Create

create(String fileId, String commentId, Reply content)

回复评论。

Drive.Replies.Delete

delete(String fileId, String commentId, String replyId)

删除评论的一条回复。

Drive.Replies.Get

get(String fileId, String commentId, String replyId)

通过ID获取回复。

Drive.Replies.List

list(String fileId, String commentId)

列举该评论的所有回复。

Drive.Replies.Update

update(String fileId, String commentId, String replyId, Reply content)

更新评论的回复。

Public Constructors

[h2]Drive.Replies

Constructor

public Drive.Replies()

构造一个Drive.Replies类对象。

Public Methods

[h2]create

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对象。

[h2]delete

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对象。

[h2]get

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对象。

[h2]list

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对象。

[h2]update

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对象。