Constructor and Description |
---|
FNodeInventoryRec(String id,
int qty)
The inventory
|
Modifier and Type | Method and Description |
---|---|
FNodeInventoryRec |
createCopy()
Create a copy of this object
|
static FNodeInventoryRec |
fromJSON(javax.json.JsonObject json)
Create a new FNodeInventory instance from Jet JSON
|
String |
getNodeId() |
int |
getQuantity() |
javax.json.JsonObject |
toJSON()
Turn this into json
|
public FNodeInventoryRec(String id, int qty)
id
- idqty
- Quantitypublic static FNodeInventoryRec fromJSON(javax.json.JsonObject json)
json
- json objectpublic FNodeInventoryRec createCopy()
public String getNodeId()
public int getQuantity()
Copyright © 2017. All rights reserved.