GoogleApi.Games.V1.Model.ImageAsset (google_api_games v0.26.2)

View Source

An image asset object.

Attributes

  • height (type: integer(), default: nil) - The height of the asset.
  • kind (type: String.t, default: nil) - Uniquely identifies the type of this resource. Value is always the fixed string games#imageAsset.
  • name (type: String.t, default: nil) - The name of the asset.
  • url (type: String.t, default: nil) - The URL of the asset.
  • width (type: integer(), default: nil) - The width of the asset.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Games.V1.Model.ImageAsset{
  height: integer() | nil,
  kind: String.t() | nil,
  name: String.t() | nil,
  url: String.t() | nil,
  width: integer() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.