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

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







PromotedItemId (YouTube Data API v3-rev20200320-1.30.9)












com.google.api.services.youtube.model

Class PromotedItemId

    • Constructor Detail

      • PromotedItemId

        public PromotedItemId()
    • Method Detail

      • getRecentlyUploadedBy

        public String getRecentlyUploadedBy()
        If type is recentUpload, this field identifies the channel from which to take the recent upload. If missing, the channel is assumed to be the same channel for which the invideoPromotion is set.
        Returns:
        value or null for none
      • setRecentlyUploadedBy

        public PromotedItemId setRecentlyUploadedBy(String recentlyUploadedBy)
        If type is recentUpload, this field identifies the channel from which to take the recent upload. If missing, the channel is assumed to be the same channel for which the invideoPromotion is set.
        Parameters:
        recentlyUploadedBy - recentlyUploadedBy or null for none
      • getType

        public String getType()
        Describes the type of the promoted item.
        Returns:
        value or null for none
      • setType

        public PromotedItemId setType(String type)
        Describes the type of the promoted item.
        Parameters:
        type - type or null for none
      • getVideoId

        public String getVideoId()
        If the promoted item represents a video, this field represents the unique YouTube ID identifying it. This field will be present only if type has the value video.
        Returns:
        value or null for none
      • setVideoId

        public PromotedItemId setVideoId(String videoId)
        If the promoted item represents a video, this field represents the unique YouTube ID identifying it. This field will be present only if type has the value video.
        Parameters:
        videoId - videoId or null for none
      • getWebsiteUrl

        public String getWebsiteUrl()
        If the promoted item represents a website, this field represents the url pointing to the website. This field will be present only if type has the value website.
        Returns:
        value or null for none
      • setWebsiteUrl

        public PromotedItemId setWebsiteUrl(String websiteUrl)
        If the promoted item represents a website, this field represents the url pointing to the website. This field will be present only if type has the value website.
        Parameters:
        websiteUrl - websiteUrl or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy