Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 547 Bytes

item-list-5.md

File metadata and controls

23 lines (15 loc) · 547 Bytes

Item List 5

Structure

ItemList5

Fields

Name Type Tags Description Getter Setter
name ?string Optional Item's Name, must be unique on the list
Constraints: Maximum Length: 100
getName(): ?string setName(?string name): void
amount ?int Optional Item's Amount
Constraints: >= -999999999, <= 999999999
getAmount(): ?int setAmount(?int amount): void

Example (as JSON)

{
  "name": "Bread",
  "amount": 2015
}