GoogleApi.YouTube.V3.Model.MembershipsDetails (google_api_you_tube v0.28.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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.