View Source GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPlayGamesExtendedData (google_api_content_warehouse v0.3.0)

Extension data for use in Play Games Product Profile. See go/jam-games-profile.

Attributes

  • achievements (type: list(GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPlayGamesExtendedDataAchievement.t), default: nil) - User's top achievements that are sorted for example by rarity.
  • avatarImageUrl (type: String.t, default: nil) - The avatar image to display for the user.
  • failure (type: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiProductProfileFailure.t, default: nil) - Failure type if there is an error when fetching product profile data.
  • gamerTag (type: String.t, default: nil) - The gamer tag set by the user. Not set if the user hasn't set a gamer tag yet.
  • playerLevel (type: integer(), default: nil) - User's level.
  • profileVisibility (type: String.t, default: nil) - Specifies the visibility of the player's profile.
  • totalFriendsCount (type: String.t, default: nil) - Total number of friends.
  • totalUnlockedAchievements (type: String.t, default: nil) - How many achievements this player has unlocked.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPlayGamesExtendedData{
    achievements:
      [
        GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPlayGamesExtendedDataAchievement.t()
      ]
      | nil,
    avatarImageUrl: String.t() | nil,
    failure:
      GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiProductProfileFailure.t()
      | nil,
    gamerTag: String.t() | nil,
    playerLevel: integer() | nil,
    profileVisibility: String.t() | nil,
    totalFriendsCount: String.t() | nil,
    totalUnlockedAchievements: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.