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

View Source

Wrapping type for Google hosted images.

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

t()

@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

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.