All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.youtube.model.CommentThreadSnippet.html Maven / Gradle / Ivy

There is a newer version: v3-rev20240514-2.0.0
Show newest version






CommentThreadSnippet (YouTube Data API v3 v3-rev20240303-2.0.0)












com.google.api.services.youtube.model

Class CommentThreadSnippet

    • Constructor Detail

      • CommentThreadSnippet

        public CommentThreadSnippet()
    • Method Detail

      • getCanReply

        public Boolean getCanReply()
        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.
        Returns:
        value or null for none
      • setCanReply

        public CommentThreadSnippet setCanReply(Boolean canReply)
        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.
        Parameters:
        canReply - canReply or null for none
      • getChannelId

        public String getChannelId()
        The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn't set the comments refer to the channel itself.
        Returns:
        value or null for none
      • setChannelId

        public CommentThreadSnippet setChannelId(String channelId)
        The YouTube channel the comments in the thread refer to or the channel with the video the comments refer to. If video_id isn't set the comments refer to the channel itself.
        Parameters:
        channelId - channelId or null for none
      • getIsPublic

        public Boolean getIsPublic()
        Whether the thread (and therefore all its comments) is visible to all YouTube users.
        Returns:
        value or null for none
      • setIsPublic

        public CommentThreadSnippet setIsPublic(Boolean isPublic)
        Whether the thread (and therefore all its comments) is visible to all YouTube users.
        Parameters:
        isPublic - isPublic or null for none
      • getTopLevelComment

        public Comment getTopLevelComment()
        The top level comment of this thread.
        Returns:
        value or null for none
      • setTopLevelComment

        public CommentThreadSnippet setTopLevelComment(Comment topLevelComment)
        The top level comment of this thread.
        Parameters:
        topLevelComment - topLevelComment or null for none
      • getTotalReplyCount

        public Long getTotalReplyCount()
        The total number of replies (not including the top level comment).
        Returns:
        value or null for none
      • setTotalReplyCount

        public CommentThreadSnippet setTotalReplyCount(Long totalReplyCount)
        The total number of replies (not including the top level comment).
        Parameters:
        totalReplyCount - totalReplyCount or null for none
      • getVideoId

        public String getVideoId()
        The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment.
        Returns:
        value or null for none
      • setVideoId

        public CommentThreadSnippet setVideoId(String videoId)
        The ID of the video the comments refer to, if any. No video_id implies a channel discussion comment.
        Parameters:
        videoId - videoId or null for none
      • clone

        public CommentThreadSnippet clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy