public class

Comment

extends Entity
java.lang.Object
   ↳ org.mule.modules.box.model.Entity
     ↳ org.mule.modules.box.model.Comment

Class Overview

Comments are messages generated by Box users. Each message is tied to specific files or discussions. You can create comments independently or create them as responses to other comments.

Summary

Constants
long serialVersionUID
[Expand]
Inherited Constants
From class org.mule.modules.box.model.Entity
Fields
private String createdAt The time this comment was created
private User createdBy object representing the author of the comment
private Boolean isReplyComment Whether or not this comment is a reply to another comment
private Item item The object this comment was placed on
private String message The comment text that the user typed
private String modifiedAt The time this comment was last modified
private String taggedMessage The string representing the comment text with @mentions included.
[Expand]
Inherited Fields
From class org.mule.modules.box.model.Entity
Public Constructors
Comment()
Public Methods
String getCreatedAt()
User getCreatedBy()
Item getItem()
String getMessage()
String getModifiedAt()
String getTaggedMessage()
Boolean isReplyComment()
void setCreatedAt(String createdAt)
void setCreatedBy(User createdBy)
void setItem(Item item)
void setMessage(String message)
void setModifiedAt(String modifiedAt)
void setReplyComment(Boolean isReplyComment)
void setTaggedMessage(String taggedMessage)
[Expand]
Inherited Methods
From class org.mule.modules.box.model.Entity
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 7670402222846957689 (0x6a72be2ea128d879)

Fields

private String createdAt

The time this comment was created

private User createdBy

object representing the author of the comment

private Boolean isReplyComment

Whether or not this comment is a reply to another comment

private Item item

The object this comment was placed on

private String message

The comment text that the user typed

private String modifiedAt

The time this comment was last modified

private String taggedMessage

The string representing the comment text with @mentions included.

Public Constructors

public Comment ()

Public Methods

public String getCreatedAt ()

public User getCreatedBy ()

public Item getItem ()

public String getMessage ()

public String getModifiedAt ()

public String getTaggedMessage ()

public Boolean isReplyComment ()

public void setCreatedAt (String createdAt)

Parameters
createdAt

public void setCreatedBy (User createdBy)

Parameters
createdBy

public void setItem (Item item)

Parameters
item

public void setMessage (String message)

Parameters
message

public void setModifiedAt (String modifiedAt)

Parameters
modifiedAt

public void setReplyComment (Boolean isReplyComment)

Parameters
isReplyComment

public void setTaggedMessage (String taggedMessage)

Parameters
taggedMessage