View Source GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPlayGamesExtendedDataAchievement (google_api_content_warehouse v0.4.0)

Details of an achievement that the user has unlocked.

Attributes

  • achievementName (type: String.t, default: nil) - The name of the achievement.
  • achievementUnlockedIconUrl (type: String.t, default: nil) - The achievement icon url shown to the user if it is unlocked.
  • rarityPercentage (type: number(), default: nil) - Rarity of unlocking this achievement (3% of players unlocked would be 3)

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPlayGamesExtendedDataAchievement{
    achievementName: String.t() | nil,
    achievementUnlockedIconUrl: String.t() | nil,
    rarityPercentage: number() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.