google_api_games v0.11.0 GoogleApi.Games.V1.Model.PlayerName View Source

An object representation of the individual components of the player's name. For some players, these fields may not be present.

Attributes

  • familyName (type: String.t, default: nil) - The family name of this player. In some places, this is known as the last name.
  • givenName (type: String.t, default: nil) - The given name of this player. In some places, this is known as the first name.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Games.V1.Model.PlayerName{
  familyName: String.t(),
  givenName: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.