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

A membershipsLevel resource represents an offer made by YouTube creators for their fans. Users can become members of the channel by joining one of the available levels. They will provide recurring monetary support and receives special benefits.

Attributes

  • etag (type: String.t, default: nil) - Etag of this resource.
  • id (type: String.t, default: nil) - The ID that YouTube assigns to uniquely identify the memberships level.
  • kind (type: String.t, default: youtube#membershipsLevel) - Identifies what kind of resource this is. Value: the fixed string "youtube#membershipsLevel".
  • snippet (type: GoogleApi.YouTube.V3.Model.MembershipsLevelSnippet.t, default: nil) - The snippet object contains basic details about the level.

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.MembershipsLevel{
  etag: String.t(),
  id: String.t(),
  kind: String.t(),
  snippet: GoogleApi.YouTube.V3.Model.MembershipsLevelSnippet.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.