google_api_you_tube v0.12.0 GoogleApi.YouTube.V3.Model.SponsorSnippet View Source

Attributes

  • channelId (type: String.t, default: nil) - The id of the channel being sponsored.
  • cumulativeDurationMonths (type: integer(), default: nil) - The cumulative time a user has been a sponsor in months.
  • sponsorDetails (type: GoogleApi.YouTube.V3.Model.ChannelProfileDetails.t, default: nil) - Details about the sponsor.
  • sponsorSince (type: DateTime.t, default: nil) - The date and time when the user became a sponsor. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

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.SponsorSnippet{
  channelId: String.t(),
  cumulativeDurationMonths: integer(),
  sponsorDetails: GoogleApi.YouTube.V3.Model.ChannelProfileDetails.t(),
  sponsorSince: DateTime.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.