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

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

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






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












com.google.api.services.youtube.model

Class ActivityContentDetails

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class ActivityContentDetails
    extends com.google.api.client.json.GenericJson
    Details about the content of an activity: the video that was shared, the channel that was subscribed to, etc.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the YouTube Data API v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • ActivityContentDetails

        public ActivityContentDetails()
    • Method Detail

      • getBulletin

        public ActivityContentDetailsBulletin getBulletin()
        The bulletin object contains details about a channel bulletin post. This object is only present if the snippet.type is bulletin.
        Returns:
        value or null for none
      • setBulletin

        public ActivityContentDetails setBulletin(ActivityContentDetailsBulletin bulletin)
        The bulletin object contains details about a channel bulletin post. This object is only present if the snippet.type is bulletin.
        Parameters:
        bulletin - bulletin or null for none
      • getChannelItem

        public ActivityContentDetailsChannelItem getChannelItem()
        The channelItem object contains details about a resource which was added to a channel. This property is only present if the snippet.type is channelItem.
        Returns:
        value or null for none
      • setChannelItem

        public ActivityContentDetails setChannelItem(ActivityContentDetailsChannelItem channelItem)
        The channelItem object contains details about a resource which was added to a channel. This property is only present if the snippet.type is channelItem.
        Parameters:
        channelItem - channelItem or null for none
      • getComment

        public ActivityContentDetailsComment getComment()
        The comment object contains information about a resource that received a comment. This property is only present if the snippet.type is comment.
        Returns:
        value or null for none
      • setComment

        public ActivityContentDetails setComment(ActivityContentDetailsComment comment)
        The comment object contains information about a resource that received a comment. This property is only present if the snippet.type is comment.
        Parameters:
        comment - comment or null for none
      • getFavorite

        public ActivityContentDetailsFavorite getFavorite()
        The favorite object contains information about a video that was marked as a favorite video. This property is only present if the snippet.type is favorite.
        Returns:
        value or null for none
      • setFavorite

        public ActivityContentDetails setFavorite(ActivityContentDetailsFavorite favorite)
        The favorite object contains information about a video that was marked as a favorite video. This property is only present if the snippet.type is favorite.
        Parameters:
        favorite - favorite or null for none
      • getLike

        public ActivityContentDetailsLike getLike()
        The like object contains information about a resource that received a positive (like) rating. This property is only present if the snippet.type is like.
        Returns:
        value or null for none
      • setLike

        public ActivityContentDetails setLike(ActivityContentDetailsLike like)
        The like object contains information about a resource that received a positive (like) rating. This property is only present if the snippet.type is like.
        Parameters:
        like - like or null for none
      • getPlaylistItem

        public ActivityContentDetailsPlaylistItem getPlaylistItem()
        The playlistItem object contains information about a new playlist item. This property is only present if the snippet.type is playlistItem.
        Returns:
        value or null for none
      • setPlaylistItem

        public ActivityContentDetails setPlaylistItem(ActivityContentDetailsPlaylistItem playlistItem)
        The playlistItem object contains information about a new playlist item. This property is only present if the snippet.type is playlistItem.
        Parameters:
        playlistItem - playlistItem or null for none
      • getPromotedItem

        public ActivityContentDetailsPromotedItem getPromotedItem()
        The promotedItem object contains details about a resource which is being promoted. This property is only present if the snippet.type is promotedItem.
        Returns:
        value or null for none
      • setPromotedItem

        public ActivityContentDetails setPromotedItem(ActivityContentDetailsPromotedItem promotedItem)
        The promotedItem object contains details about a resource which is being promoted. This property is only present if the snippet.type is promotedItem.
        Parameters:
        promotedItem - promotedItem or null for none
      • getRecommendation

        public ActivityContentDetailsRecommendation getRecommendation()
        The recommendation object contains information about a recommended resource. This property is only present if the snippet.type is recommendation.
        Returns:
        value or null for none
      • setRecommendation

        public ActivityContentDetails setRecommendation(ActivityContentDetailsRecommendation recommendation)
        The recommendation object contains information about a recommended resource. This property is only present if the snippet.type is recommendation.
        Parameters:
        recommendation - recommendation or null for none
      • getSocial

        public ActivityContentDetailsSocial getSocial()
        The social object contains details about a social network post. This property is only present if the snippet.type is social.
        Returns:
        value or null for none
      • setSocial

        public ActivityContentDetails setSocial(ActivityContentDetailsSocial social)
        The social object contains details about a social network post. This property is only present if the snippet.type is social.
        Parameters:
        social - social or null for none
      • getSubscription

        public ActivityContentDetailsSubscription getSubscription()
        The subscription object contains information about a channel that a user subscribed to. This property is only present if the snippet.type is subscription.
        Returns:
        value or null for none
      • setSubscription

        public ActivityContentDetails setSubscription(ActivityContentDetailsSubscription subscription)
        The subscription object contains information about a channel that a user subscribed to. This property is only present if the snippet.type is subscription.
        Parameters:
        subscription - subscription or null for none
      • getUpload

        public ActivityContentDetailsUpload getUpload()
        The upload object contains information about the uploaded video. This property is only present if the snippet.type is upload.
        Returns:
        value or null for none
      • setUpload

        public ActivityContentDetails setUpload(ActivityContentDetailsUpload upload)
        The upload object contains information about the uploaded video. This property is only present if the snippet.type is upload.
        Parameters:
        upload - upload or null for none
      • clone

        public ActivityContentDetails 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