docs: public byte[] getThumbnail(ThumbnailFileType fileType, int minWidth, int minHeight, int maxWidth, int maxHeight) {
          QueryStringBuilder builder = new QueryStringBuilder();
          builder.appendParam("min_width", minWidth);
          builder.appendParam("min_height", minHeight);
          builder.appendParam("max_width", maxWidth);
          builder.appendParam("max_height", maxHeight);
  
          URLTemplate template;
          if (fileType == ThumbnailFileType.PNG) {
              template = GET_THUMBNAIL_PNG_TEMPLATE;
          } else if (fileType == ThumbnailFileType.JPG) {
              template = GET_THUMBNAIL_JPG_TEMPLATE;
          } else {
              throw new BoxAPIException("Unsupported thumbnail file type");
          }
          URL url = template.buildWithQuery(this.getAPI().getBaseURL(), builder.toString(), this.getID());
  
          BoxAPIRequest request = new BoxAPIRequest(this.getAPI(), url, "GET");
          BoxAPIResponse response = request.send();
  
          ByteArrayOutputStream thumbOut = new ByteArrayOutputStream();
          InputStream body = response.getBody();
          byte[] buffer = new byte[BUFFER_SIZE];
          try {
              int n = body.read(buffer);
              while (n != -1) {
                  thumbOut.write(buffer, 0, n);
                  n = body.read(buffer);
              }
          } catch (IOException e) {
              throw new BoxAPIException("Error reading thumbnail bytes from response body", e);
          } finally {
              response.disconnect();
          }
  
          return thumbOut.toByteArray();
      }