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

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

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






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












com.google.api.services.youtube.model

Class PlaylistSnippet

    • Constructor Detail

      • PlaylistSnippet

        public PlaylistSnippet()
    • Method Detail

      • getChannelId

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

        public PlaylistSnippet setChannelId(String channelId)
        The ID that YouTube uses to uniquely identify the channel that published the playlist.
        Parameters:
        channelId - channelId or null for none
      • getChannelTitle

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

        public PlaylistSnippet setChannelTitle(String channelTitle)
        The channel title of the channel that the video belongs to.
        Parameters:
        channelTitle - channelTitle or null for none
      • getDefaultLanguage

        public String getDefaultLanguage()
        The language of the playlist's default title and description.
        Returns:
        value or null for none
      • setDefaultLanguage

        public PlaylistSnippet setDefaultLanguage(String defaultLanguage)
        The language of the playlist's default title and description.
        Parameters:
        defaultLanguage - defaultLanguage or null for none
      • getDescription

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

        public PlaylistSnippet setDescription(String description)
        The playlist's description.
        Parameters:
        description - description or null for none
      • getLocalized

        public PlaylistLocalization getLocalized()
        Localized title and description, read-only.
        Returns:
        value or null for none
      • setLocalized

        public PlaylistSnippet setLocalized(PlaylistLocalization localized)
        Localized title and description, read-only.
        Parameters:
        localized - localized or null for none
      • getPublishedAt

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

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

        public List<String> getTags()
        Keyword tags associated with the playlist.
        Returns:
        value or null for none
      • setTags

        public PlaylistSnippet setTags(List<String> tags)
        Keyword tags associated with the playlist.
        Parameters:
        tags - tags or null for none
      • getThumbnailVideoId

        public String getThumbnailVideoId()
        Note: if the playlist has a custom thumbnail, this field will not be populated. The video id selected by the user that will be used as the thumbnail of this playlist. This field defaults to the first publicly viewable video in the playlist, if: 1. The user has never selected a video to be the thumbnail of the playlist. 2. The user selects a video to be the thumbnail, and then removes that video from the playlist. 3. The user selects a non-owned video to be the thumbnail, but that video becomes private, or gets deleted.
        Returns:
        value or null for none
      • setThumbnailVideoId

        public PlaylistSnippet setThumbnailVideoId(String thumbnailVideoId)
        Note: if the playlist has a custom thumbnail, this field will not be populated. The video id selected by the user that will be used as the thumbnail of this playlist. This field defaults to the first publicly viewable video in the playlist, if: 1. The user has never selected a video to be the thumbnail of the playlist. 2. The user selects a video to be the thumbnail, and then removes that video from the playlist. 3. The user selects a non-owned video to be the thumbnail, but that video becomes private, or gets deleted.
        Parameters:
        thumbnailVideoId - thumbnailVideoId or null for none
      • getThumbnails

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

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

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