code: public PagedResult<AutomationRule> listAutomationRules(long sheetId, PaginationParameters pagination) throws SmartsheetException {
          String path = "sheets/" + sheetId + "/automationrules";
          HashMap<String, Object> parameters = new HashMap<String, Object>();
  
          if (pagination != null) {
              parameters = pagination.toHashMap();
          }
          path += QueryUtil.generateUrl(null, parameters);
  
          return this.listResourcesWithWrapper(path, AutomationRule.class);
      }
docs: Get all automation rules for this sheet
  
  It mirrors to the following Smartsheet REST API method: GET /sheets/{sheetId}/automationrules
  
  Exceptions:
  IllegalArgumentException : if any argument is null
  InvalidRequestException : if there is any problem with the REST API request
  AuthorizationException : if there is any problem with the REST API authorization(access token)
  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 sheet ID
  @param pagination the pagination pagination
  @return all the automation rules
  @throws SmartsheetException the smartsheet exception