GoogleApi.YouTube.V3.Model.PlaylistItemContentDetails (google_api_you_tube v0.54.0)

View Source

Attributes

  • endAt (type: String.t, default: nil) - 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.
  • note (type: String.t, default: nil) - A user-generated note for this item.
  • startAt (type: String.t, default: nil) - 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.
  • videoId (type: String.t, default: nil) - 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.
  • videoPublishedAt (type: DateTime.t, default: nil) - The date and time that the video was published to YouTube.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.YouTube.V3.Model.PlaylistItemContentDetails{
  endAt: String.t() | nil,
  note: String.t() | nil,
  startAt: String.t() | nil,
  videoId: String.t() | nil,
  videoPublishedAt: DateTime.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.