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

View Source

Basic details about a comment thread.

Attributes

  • canReply (type: boolean(), default: nil) - Whether the current viewer of the thread can reply to it. This is viewer specific - other viewers may see a different value for this field.
  • channelId (type: String.t, default: nil) - The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If neither video_id nor post_id is set the comments refer to the channel itself.
  • isPublic (type: boolean(), default: nil) - Whether the thread (and therefore all its comments) is visible to all YouTube users.
  • postId (type: String.t, default: nil) - The ID of the post the comments refer to, if any.
  • topLevelComment (type: GoogleApi.YouTube.V3.Model.Comment.t, default: nil) - The top level comment of this thread.
  • totalReplyCount (type: integer(), default: nil) - The total number of replies (not including the top level comment).
  • videoId (type: String.t, default: nil) - The ID of the video the comments refer to, if any.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.YouTube.V3.Model.CommentThreadSnippet{
  canReply: boolean() | nil,
  channelId: String.t() | nil,
  isPublic: boolean() | nil,
  postId: String.t() | nil,
  topLevelComment: GoogleApi.YouTube.V3.Model.Comment.t() | nil,
  totalReplyCount: integer() | nil,
  videoId: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.