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

View Source

Configuration for the time-based OTP substitutions. See https://tools.ietf.org/html/rfc6238

Attributes

  • algorithm (type: String.t, default: nil) - The TOTP algorithm used to generate the OTP.
  • parameters (type: list(GoogleApi.WalletObjects.V1.Model.RotatingBarcodeTotpDetailsTotpParameters.t), default: nil) - The TOTP parameters for each of the {totpvalue*} substitutions. The TotpParameters at index n is used for the {totp_value_n} substitution.
  • periodMillis (type: String.t, default: nil) - The time interval used for the TOTP value generation, in milliseconds.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.RotatingBarcodeTotpDetails{
  algorithm: String.t() | nil,
  parameters:
    [
      GoogleApi.WalletObjects.V1.Model.RotatingBarcodeTotpDetailsTotpParameters.t()
    ]
    | nil,
  periodMillis: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.