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

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

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






SubscriptionSnippet (YouTube Data API v3 v3-rev20230319-2.0.0)












com.google.api.services.youtube.model

Class SubscriptionSnippet

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


    public final class SubscriptionSnippet
    extends com.google.api.client.json.GenericJson
    Basic details about a subscription, including title, description and thumbnails of the subscribed item.

    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

      • SubscriptionSnippet

        public SubscriptionSnippet()
    • Method Detail

      • getChannelId

        public String getChannelId()
        The ID that YouTube uses to uniquely identify the subscriber's channel.
        Returns:
        value or null for none
      • setChannelId

        public SubscriptionSnippet setChannelId(String channelId)
        The ID that YouTube uses to uniquely identify the subscriber's channel.
        Parameters:
        channelId - channelId or null for none
      • getChannelTitle

        public String getChannelTitle()
        Channel title for the channel that the subscription belongs to.
        Returns:
        value or null for none
      • setChannelTitle

        public SubscriptionSnippet setChannelTitle(String channelTitle)
        Channel title for the channel that the subscription belongs to.
        Parameters:
        channelTitle - channelTitle or null for none
      • getDescription

        public String getDescription()
        The subscription's details.
        Returns:
        value or null for none
      • setDescription

        public SubscriptionSnippet setDescription(String description)
        The subscription's details.
        Parameters:
        description - description or null for none
      • getPublishedAt

        public com.google.api.client.util.DateTime getPublishedAt()
        The date and time that the subscription was created.
        Returns:
        value or null for none
      • setPublishedAt

        public SubscriptionSnippet setPublishedAt(com.google.api.client.util.DateTime publishedAt)
        The date and time that the subscription was created.
        Parameters:
        publishedAt - publishedAt or null for none
      • getResourceId

        public ResourceId getResourceId()
        The id object contains information about the channel that the user subscribed to.
        Returns:
        value or null for none
      • setResourceId

        public SubscriptionSnippet setResourceId(ResourceId resourceId)
        The id object contains information about the channel that the user subscribed to.
        Parameters:
        resourceId - resourceId or null for none
      • getThumbnails

        public ThumbnailDetails getThumbnails()
        A map of thumbnail images associated with the video. 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.
        Returns:
        value or null for none
      • setThumbnails

        public SubscriptionSnippet setThumbnails(ThumbnailDetails thumbnails)
        A map of thumbnail images associated with the video. 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.
        Parameters:
        thumbnails - thumbnails or null for none
      • getTitle

        public String getTitle()
        The subscription's title.
        Returns:
        value or null for none
      • setTitle

        public SubscriptionSnippet setTitle(String title)
        The subscription's title.
        Parameters:
        title - title or null for none
      • clone

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

Copyright © 2011–2023 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy