Source: requests/list-item-view-portions.js

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

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

/**
 * List all the view portions of an item ever submitted by different users.
 */
class ListItemViewPortions extends rqs.Request {

  /**
   * Construct the request
   * @param {string} itemId - ID of the item of which the view portions are to be listed.
   */
  constructor(itemId) {
    super('GET', `/items/${itemId}/viewportions/`, 100000, false);
    this.itemId = itemId;
  }

  /**
   * 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.ListItemViewPortions = ListItemViewPortions