public class CommentConversationResponse extends AssetConsumerOMASAPIResponse
| Constructor and Description |
|---|
CommentConversationResponse()
Default constructor
|
CommentConversationResponse(CommentConversationResponse template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
Comment |
getComment()
Return the root comment.
|
List<String> |
getCommentReplies()
Return the list of unique identifiers for the replies to the root comment.
|
int |
hashCode()
Return hash code for this object
|
void |
setComment(Comment comment)
Set up the root comment.
|
void |
setCommentReplies(List<String> commentReplies)
Set up the replies to the root comment.
|
String |
toString()
JSON-style toString
|
getExceptionClassName, getExceptionErrorMessage, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setExceptionClassName, setExceptionErrorMessage, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCodepublic CommentConversationResponse()
public CommentConversationResponse(CommentConversationResponse template)
template - object to copypublic Comment getComment()
public void setComment(Comment comment)
comment - comment text and typepublic List<String> getCommentReplies()
public void setCommentReplies(List<String> commentReplies)
commentReplies - list of guids that are replies to the root comment.public String toString()
toString in class AssetConsumerOMASAPIResponsepublic boolean equals(Object objectToCompare)
equals in class AssetConsumerOMASAPIResponseobjectToCompare - test objectpublic int hashCode()
hashCode in class AssetConsumerOMASAPIResponseCopyright © 2018 ODPi. All rights reserved.