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

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

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






PlaylistItemSnippet (YouTube Data API v3 v3-rev20240417-2.0.0)












com.google.api.services.youtube.model

Class PlaylistItemSnippet

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


    public final class PlaylistItemSnippet
    extends com.google.api.client.json.GenericJson
    Basic details about a playlist, including title, description and thumbnails. Basic details of a YouTube Playlist item provided by the author. Next ID: 15

    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

      • PlaylistItemSnippet

        public PlaylistItemSnippet()
    • Method Detail

      • getChannelId

        public String getChannelId()
        The ID that YouTube uses to uniquely identify the user that added the item to the playlist.
        Returns:
        value or null for none
      • setChannelId

        public PlaylistItemSnippet setChannelId(String channelId)
        The ID that YouTube uses to uniquely identify the user that added the item to the playlist.
        Parameters:
        channelId - channelId or null for none
      • getChannelTitle

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

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

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

        public PlaylistItemSnippet setDescription(String description)
        The item's description.
        Parameters:
        description - description or null for none
      • getPlaylistId

        public String getPlaylistId()
        The ID that YouTube uses to uniquely identify thGe playlist that the playlist item is in.
        Returns:
        value or null for none
      • setPlaylistId

        public PlaylistItemSnippet setPlaylistId(String playlistId)
        The ID that YouTube uses to uniquely identify thGe playlist that the playlist item is in.
        Parameters:
        playlistId - playlistId or null for none
      • getPosition

        public Long getPosition()
        The order in which the item appears in the playlist. The value uses a zero-based index, so the first item has a position of 0, the second item has a position of 1, and so forth.
        Returns:
        value or null for none
      • setPosition

        public PlaylistItemSnippet setPosition(Long position)
        The order in which the item appears in the playlist. The value uses a zero-based index, so the first item has a position of 0, the second item has a position of 1, and so forth.
        Parameters:
        position - position or null for none
      • getPublishedAt

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

        public PlaylistItemSnippet setPublishedAt(com.google.api.client.util.DateTime publishedAt)
        The date and time that the item was added to the playlist.
        Parameters:
        publishedAt - publishedAt or null for none
      • getResourceId

        public ResourceId getResourceId()
        The id object contains information that can be used to uniquely identify the resource that is included in the playlist as the playlist item.
        Returns:
        value or null for none
      • setResourceId

        public PlaylistItemSnippet setResourceId(ResourceId resourceId)
        The id object contains information that can be used to uniquely identify the resource that is included in the playlist as the playlist item.
        Parameters:
        resourceId - resourceId or null for none
      • getThumbnails

        public ThumbnailDetails getThumbnails()
        A map of thumbnail images associated with the playlist item. 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 PlaylistItemSnippet setThumbnails(ThumbnailDetails thumbnails)
        A map of thumbnail images associated with the playlist item. 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 item's title.
        Returns:
        value or null for none
      • getVideoOwnerChannelId

        public String getVideoOwnerChannelId()
        Channel id for the channel this video belongs to.
        Returns:
        value or null for none
      • setVideoOwnerChannelId

        public PlaylistItemSnippet setVideoOwnerChannelId(String videoOwnerChannelId)
        Channel id for the channel this video belongs to.
        Parameters:
        videoOwnerChannelId - videoOwnerChannelId or null for none
      • getVideoOwnerChannelTitle

        public String getVideoOwnerChannelTitle()
        Channel title for the channel this video belongs to.
        Returns:
        value or null for none
      • setVideoOwnerChannelTitle

        public PlaylistItemSnippet setVideoOwnerChannelTitle(String videoOwnerChannelTitle)
        Channel title for the channel this video belongs to.
        Parameters:
        videoOwnerChannelTitle - videoOwnerChannelTitle or null for none
      • clone

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