public static class BoxRequestsComment.UpdateComment extends BoxRequest<BoxComment,BoxRequestsComment.UpdateComment>
BoxRequest.BoxRequestHandler<R extends BoxRequest>, BoxRequest.ContentTypes, BoxRequest.MethodsJSON_OBJECT, mBodyMap, mContentType, mHeaderMap, mListener, mQueryMap, mRequestMethod, mRequestUrlString, mSession| Constructor and Description |
|---|
BoxRequestsComment.UpdateComment(java.lang.String id,
java.lang.String message,
java.lang.String requestUrl,
BoxSession session)
Creates an update comment request with the default parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getId()
Gets the id of the comment to be updated in the request
|
java.lang.String |
getMessage()
Gets the message currently set as the new message for the comment in the update request
|
BoxRequestsComment.UpdateComment |
setMessage(java.lang.String message) |
buildUrl, createHttpRequest, createQuery, getIfMatchEtag, getIfNoneMatchEtag, getRequestHandler, getSession, getStringBody, importRequestContentMapsFrom, logDebug, logRequest, parseHashMapEntry, parseJsonObject, send, setBody, setContentType, setHeaders, setIfMatchEtag, setIfNoneMatchEtag, setRequestHandler, setTimeOut, toTaskpublic BoxRequestsComment.UpdateComment(java.lang.String id,
java.lang.String message,
java.lang.String requestUrl,
BoxSession session)
id - id of the comment to update information onrequestUrl - URL of the update comment endpointsession - the authenticated session that will be used to make the request withpublic java.lang.String getId()
public java.lang.String getMessage()
public BoxRequestsComment.UpdateComment setMessage(java.lang.String message)