class XIVAPI::Dataclasses::IDNameUrl

Overview

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

Defined in:

dataclasses/utils/id_name_url.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

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) #