public class BoxCommentRequestObject extends BoxDefaultRequestObject
| Modifier and Type | Method and Description |
|---|---|
static BoxCommentRequestObject |
addCommentRequestObject(BoxResourceType type,
String itemId,
String message)
A BoxCommentRequestObject for AddCommentRequest.
|
BoxCommentRequestObject |
setItem(BoxResourceType type,
String itemId)
Set the item to be commented.
|
BoxCommentRequestObject |
setMessage(String message)
Set the comment message.
|
static BoxCommentRequestObject |
updateCommentRequestObject(String message)
A BoxCommentRequestObject for UpdateCommentRequest.
|
addField, addFields, addHeader, addQueryParam, get, getEntity, getFields, getHeaders, getJSONEntity, getJSONParser, getQueryParams, put, put, put, setJSONParser, setPagepublic static BoxCommentRequestObject addCommentRequestObject(BoxResourceType type, String itemId, String message)
type - type of the item to be commenteditemId - id of the itemmessage - comment messagepublic static BoxCommentRequestObject updateCommentRequestObject(String message)
message - comment messagepublic BoxCommentRequestObject setMessage(String message)
message - comment messagepublic BoxCommentRequestObject setItem(BoxResourceType type, String itemId)
type - type of the itemitemId - id of the itemCopyright © 2014. All Rights Reserved.