}
@Override
public BoxCollaboration updateCollaboration(final String collabId, final BoxCollabRequestObject requestObject) throws BoxRestException,
AuthFatalFailureException, BoxServerException {
UpdateCollaborationRequest request = new UpdateCollaborationRequest(getConfig(), getJSONParser(), collabId, requestObject);
if (request.getExpectedResponseCode() == HttpStatus.SC_NO_CONTENT) {
executeRequestWithNoResponseBody(request);
return null;
}
return (BoxCollaboration) super.getResponseAndParseAndTryCast(request, BoxResourceType.COLLABORATION, getJSONParser());
}