GoogleApi.YouTube.V3.Model.Sponsor (google_api_you_tube v0.27.0) View Source

A __sponsor__ resource represents a sponsor for a YouTube channel. A sponsor provides recurring monetary support to a creator and receives special benefits.

Attributes

  • etag (type: String.t, default: nil) - Etag of this resource.
  • kind (type: String.t, default: youtube#sponsor) - Identifies what kind of resource this is. Value: the fixed string "youtube#sponsor".
  • snippet (type: GoogleApi.YouTube.V3.Model.SponsorSnippet.t, default: nil) - The snippet object contains basic details about the sponsor.

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.Sponsor{
  etag: String.t(),
  kind: String.t(),
  snippet: GoogleApi.YouTube.V3.Model.SponsorSnippet.t()
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.