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

View Source

Basic details about a subscription, including title, description and thumbnails of the subscribed item.

Attributes

  • channelId (type: String.t, default: nil) - The ID that YouTube uses to uniquely identify the subscriber's channel.
  • description (type: String.t, default: nil) - The subscription's details.
  • publishedAt (type: DateTime.t, default: nil) - The date and time that the subscription was created.
  • resourceId (type: GoogleApi.YouTube.V3.Model.ResourceId.t, default: nil) - The id object contains information about the channel that the user subscribed to.
  • thumbnails (type: GoogleApi.YouTube.V3.Model.ThumbnailDetails.t, default: nil) - A map of thumbnail images associated with the video. 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 subscription's title.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.YouTube.V3.Model.SubscriptionSnippet{
  channelId: String.t() | nil,
  description: String.t() | 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
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.