public class CommentRequestBody extends ReferenceableRequestBody
additionalProperties, classifications, extendedProperties, meanings, qualifiedName, typeName| 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
|
boolean |
isPublic()
Return whether the feedback is private or not
|
void |
setCommentText(String commentText)
Set up the comment content.
|
void |
setCommentType(CommentType commentType)
Set up the type of comment.
|
void |
setPublic(boolean aPrivate)
Set up the privacy flag.
|
String |
toString()
JSON-style toString.
|
getAdditionalProperties, getClassifications, getExtendedProperties, getMeanings, getQualifiedName, getTypeName, setAdditionalProperties, setClassifications, setExtendedProperties, setMeanings, setQualifiedName, setTypeNamepublic CommentRequestBody()
public CommentRequestBody(CommentRequestBody template)
template - object to copypublic boolean isPublic()
public void setPublic(boolean aPrivate)
aPrivate - booleanpublic CommentType getCommentType()
public void setCommentType(CommentType commentType)
commentType - stringpublic String getCommentText()
public void setCommentText(String commentText)
commentText - text.public String toString()
toString in class ReferenceableRequestBodypublic boolean equals(Object objectToCompare)
equals in class ReferenceableRequestBodyobjectToCompare - object to comparepublic int hashCode()
hashCode in class ReferenceableRequestBodyCopyright © 2018–2020 ODPi. All rights reserved.