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

Attributes

  • accessibleLevels (type: list(String.t), default: nil) - All levels that the user has access to. This includes the purchased level and all other levels that are included because of a higher purchase.
  • memberSince (type: String.t, default: nil) - The date and time when the user became a continuous member across all levels.
  • memberSinceCurrentLevel (type: String.t, default: nil) - The date and time when the user started to continuously have access to the currently highest level.
  • memberTotalDuration (type: integer(), default: nil) - The cumulative time the user has been a member across all levels in complete months (the time is rounded down to the nearest integer).
  • memberTotalDurationCurrentLevel (type: integer(), default: nil) - The cumulative time the user has had access to the currently highest level in complete months (the time is rounded down to the nearest integer).
  • purchasedLevel (type: String.t, default: nil) - The highest level the user has access to at the moment.

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.MembershipsDetails{
  accessibleLevels: [String.t()],
  memberSince: String.t(),
  memberSinceCurrentLevel: String.t(),
  memberTotalDuration: integer(),
  memberTotalDurationCurrentLevel: integer(),
  purchasedLevel: String.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.