We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.

HMS Core ReferencesDrive KitClient APIservices.drive.modelReply

Reply

Class info
public final class Reply extends GenericJson
Replies to a comment on a drive file.

Public Constructor Summary

Constructor name

Reply()  

Constructor for the Reply class.

Public Method Summary

Return typeMethod name
String

getOperate()

Obtains the operation of replying to a parent comment.

Reply

setOperate(String operate)

Sets the operation of replying to a parent comment.

User

getCreator()

Obtains the user who creates a reply.

Reply

setCreator(User creator)

Sets the user who creates a reply.

String

getDescription()

Obtains a reply in plain text format.

Reply

setDescription(String description)

Sets a reply in plain text format.

com.huawei.cloud.base.util.DateTime

getCreatedTime()

Obtains reply creation time in RFC 3339 format.

Reply

setCreatedTime(com.huawei.cloud.base.util.DateTime createdTime)

Sets reply creation time in RFC 3339 format.

Boolean

getDeleted()

Checks whether a reply is deleted.

Reply

setDeleted(Boolean deleted)

Sets whether a reply is deleted.

String

getHtmlDescription()

Obtains a reply in HTML format.

Reply

setHtmlDescription(String htmlDescription)

Sets a reply in HTML format.

String

getId()

Obtains the ID of a reply.

Reply

setId(String id)

Sets the ID of a reply.

String

getCategory()

Obtains the resource type.

Reply

setCategory(String category)

Sets the resource type.

com.huawei.cloud.base.util.DateTime

getEditedTime()

Obtains the last modification time of a reply.

Reply

setEditedTime(com.huawei.cloud.base.util.DateTime editedTime)

Sets the last modification time of a reply.

Reply

set(String fieldName, Object value)

Sets the given field value for the given field name.

Reply

clone()

Clones a Reply object.

Public Constructors

constructor
Reply()
Constructs a Reply object.

Public Methods

Method
public String getOperate()
Obtains the operation of replying to a parent comment.

Return

typedesc
StringOperation of replying to a parent comment.
Method


public Reply setOperate(String operate)

Sets the operation of replying to a parent comment.

Parameters

Parameter nameParameter desc
operateOperation of replying to a parent comment.

Return

typedesc
ReplyA Reply object.
Method


public User getCreator()

Obtains the user who creates a reply.

Return

typedesc
UserUser who creates a reply.
Method


public Reply setCreator(User creator)

Sets the user who creates a reply.

Parameters

Parameter nameParameter desc
creatorUser who creates a reply.

Return

typedesc
ReplyA Reply object.
Method


public String getDescription()

Obtains a reply in plain text format.

Return

typedesc
StringReply in plain text format.
Method


public Reply setDescription(String description)

Sets a reply in plain text format.

Parameters

Parameter nameParameter desc
descriptionReply in plain text format.

Return

typedesc
ReplyA Reply object.
Method


public com.huawei.cloud.base.util.DateTime getCreatedTime()

Obtains reply creation time in RFC 3339 format.

Return

typedesc
com.huawei.cloud.base.util.DateTimeReply creation time in RFC 3339 format.
Method


public Reply setCreatedTime(com.huawei.cloud.base.util.DateTime createdTime)

Sets reply creation time in RFC 3339 format.

Parameters

Parameter nameParameter desc
createdTimeReply creation time in RFC 3339 format.

Return

typedesc
ReplyA Reply object.
Method


public Boolean getDeleted()

Checks whether a reply is deleted.

Return

typedesc
BooleanIndicates whether a reply is deleted.
Method


public Reply setDeleted(Boolean deleted)

Sets whether a reply is deleted.

Parameters

Parameter nameParameter desc
deletedIndicates whether a reply is deleted.

Return

typedesc
ReplyA Reply object.
Method


public String getHtmlDescription()

Obtains a reply in HTML format.

Return

typedesc
StringReply in HTML format.
Method


public Reply setHtmlDescription(String htmlDescription)

Sets a reply in HTML format.

Parameters

Parameter nameParameter desc
htmlDescriptionReply in HTML format.

Return

typedesc
ReplyA Reply object.
Method


public String getId()

Obtains the ID of a reply.

Return

typedesc
StringID of a reply.
Method


public Reply setId(String id)

Sets the ID of a reply.

Parameters

Parameter nameParameter desc
idID of a reply.

Return

typedesc
ReplyA Reply object.
Method


public String getCategory()

Obtains the resource type.

Return

typedesc
StringResource type.
Method


public Reply setCategory(String category)

Sets the resource type.

Parameters

Parameter nameParameter desc
categoryResource type.

Return

typedesc
ReplyA Reply object.
Method


public com.huawei.cloud.base.util.DateTime getEditedTime()

Obtains the last modification time of a reply.

Return

typedesc
com.huawei.cloud.base.util.DateTimeLast modification time of a reply.
Method


public Reply setEditedTime(com.huawei.cloud.base.util.DateTime editedTime)

Sets the last modification time of a reply.

Parameters

Parameter nameParameter desc
editedTimeLast modification time of a reply.

Return

typedesc
ReplyA Reply object.
Method


public Reply 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
ReplyA Reply object.
Method


public Reply clone ()

Clones a Reply object.

Return

typedesc
ReplyA Reply object.
This page may contain third-party content. For details, click here.
Search in References
Enter a keyword.