GoogleApi.WalletObjects.V1.Model.LocalizedString (google_api_wallet_objects v0.12.0)

View Source

Attributes

  • defaultValue (type: GoogleApi.WalletObjects.V1.Model.TranslatedString.t, default: nil) - Contains the string to be displayed if no appropriate translation is available.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "walletobjects#localizedString".
  • translatedValues (type: list(GoogleApi.WalletObjects.V1.Model.TranslatedString.t), default: nil) - Contains the translations for the string.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.LocalizedString{
  defaultValue: GoogleApi.WalletObjects.V1.Model.TranslatedString.t() | nil,
  kind: String.t() | nil,
  translatedValues:
    [GoogleApi.WalletObjects.V1.Model.TranslatedString.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.