Class Info |
|---|
public final class Reply extends GenericJson File reply class. |
Qualifier and Type | Method Name and Description |
|---|---|
String | Obtains the operation of replying to a parent comment. |
setOperate(String operate) Sets the operation of replying to a parent comment. | |
User | Obtains the user who creates a reply. |
setCreator(User creator) Sets the user who creates a reply. | |
String | Obtains a reply in plain text format. |
setDescription(String description) Sets a reply in plain text format. | |
com.huawei.cloud.base.util.DateTime | Obtains reply creation time in RFC 3339 format. |
setCreatedTime(com.huawei.cloud.base.util.DateTime createdTime) Sets reply creation time in RFC 3339 format. | |
Boolean | Checks whether a reply is deleted. |
setDeleted(Boolean deleted) Sets whether a reply is deleted. | |
String | Obtains a reply in HTML format. |
setHtmlDescription(String htmlDescription) Sets a reply in HTML format. | |
String | getId() Obtains a reply ID. |
setId(String id) Sets a reply ID. | |
String | Obtains the resource type. |
setCategory(String category) Sets the resource type. | |
com.huawei.cloud.base.util.DateTime | Obtains the last modification time of a reply. |
setEditedTime(com.huawei.cloud.base.util.DateTime editedTime) Sets the last modification time of a reply. | |
set(String fieldName, Object value) Sets a custom attribute and its value. | |
clone() Clones a Reply object. |
Method |
|---|
public String getOperate() Obtains the operation of replying to a parent comment. |
Returns
Type | Description |
|---|---|
String | Operation of replying to a parent comment. |
Method |
|---|
public Reply setOperate(String operate) Sets the operation of replying to a parent comment. |
Parameters
Name | Description |
|---|---|
operate | Operation of replying to a parent comment. |
Returns
Type | Description |
|---|---|
Reply | A Reply object. |
Method |
|---|
public User getCreator() Obtains the user who creates a reply. |
Returns
Type | Description |
|---|---|
User | User who creates a reply. |
Method |
|---|
public Reply setCreator(User creator) Sets the user who creates a reply. |
Parameters
Name | Description |
|---|---|
creator | User who creates a reply. |
Returns
Type | Description |
|---|---|
Reply | A Reply object. |
Method |
|---|
public String getDescription() Obtains a reply in plain text format. |
Returns
Type | Description |
|---|---|
String | Reply in plain text format. |
Method |
|---|
public Reply setDescription(String description) Sets a reply in plain text format. |
Parameters
Name | Description |
|---|---|
description | Reply in plain text format. |
Returns
Type | Description |
|---|---|
Reply | A Reply object. |
Method |
|---|
public com.huawei.cloud.base.util.DateTime getCreatedTime() Obtains reply creation time in RFC 3339 format. |
Returns
Type | Description |
|---|---|
com.huawei.cloud.base.util.DateTime | Reply 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
Name | Description |
|---|---|
createdTime | Reply creation time in RFC 3339 format. |
Returns
Type | Description |
|---|---|
Reply | A Reply object. |
Method |
|---|
public Boolean getDeleted() Checks whether a reply is deleted. |
Returns
Type | Description |
|---|---|
Boolean | Whether a reply is deleted. |
Method |
|---|
public Reply setDeleted(Boolean deleted) Sets whether a reply is deleted. |
Parameters
Name | Description |
|---|---|
deleted | Whether a reply is deleted. |
Returns
Type | Description |
|---|---|
Reply | A Reply object. |
Method |
|---|
public String getHtmlDescription() Obtains a reply in HTML format. |
Returns
Type | Description |
|---|---|
String | Reply in HTML format. |
Method |
|---|
public Reply setHtmlDescription(String htmlDescription) Sets a reply in HTML format. |
Parameters
Name | Description |
|---|---|
htmlDescription | Reply in HTML format. |
Returns
Type | Description |
|---|---|
Reply | A Reply object. |
Method |
|---|
public String getId() Obtains a reply ID. |
Returns
Type | Description |
|---|---|
String | Reply ID. |
Method |
|---|
public Reply setId(String id) Sets a reply ID. |
Parameters
Name | Description |
|---|---|
id | Reply ID. |
Returns
Type | Description |
|---|---|
Reply | A Reply object. |
Method |
|---|
public String getCategory() Obtains the resource type. |
Returns
Type | Description |
|---|---|
String | Resource type. |
Method |
|---|
public Reply setCategory(String category) Sets the resource type. |
Parameters
Name | Description |
|---|---|
category | Resource type. |
Returns
Type | Description |
|---|---|
Reply | A Reply object. |
Method |
|---|
public com.huawei.cloud.base.util.DateTime getEditedTime() Obtains the last modification time of a reply. |
Returns
Type | Description |
|---|---|
com.huawei.cloud.base.util.DateTime | Last 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
Name | Description |
|---|---|
editedTime | Last modification time of a reply. |
Returns
Type | Description |
|---|---|
Reply | A Reply object. |