public class CommentRequestBody extends AssetConsumerOMASAPIRequestBody
| Constructor and Description |
|---|
CommentRequestBody()
Default constructor
|
CommentRequestBody(CommentRequestBody template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
|
String |
getCommentText()
Return the comment content.
|
CommentType |
getCommentType()
Return the type of comment.
|
int |
hashCode()
Return hash code for this object
|
void |
setCommentText(String commentText)
Set up the comment content.
|
void |
setCommentType(CommentType commentType)
Set up the type of comment.
|
String |
toString()
JSON-style toString.
|
public CommentRequestBody()
public CommentRequestBody(CommentRequestBody template)
template - object to copypublic CommentType getCommentType()
public void setCommentType(CommentType commentType)
commentType - stringpublic String getCommentText()
public void setCommentText(String commentText)
commentText - text.public String toString()
toString in class AssetConsumerOMASAPIRequestBodypublic boolean equals(Object objectToCompare)
Copyright © 2018 ODPi. All rights reserved.