class XIVAPI::Dataclasses::GuardianDeity

Overview

Dataclass containing information about a Character's Guardian Deity.

Defined in:

dataclasses/character/guardian_deity.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def guardian_deity : String? #

This field always appears to be null so we're unsure what it is, but it will always come back as a String if it has a value.


[View source]
def guardian_deity=(_guardian_deity : ::Union(String, Nil)) #

def icon : String #

A URL to the icon of the Guardian Deity.


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

def id : UInt64 #

The XIVAPI ID of the Guardian Deity


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

def name : String #

The name of the Guardian Deity.


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

def to_json(json : JSON::Builder) #

def url : String #

A URL to the Guardian Deity's specific XIVAPI endpoint.


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