View Source GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchCommentAnchorSetFeaturesComment (google_api_content_warehouse v0.3.0)

A structure that represents a comment. Fields 1 through 6 are designed to store responses from the 3P YouTube Data API (see https://developers.google.com/youtube/v3/docs/comments). Field 7 is used to store the Google-internal representation of the comment; if it is populated, then all other fields may be empty. Next ID: 8

Attributes

  • commentId (type: String.t, default: nil) - The ID that YouTube uses to uniquely identify the comment.
  • likeCount (type: integer(), default: nil) - The total number of likes (positive ratings) the comment has received.
  • miniStanza (type: GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsClusteringMiniStanza.t, default: nil) - The MiniStanza object that represents the comment. If populated, all other fields in this message may be empty.
  • publishedAt (type: String.t, default: nil) - The date and time when the comment was orignally published, specified in ISO 8601 format.
  • textDisplay (type: String.t, default: nil) - The comment's text, in HTML.
  • textOriginal (type: String.t, default: nil) - The original, raw text of the comment.
  • updatedAt (type: String.t, default: nil) - The date and time when the comment was last updated, specified in ISO 8601 format.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchCommentAnchorSetFeaturesComment{
    commentId: String.t() | nil,
    likeCount: integer() | nil,
    miniStanza:
      GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsClusteringMiniStanza.t()
      | nil,
    publishedAt: String.t() | nil,
    textDisplay: String.t() | nil,
    textOriginal: String.t() | nil,
    updatedAt: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.