GoogleApi.YouTube.V3.Model.Thumbnail (google_api_you_tube v0.54.0)

View Source

A thumbnail is an image representing a YouTube resource.

Attributes

  • height (type: integer(), default: nil) - (Optional) Height of the thumbnail image.
  • url (type: String.t, default: nil) - The thumbnail image's URL.
  • width (type: integer(), default: nil) - (Optional) Width of the thumbnail image.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.YouTube.V3.Model.Thumbnail{
  height: integer() | 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.