google_api_you_tube v0.4.0 GoogleApi.YouTube.V3.Model.Sponsor 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 (String.t): Etag of this resource. Defaults to: null.
  • kind (String.t): Identifies what kind of resource this is. Value: the fixed string "youtube#sponsor". Defaults to: null.
  • snippet (SponsorSnippet): The snippet object contains basic details about the sponsor. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.YouTube.V3.Model.Sponsor{
  etag: any(),
  kind: any(),
  snippet: GoogleApi.YouTube.V3.Model.SponsorSnippet.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.