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

View Source

Attributes

  • accessibleLevels (type: list(String.t), default: nil) - Ids of all levels that the user has access to. This includes the currently active level and all other levels that are included because of a higher purchase.
  • highestAccessibleLevel (type: String.t, default: nil) - Id of the highest level that the user has access to at the moment.
  • highestAccessibleLevelDisplayName (type: String.t, default: nil) - Display name for the highest level that the user has access to at the moment.
  • membershipsDuration (type: GoogleApi.YouTube.V3.Model.MembershipsDuration.t, default: nil) - Data about memberships duration without taking into consideration pricing levels.
  • membershipsDurationAtLevels (type: list(GoogleApi.YouTube.V3.Model.MembershipsDurationAtLevel.t), default: nil) - Data about memberships duration on particular pricing levels.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.YouTube.V3.Model.MembershipsDetails{
  accessibleLevels: [String.t()] | nil,
  highestAccessibleLevel: String.t() | nil,
  highestAccessibleLevelDisplayName: String.t() | nil,
  membershipsDuration: GoogleApi.YouTube.V3.Model.MembershipsDuration.t() | nil,
  membershipsDurationAtLevels:
    [GoogleApi.YouTube.V3.Model.MembershipsDurationAtLevel.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.