Dataclass containing a Character's data.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
active_class_job
A ClassJob class representing the Class or Job the Character currently is at the time of the previous XIVAPI update.
Sourceavatar
URL to the avatar for the Character.
The avatar is a headshot of the Character, whereas the portrait is a full body image.
Sourcebio
The Lodestone bio of the Character.
Sourceclass_jobs
An array of ClassJob classes for all of the Classes and Jobs the Character currently has unlocked.
Sourcefree_company_id
The Lodestone ID of the Character's current Free Company
Sourcegear_set
A GearSet class representing the Character's currently equipped Gear Set.
Sourcegender
An integer specifying the Character's gender. 1 is Male, 2 is Female.
Sourcegrand_company
A GrandCompanyCharacterData class containing the Character's Grand Company information.
Sourceguardian_deity
A GuardianDeity class containing the Character's Guardian Deity information.
Sourceid
The Lodestone ID of the Character.
Sourceminions
An Array of MinionMount classs representing the Minions owned by the Character.
Sourceminions_count
An integer value for the number of Minions currently owned by the Character.
Sourceminions_progress
A string value indicating the percentage of the total number of Minions that the Character currently owns.
Sourceminions_total
An integer representing the total number of Minions currently in XIVAPI.
Sourcemounts
An Array of MinionMount classs representing the Mounts owned by the Character.
Sourcemounts_count
An integer value for the number of Mounts currently owned by the Character.
Sourcemounts_progress
A string value indicating the percentage of the total number of Mounts that the Character currently owns.
Sourcemounts_total
An integer representing the total number of Mounts currently in XIVAPI.
Sourceportrait
URL for the Character's portrait.
The portrait is a full body image, whereas the avatar is only a headshot of the Character.
Sourcepvp_team_id
The Lodestone ID of the Character's PVP Team
Sourcerace
An IDNameUrl class containing the Character's racial information.
Sourceserver
The Server that the Character is currently in.
Sourcetitle
An IDIconNameUrl class containing the details about the Character's current title.
Sourcetown
An IDIconNameUrl class containing the details about the Character's starting town.
Sourcetribe
An IDNameUrl class containing the details about the Character's race clan.
An Icon field is returned from the API but we've found this to normally be null so we have removed it.
Source