View Source GoogleApi.WalletObjects.V1.Model.Image (google_api_wallet_objects v0.2.0)

Wrapping type for Google hosted images. Next ID: 7

Attributes

  • contentDescription (type: GoogleApi.WalletObjects.V1.Model.LocalizedString.t, default: nil) - Description of the image used for accessibility.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "walletobjects#image".
  • sourceUri (type: GoogleApi.WalletObjects.V1.Model.ImageUri.t, default: nil) - The URI for the image.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.WalletObjects.V1.Model.Image{
  contentDescription:
    GoogleApi.WalletObjects.V1.Model.LocalizedString.t() | nil,
  kind: String.t() | nil,
  sourceUri: GoogleApi.WalletObjects.V1.Model.ImageUri.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.