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

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#membershipsLevelListResponse".
  • snippet (type: GoogleApi.YouTube.V3.Model.MembershipsLevelSnippet.t, default: nil) - The snippet object contains basic details about the level.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.YouTube.V3.Model.MembershipsLevel{
  etag: String.t() | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  snippet: GoogleApi.YouTube.V3.Model.MembershipsLevelSnippet.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.