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

View Source

Attributes

  • description (type: String.t, default: nil) - The URI's title appearing in the app as text. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens. Note that in some contexts this text is not used, such as when description is part of an image.
  • id (type: String.t, default: nil) - The ID associated with a uri. This field is here to enable ease of management of uris.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "walletobjects#uri".
  • localizedDescription (type: GoogleApi.WalletObjects.V1.Model.LocalizedString.t, default: nil) - Translated strings for the description. Recommended maximum is 20 characters to ensure full string is displayed on smaller screens.
  • uri (type: String.t, default: nil) - The location of a web page, image, or other resource. URIs in the LinksModuleData module can have different prefixes indicating the type of URI (a link to a web page, a link to a map, a telephone number, or an email address). URIs must have a scheme.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WalletObjects.V1.Model.Uri{
  description: String.t() | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  localizedDescription:
    GoogleApi.WalletObjects.V1.Model.LocalizedString.t() | nil,
  uri: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.