code: public PagedResult<Attachment> listAttachments(long sheetId, PaginationParameters parameters) throws SmartsheetException {
          String path = "sheets/" + sheetId + "/attachments";
  
          if (parameters != null) {
              path += parameters.toQueryString();
          }
          return this.listResourcesWithWrapper(path, Attachment.class);
      }
docs: Gets a list of all Attachments that are on the Sheet, including Sheet, Row, and Discussion level Attachments.
  
  It mirrors to the following Smartsheet REST API method: GET /sheets/{sheetId}/attachments
  
  Exceptions:
  InvalidRequestException : if there is any problem with the REST API request
  AuthorizationException : if there is any problem with the REST API authorization(access token)
  ResourceNotFoundException : if the resource can not be found
  ServiceUnavailableException : if the REST API service is not available (possibly due to rate limiting)
  SmartsheetRestException : if there is any other REST API related error occurred during the operation
  SmartsheetException : if there is any other error occurred during the operation
  
  @param sheetId the ID of the sheet to which the attachments are associated
  @param parameters the pagination parameters
  @return the attachments (note that empty list will be returned if there is none)
  @throws SmartsheetException the smartsheet exception