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

View Source

A caption 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 "youtube#caption".
  • snippet (type: GoogleApi.YouTube.V3.Model.CaptionSnippet.t, default: nil) - The snippet object contains basic details about the caption.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.