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

View Source

Specifies who is allowed to train on the video.

Attributes

  • etag (type: String.t, default: nil) - Etag of this resource.
  • kind (type: String.t, default: youtube#videoTrainability) - Identifies what kind of resource this is. Value: the fixed string "youtube#videoTrainability".
  • permitted (type: list(String.t), default: nil) - Specifies who is allowed to train on the video. Valid values are: - a single string "all" - a single string "none" - a list of allowed parties
  • videoId (type: String.t, default: nil) - The ID of the video.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.YouTube.V3.Model.VideoTrainability{
  etag: String.t() | nil,
  kind: String.t() | nil,
  permitted: [String.t()] | nil,
  videoId: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.