class XIVAPI::Dataclasses::Achievement

Overview

Dataclass for an Achievement

Defined in:

dataclasses/character/achievement.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def date : Time #

The timestamp of when the Achievement was achieved by the Character


[View source]
def date=(_date : Time) #

def icon : String #

URL of the Achievement's Icon


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

def id : UInt64 #

Lodestone ID of the achievement


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

def name : String #

Name of the Achievement


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

def points : UInt64 #

The number of points the Achievement is worth


[View source]
def points=(_points : UInt64) #

def to_json(json : JSON::Builder) #