code: public List<Favorite> addFavorites(List<Favorite> favorites) throws SmartsheetException{
          return this.postAndReceiveList("favorites/", favorites, Favorite.class);
      }
docs: Adds one or more items to the user's list of Favorite items.
  
  It mirrors to the following Smartsheet REST API method: POST /favorites
  
  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)
  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 favorites the list of favorites object limited to the following attributes: *
  objectId * type
  @return a single Favorite object or an array of Favorite objects
  @throws SmartsheetException the smartsheet exception