public static class BoxRequestsComment.AddReplyComment extends BoxRequestItem<E,R>
BoxRequest.BoxRequestHandler, BoxRequest.ContentTypes, BoxRequest.MethodsmIdmBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mSession| Constructor and Description |
|---|
BoxRequestsComment.AddReplyComment(java.lang.String itemId,
java.lang.String message,
java.lang.String requestUrl,
BoxSession session)
Creates an add reply comment request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getItemId()
Returns the id of the item currently set in the request to add a comment to.
|
java.lang.String |
getItemType()
Returns the type of item used in the request to add a comment to.
|
java.lang.String |
getMessage()
Returns the message that is currently set in the request for the new comment.
|
protected R |
setItemId(java.lang.String id)
Sets the id of the item used in the request to add a comment to.
|
protected R |
setItemType(java.lang.String type)
Sets the type of item used in the request to add a comment to.
|
R |
setMessage(java.lang.String message)
Sets the message used in the request to create a new comment.
|
getId, setFieldsbuildUrl, createHttpRequest, createQuery, getIfMatchEtag, getIfNoneMatchEtag, getRequestHandler, getSession, getStringBody, importRequestContentMapsFrom, logDebug, parseHashMapEntry, parseJsonObject, send, setBody, setContentType, setHeaders, setIfMatchEtag, setIfNoneMatchEtag, setRequestHandler, setTimeOut, toTaskpublic BoxRequestsComment.AddReplyComment(java.lang.String itemId,
java.lang.String message,
java.lang.String requestUrl,
BoxSession session)
itemId - id of the comment to add a comment tomessage - message of the new commentrequestUrl - URL of the add comment endpointsession - the authenticated session that will be used to make the request withpublic java.lang.String getMessage()
public R setMessage(java.lang.String message)
message - message for the new comment.public java.lang.String getItemId()
protected R setItemId(java.lang.String id)
id - id of the item to add a comment to.public java.lang.String getItemType()
protected R setItemType(java.lang.String type)
type - type of item used in the request. Must be "file", "comment", or "web_link".