class XIVAPI::Dataclasses::Job

Overview

Dataclass containing data about a Class or Job

Defined in:

dataclasses/character/job.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def abbreviation : String #

The abbreviated name of the Class or Job.


[View source]
def abbreviation=(_abbreviation : String) #

def class_job_category : XIVAPI::Dataclasses::IDName? #

An IDName class representing the category of the Class or Job. Sometimes it is not sent, in which case the field will be nil.


[View source]
def class_job_category=(_class_job_category : ::Union(IDName, Nil)) #

def icon : String #

def icon=(_icon : String) #

def id : UInt64 #

The XIVAPI ID of the Class or Job.


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

def name : String #

The full name of the Class or Job.


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

def to_json(json : JSON::Builder) #

def url : String #

URL for the XIVAPI page for the Class or Job.


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