public class BoxCommentRequestObject extends BoxDefaultRequestObject
| Modifier and Type | Method and Description |
|---|---|
static BoxCommentRequestObject |
addCommentRequestObject(IBoxType type,
java.lang.String itemId,
java.lang.String message)
A BoxCommentRequestObject to add a comment.
|
BoxCommentRequestObject |
setItem(IBoxType type,
java.lang.String itemId)
Set the item to be commented.
|
BoxCommentRequestObject |
setMessage(java.lang.String message)
Set the comment message.
|
static BoxCommentRequestObject |
updateCommentRequestObject(java.lang.String message)
A BoxCommentRequestEntity to update comment.
|
getFromEntity, getJSONEntity, getRequestExtras, put, setPagepublic static BoxCommentRequestObject addCommentRequestObject(IBoxType type, java.lang.String itemId, java.lang.String message)
type - type of the item to be commenteditemId - id of the itemmessage - comment messagepublic static BoxCommentRequestObject updateCommentRequestObject(java.lang.String message)
message - comment messagepublic BoxCommentRequestObject setMessage(java.lang.String message)
message - comment messagepublic BoxCommentRequestObject setItem(IBoxType type, java.lang.String itemId)
type - type of the itemitemId - id of the item