google_api_you_tube v0.21.0 GoogleApi.YouTube.V3.Model.Caption View Source

A <code><strong>caption</strong></code> resource represents a YouTube caption track. A caption track is associated with exactly one YouTube video.

Attributes

  • etag (type: String.t, default: nil) - Etag of this resource.
  • id (type: String.t, default: nil) - The ID that YouTube uses to uniquely identify the caption track.
  • kind (type: String.t, default: youtube#caption) - Identifies what kind of resource this is. Value: the fixed string <code>"youtube#caption"</code>.
  • snippet (type: GoogleApi.YouTube.V3.Model.CaptionSnippet.t, default: nil) - The <code>snippet</code> object contains basic details about the caption.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.YouTube.V3.Model.Caption{
  etag: String.t(),
  id: String.t(),
  kind: String.t(),
  snippet: GoogleApi.YouTube.V3.Model.CaptionSnippet.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.