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

View Source

Basic details about a playlist, including title, description and thumbnails. Basic details of a YouTube Playlist item provided by the author. Next ID: 15

Attributes

  • channelId (type: String.t, default: nil) - The ID that YouTube uses to uniquely identify the user that added the item to the playlist.
  • channelTitle (type: String.t, default: nil) - Channel title for the channel that the playlist item belongs to.
  • description (type: String.t, default: nil) - The item's description.
  • playlistId (type: String.t, default: nil) - The ID that YouTube uses to uniquely identify thGe playlist that the playlist item is in.
  • position (type: integer(), default: nil) - The order in which the item appears in the playlist. The value uses a zero-based index, so the first item has a position of 0, the second item has a position of 1, and so forth.
  • publishedAt (type: DateTime.t, default: nil) - The date and time that the item was added to the playlist.
  • resourceId (type: GoogleApi.YouTube.V3.Model.ResourceId.t, default: nil) - The id object contains information that can be used to uniquely identify the resource that is included in the playlist as the playlist item.
  • thumbnails (type: GoogleApi.YouTube.V3.Model.ThumbnailDetails.t, default: nil) - A map of thumbnail images associated with the playlist item. 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 item's title.
  • videoOwnerChannelId (type: String.t, default: nil) - Channel id for the channel this video belongs to.
  • videoOwnerChannelTitle (type: String.t, default: nil) - Channel title for the channel this video belongs to.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.YouTube.V3.Model.PlaylistItemSnippet{
  channelId: String.t() | nil,
  channelTitle: String.t() | nil,
  description: String.t() | nil,
  playlistId: String.t() | nil,
  position: integer() | nil,
  publishedAt: DateTime.t() | nil,
  resourceId: GoogleApi.YouTube.V3.Model.ResourceId.t() | nil,
  thumbnails: GoogleApi.YouTube.V3.Model.ThumbnailDetails.t() | nil,
  title: String.t() | nil,
  videoOwnerChannelId: String.t() | nil,
  videoOwnerChannelTitle: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.