class

XIVAPI::Dataclasses::IDNameUrl

Inherits JSON::Serializable < Reference < Object

A class for a simple combination of ID, name, and URL. Used throughout the library in places that need this simple mapping.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

id

The ID of the item.

Source
name

The name of item.

Source
url

The URL of the item in XIVAPI.

Source