Class: Superset

Superset(dataopt)

Represents a super set entry.

Constructor

new Superset(dataopt)

Create an instance of a super set item.
Parameters:
Name Type Attributes Description
data object <optional>
The API response data
Properties
Name Type Attributes Description
entries Array.<object> <optional>
Entries for a superset item.
color_id number <optional>
The color id of the superset item.
Source:

Classes

Superset

Members

color_id :number

Type:
  • number
Source:

entries :Array.<SupersetEntry>

Type:
Source:

Methods

(static) get(itemType, itemNumber, options) → {BricklinkRequest}

Method to get a superset of a catalog item Usage: ``` var req = Superset.get(ItemType.Part, '4593'); client.send(req).then(superset => console.log(superset)); ```
Parameters:
Name Type Description
itemType string Catalog item type
itemNumber string Catalog item number
options object Options that conform to SupersetOptions.
Source:
Returns:
A request that will return an array of Superset items.
Type
BricklinkRequest