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

View Source

Basic details about a search result, including title, description and thumbnails of the item referenced by the search result.

Attributes

  • channelId (type: String.t, default: nil) - The value that YouTube uses to uniquely identify the channel that published the resource that the search result identifies.
  • channelTitle (type: String.t, default: nil) - The title of the channel that published the resource that the search result identifies.
  • description (type: String.t, default: nil) - A description of the search result.
  • liveBroadcastContent (type: String.t, default: nil) - It indicates if the resource (video or channel) has upcoming/active live broadcast content. Or it's "none" if there is not any upcoming/active live broadcasts.
  • publishedAt (type: DateTime.t, default: nil) - The creation date and time of the resource that the search result identifies.
  • thumbnails (type: GoogleApi.YouTube.V3.Model.ThumbnailDetails.t, default: nil) - A map of thumbnail images associated with the search result. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.
  • title (type: String.t, default: nil) - The title of the search result.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.YouTube.V3.Model.SearchResultSnippet{
  channelId: String.t() | nil,
  channelTitle: String.t() | nil,
  description: String.t() | nil,
  liveBroadcastContent: String.t() | nil,
  publishedAt: DateTime.t() | nil,
  thumbnails: GoogleApi.YouTube.V3.Model.ThumbnailDetails.t() | nil,
  title: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.