class XIVAPI::Dataclasses::IDIconNameUrl

Overview

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

Defined in:

dataclasses/utils/id_icon_name_url.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(__temp_154 : JSON::PullParser) #

Instance Method Detail

def icon : String #

URL to the icon of the item.


[View source]
def icon=(_icon : String) #

def id : UInt64 #

The ID of the item.


[View source]
def id=(_id : UInt64) #

def name : String #

The name of item.


[View source]
def name=(_name : String) #

def to_json(json : JSON::Builder) #

def url : String #

The URL of the item in XIVAPI.


[View source]
def url=(_url : String) #