code: public PagedResult<AlternateEmail> listAlternateEmails(long userId, PaginationParameters pagination) throws SmartsheetException    {
          String path = "users/" + userId + "/alternateemails";
  
          if (pagination != null) {
              path += pagination.toQueryString();
          }
          return this.listResourcesWithWrapper(path, AlternateEmail.class);
      }
docs: List all user alternate emails.
  
  It mirrors to the following Smartsheet REST API method: GET /users/{userId}/alternateemails
  
  @param userId the id of the user
  @param pagination the object containing the pagination query parameters
  @return the list of all user alternate emails
  @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