Constructor
new Subset(dataopt)
Create an instance of a subset item.
Parameters:
Name |
Type |
Attributes |
Description |
data |
object
|
<optional>
|
The response data from API request.
Properties
Name |
Type |
Attributes |
Description |
match_no |
number
|
<optional>
|
The number of matching entries or 0 if there is no matching of alternative item. |
entries |
object
|
<optional>
|
The specific entries for the subset item. |
|
- Source:
Classes
- Subset
Members
Type:
- Source:
match_no :number
Type:
- Source:
Methods
(static) get(itemType, itemNumber, options)
Method to get a subset of a catalog item.
Usage:
```
var req = Subset.get(ItemType.Set, '6020-1', {break_minifigs: true});
client.send(req).then(subset => console.log(subset));
```
Parameters:
Name |
Type |
Description |
itemType |
string
|
Catalog item type |
itemNumber |
string
|
Catalog item number |
options |
object
|
Options that conform to SubsetOptions. |
- Source: