class XIVAPI::Dataclasses::LoreData

Overview

Dataclass for the Data column of the /lore endpoint data

Defined in:

dataclasses/other/lore.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def icon : String? #

URL for the icon of the item.


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

def id : UInt64 #

ID of the item the piece of Lore is referring to.


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

def name : String #

The name of the item in the language requested by the client.


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

def to_json(json : JSON::Builder) #

def url : String #

URL to the XIVAPI page for the item in question.


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