class XIVAPI::Dataclasses::IDName
- XIVAPI::Dataclasses::IDName
- Reference
- Object
Overview
A class for a simple combination of ID, and name. Used throughout the library in places that need this simple mapping.
Defined in:
dataclasses/utils/id_name.crConstructors
Instance Method Summary
-
#icon
URL to the icon of the item.
-
#id : UInt64?
The ID of the item.
- #id=(_id : ::Union(UInt64, Nil))
- #name : ::Union(String, Nil)
- #name=(_name : ::Union(String, Nil))
- #to_json(json : JSON::Builder)