code: public PagedResult<Attachment> listAllVersions(long sheetId, long attachmentId, PaginationParameters parameters) throws SmartsheetException {
          String path = "sheets/"+ sheetId + "/attachments/" + attachmentId + "/versions";
  
          if (parameters != null) {
              path += parameters.toQueryString();
          }
          return this.listResourcesWithWrapper(path, Attachment.class);
      }
docs: Get all versions of an attachment.
  
  It mirrors to the following Smartsheet REST API method: GET /sheets/{sheetId}/attachments/{attachmentId}/versions
  
  @param sheetId the id
  @param attachmentId the attachment id
  @param parameters the pagination paramaters
  @return the attachment (note that if there is no such resource, this method will throw ResourceNotFoundException
  rather than returning null).
  @throws IllegalArgumentException if any argument is null or empty string
  @throws InvalidRequestException if there is any problem with the REST API request
  @throws AuthorizationException if there is any problem with  the REST API authorization (access token)
  @throws ResourceNotFoundException if the resource cannot be found
  @throws ServiceUnavailableException if the REST API service is not available (possibly due to rate limiting)
  @throws SmartsheetException if there is any other error during the operation