public class BoxComment extends BoxResource
Modifier and Type | Class and Description |
---|---|
class |
BoxComment.Info
Contains information about a BoxComment.
|
Constructor and Description |
---|
BoxComment(BoxAPIConnection api,
String id)
Constructs a BoxComment for a comment with a given ID.
|
Modifier and Type | Method and Description |
---|---|
BoxComment.Info |
changeMessage(String newMessage)
Changes the message of this comment.
|
void |
delete()
Deletes this comment.
|
BoxComment.Info |
getInfo()
Gets information about this comment.
|
BoxComment.Info |
reply(String message)
Replies to this comment with another message.
|
equals, getAPI, getID, hashCode
public BoxComment(BoxAPIConnection api, String id)
api
- the API connection to be used with the comment.id
- the ID of the comment.public BoxComment.Info getInfo()
public BoxComment.Info changeMessage(String newMessage)
newMessage
- the new message for this comment.public BoxComment.Info reply(String message)
message
- the message for the reply.public void delete()