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

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

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






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












com.google.api.services.youtube.model

Class ResourceId

    • Constructor Detail

      • ResourceId

        public ResourceId()
    • Method Detail

      • getChannelId

        public String getChannelId()
        The ID that YouTube uses to uniquely identify the referred resource, if that resource is a channel. This property is only present if the resourceId.kind value is youtube#channel.
        Returns:
        value or null for none
      • setChannelId

        public ResourceId setChannelId(String channelId)
        The ID that YouTube uses to uniquely identify the referred resource, if that resource is a channel. This property is only present if the resourceId.kind value is youtube#channel.
        Parameters:
        channelId - channelId or null for none
      • getKind

        public String getKind()
        The type of the API resource.
        Returns:
        value or null for none
      • setKind

        public ResourceId setKind(String kind)
        The type of the API resource.
        Parameters:
        kind - kind or null for none
      • getPlaylistId

        public String getPlaylistId()
        The ID that YouTube uses to uniquely identify the referred resource, if that resource is a playlist. This property is only present if the resourceId.kind value is youtube#playlist.
        Returns:
        value or null for none
      • setPlaylistId

        public ResourceId setPlaylistId(String playlistId)
        The ID that YouTube uses to uniquely identify the referred resource, if that resource is a playlist. This property is only present if the resourceId.kind value is youtube#playlist.
        Parameters:
        playlistId - playlistId or null for none
      • getVideoId

        public String getVideoId()
        The ID that YouTube uses to uniquely identify the referred resource, if that resource is a video. This property is only present if the resourceId.kind value is youtube#video.
        Returns:
        value or null for none
      • setVideoId

        public ResourceId setVideoId(String videoId)
        The ID that YouTube uses to uniquely identify the referred resource, if that resource is a video. This property is only present if the resourceId.kind value is youtube#video.
        Parameters:
        videoId - videoId or null for none
      • set

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

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