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

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

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






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












com.google.api.services.youtube.model

Class ChannelSnippet

    • Constructor Detail

      • ChannelSnippet

        public ChannelSnippet()
    • Method Detail

      • getCountry

        public String getCountry()
        The country of the channel.
        Returns:
        value or null for none
      • setCountry

        public ChannelSnippet setCountry(String country)
        The country of the channel.
        Parameters:
        country - country or null for none
      • getCustomUrl

        public String getCustomUrl()
        The custom url of the channel.
        Returns:
        value or null for none
      • setCustomUrl

        public ChannelSnippet setCustomUrl(String customUrl)
        The custom url of the channel.
        Parameters:
        customUrl - customUrl or null for none
      • getDefaultLanguage

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

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

        public String getDescription()
        The description of the channel.
        Returns:
        value or null for none
      • setDescription

        public ChannelSnippet setDescription(String description)
        The description of the channel.
        Parameters:
        description - description or null for none
      • getLocalized

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

        public ChannelSnippet setLocalized(ChannelLocalization 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 channel was created.
        Returns:
        value or null for none
      • setPublishedAt

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

        public ThumbnailDetails getThumbnails()
        A map of thumbnail images associated with the channel. 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. When displaying thumbnails in your application, make sure that your code uses the image URLs exactly as they are returned in API responses. For example, your application should not use the http domain instead of the https domain in a URL returned in an API response. Beginning in July 2018, channel thumbnail URLs will only be available in the https domain, which is how the URLs appear in API responses. After that time, you might see broken images in your application if it tries to load YouTube images from the http domain. Thumbnail images might be empty for newly created channels and might take up to one day to populate.
        Returns:
        value or null for none
      • setThumbnails

        public ChannelSnippet setThumbnails(ThumbnailDetails thumbnails)
        A map of thumbnail images associated with the channel. 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. When displaying thumbnails in your application, make sure that your code uses the image URLs exactly as they are returned in API responses. For example, your application should not use the http domain instead of the https domain in a URL returned in an API response. Beginning in July 2018, channel thumbnail URLs will only be available in the https domain, which is how the URLs appear in API responses. After that time, you might see broken images in your application if it tries to load YouTube images from the http domain. Thumbnail images might be empty for newly created channels and might take up to one day to populate.
        Parameters:
        thumbnails - thumbnails or null for none
      • getTitle

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

        public ChannelSnippet setTitle(String title)
        The channel's title.
        Parameters:
        title - title or null for none
      • set

        public ChannelSnippet set(String fieldName,
                                  Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

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