public class BoxComment extends BoxEntity
BoxEntity.BoxEntityCreatorBoxJsonObject.BoxJsonObjectCreator<E extends BoxJsonObject>| Modifier and Type | Field and Description |
|---|---|
static java.lang.String[] |
ALL_FIELDS |
static java.lang.String |
FIELD_CREATED_AT |
static java.lang.String |
FIELD_CREATED_BY |
static java.lang.String |
FIELD_IS_REPLY_COMMENT |
static java.lang.String |
FIELD_ITEM |
static java.lang.String |
FIELD_MESSAGE |
static java.lang.String |
FIELD_MODIFIED_AT |
static java.lang.String |
FIELD_TAGGED_MESSAGE |
static java.lang.String |
TYPE |
FIELD_ID, FIELD_ITEM_ID, FIELD_ITEM_TYPE, FIELD_TYPE| Constructor and Description |
|---|
BoxComment()
Constructs an empty BoxComment object.
|
BoxComment(com.eclipsesource.json.JsonObject jsonObject)
Constructs a BoxComment with the provided map values.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getCreatedAt()
Gets the time the comment was created.
|
BoxUser |
getCreatedBy()
Gets info about the user who created the comment.
|
java.lang.Boolean |
getIsReplyComment()
Gets whether or not the comment is a reply to another comment.
|
BoxItem |
getItem()
Gets info about the item this comment is attached to.
|
java.lang.String |
getMessage()
Gets the comment's message.
|
java.util.Date |
getModifiedAt()
Gets the time the comment was last modified.
|
java.lang.String |
getTaggedMessage()
Gets the comment's message.
|
addEntityType, createEntityFromJson, createEntityFromJson, getBoxJsonObjectCreator, getId, getTypeaddInJsonArray, addInJsonArray, createFromJson, createFromJson, equals, getBoxJsonObjectCreator, getPropertiesKeySet, getPropertyAsBoolean, getPropertyAsDate, getPropertyAsDouble, getPropertyAsFloat, getPropertyAsInt, getPropertyAsJsonArray, getPropertyAsJsonObject, getPropertyAsJsonObjectArray, getPropertyAsLong, getPropertyAsString, getPropertyAsStringArray, getPropertyAsStringHashSet, getPropertyValue, hashCode, parseJSONMember, remove, set, set, set, set, set, set, set, set, set, toJson, toJsonObjectpublic static final java.lang.String TYPE
public static final java.lang.String FIELD_IS_REPLY_COMMENT
public static final java.lang.String FIELD_MESSAGE
public static final java.lang.String FIELD_TAGGED_MESSAGE
public static final java.lang.String FIELD_CREATED_BY
public static final java.lang.String FIELD_CREATED_AT
public static final java.lang.String FIELD_ITEM
public static final java.lang.String FIELD_MODIFIED_AT
public static final java.lang.String[] ALL_FIELDS
public BoxComment()
public BoxComment(com.eclipsesource.json.JsonObject jsonObject)
jsonObject - represents a json object that correspends to this class.public java.lang.Boolean getIsReplyComment()
public java.lang.String getMessage()
public java.lang.String getTaggedMessage()
public BoxUser getCreatedBy()
public java.util.Date getCreatedAt()
public BoxItem getItem()
BoxFile or BoxBookmark.public java.util.Date getModifiedAt()