Source: requests/list-user-ratings.js

/*
 This file is auto-generated, do not edit
*/

'use strict';
const rqs = require("./request");

/**
 * List all the ratings ever submitted by a given user.
 */
class ListUserRatings extends rqs.Request {

  /**
   * Construct the request
   * @param {string} userId - ID of the user whose ratings are to be listed.
   */
  constructor(userId) {
    super('GET', `/users/${userId}/ratings/`, 100000, false);
    this.userId = userId;
  }

  /**
   * Get body parameters
   * @return {Object} The values of body parameters (name of parameter: value of the parameter)
   */
  bodyParameters() {
    let params = {};

    return params;
  }

  /**
   * Get query parameters
   * @return {Object} The values of query parameters (name of parameter: value of the parameter)
   */
  queryParameters() {
    let params = {};
    return params;
  }
}

exports.ListUserRatings = ListUserRatings