google_api_you_tube v0.4.0 GoogleApi.YouTube.V3.Model.ActivitySnippet View Source

Basic details about an activity, including title, description, thumbnails, activity type and group.

Attributes

  • channelId (String.t): The ID that YouTube uses to uniquely identify the channel associated with the activity. Defaults to: null.
  • channelTitle (String.t): Channel title for the channel responsible for this activity Defaults to: null.
  • description (String.t): The description of the resource primarily associated with the activity. Defaults to: null.
  • groupId (String.t): The group ID associated with the activity. A group ID identifies user events that are associated with the same user and resource. For example, if a user rates a video and marks the same video as a favorite, the entries for those events would have the same group ID in the user's activity feed. In your user interface, you can avoid repetition by grouping events with the same groupId value. Defaults to: null.
  • publishedAt (DateTime.t): The date and time that the video was uploaded. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. Defaults to: null.
  • thumbnails (ThumbnailDetails): A map of thumbnail images associated with the resource that is primarily associated with the activity. 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. Defaults to: null.
  • title (String.t): The title of the resource primarily associated with the activity. Defaults to: null.
  • type (String.t): The type of activity that the resource describes. Defaults to: null.

    • Enum - one of [bulletin, channelItem, comment, favorite, like, playlistItem, promotedItem, recommendation, social, subscription, upload]

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.YouTube.V3.Model.ActivitySnippet{
  channelId: any(),
  channelTitle: any(),
  description: any(),
  groupId: any(),
  publishedAt: DateTime.t(),
  thumbnails: GoogleApi.YouTube.V3.Model.ThumbnailDetails.t(),
  title: any(),
  type: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.