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

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

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






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












com.google.api.services.youtube.model

Class PlaylistItemContentDetails

    • Constructor Detail

      • PlaylistItemContentDetails

        public PlaylistItemContentDetails()
    • Method Detail

      • getEndAt

        public String getEndAt()
        The time, measured in seconds from the start of the video, when the video should stop playing. (The playlist owner can specify the times when the video should start and stop playing when the video is played in the context of the playlist.) By default, assume that the video.endTime is the end of the video.
        Returns:
        value or null for none
      • setEndAt

        public PlaylistItemContentDetails setEndAt(String endAt)
        The time, measured in seconds from the start of the video, when the video should stop playing. (The playlist owner can specify the times when the video should start and stop playing when the video is played in the context of the playlist.) By default, assume that the video.endTime is the end of the video.
        Parameters:
        endAt - endAt or null for none
      • getNote

        public String getNote()
        A user-generated note for this item.
        Returns:
        value or null for none
      • getStartAt

        public String getStartAt()
        The time, measured in seconds from the start of the video, when the video should start playing. (The playlist owner can specify the times when the video should start and stop playing when the video is played in the context of the playlist.) The default value is 0.
        Returns:
        value or null for none
      • setStartAt

        public PlaylistItemContentDetails setStartAt(String startAt)
        The time, measured in seconds from the start of the video, when the video should start playing. (The playlist owner can specify the times when the video should start and stop playing when the video is played in the context of the playlist.) The default value is 0.
        Parameters:
        startAt - startAt or null for none
      • getVideoId

        public String getVideoId()
        The ID that YouTube uses to uniquely identify a video. To retrieve the video resource, set the id query parameter to this value in your API request.
        Returns:
        value or null for none
      • setVideoId

        public PlaylistItemContentDetails setVideoId(String videoId)
        The ID that YouTube uses to uniquely identify a video. To retrieve the video resource, set the id query parameter to this value in your API request.
        Parameters:
        videoId - videoId or null for none
      • getVideoPublishedAt

        public com.google.api.client.util.DateTime getVideoPublishedAt()
        The date and time that the video was published to YouTube.
        Returns:
        value or null for none
      • setVideoPublishedAt

        public PlaylistItemContentDetails setVideoPublishedAt(com.google.api.client.util.DateTime videoPublishedAt)
        The date and time that the video was published to YouTube.
        Parameters:
        videoPublishedAt - videoPublishedAt or null for none

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy