class Google::Apis::YoutubeV3::MembershipsDurationAtLevel
Attributes
level[RW]
Pricing level ID. Corresponds to the JSON property `level` @return [String]
member_since[RW]
The date and time when the user became a continuous member for the given level. Corresponds to the JSON property `memberSince` @return [String]
member_total_duration_months[RW]
The cumulative time the user has been a member for the given level in complete months (the time is rounded down to the nearest integer). Corresponds to the JSON property `memberTotalDurationMonths` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 5322 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 5327 def update!(**args) @level = args[:level] if args.key?(:level) @member_since = args[:member_since] if args.key?(:member_since) @member_total_duration_months = args[:member_total_duration_months] if args.key?(:member_total_duration_months) end