Class: Google::Apis::YoutubeV3::MemberSnippet

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MemberSnippet

Returns a new instance of MemberSnippet.



5422
5423
5424
# File 'lib/google/apis/youtube_v3/classes.rb', line 5422

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#creator_channel_idString

The id of the channel that's offering memberships. Corresponds to the JSON property creatorChannelId

Returns:

  • (String)


5410
5411
5412
# File 'lib/google/apis/youtube_v3/classes.rb', line 5410

def creator_channel_id
  @creator_channel_id
end

#member_detailsGoogle::Apis::YoutubeV3::ChannelProfileDetails

Details about the member. Corresponds to the JSON property memberDetails



5415
5416
5417
# File 'lib/google/apis/youtube_v3/classes.rb', line 5415

def member_details
  @member_details
end

#memberships_detailsGoogle::Apis::YoutubeV3::MembershipsDetails

Details about the user's membership. Corresponds to the JSON property membershipsDetails



5420
5421
5422
# File 'lib/google/apis/youtube_v3/classes.rb', line 5420

def memberships_details
  @memberships_details
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5427
5428
5429
5430
5431
# File 'lib/google/apis/youtube_v3/classes.rb', line 5427

def update!(**args)
  @creator_channel_id = args[:creator_channel_id] if args.key?(:creator_channel_id)
  @member_details = args[:member_details] if args.key?(:member_details)
  @memberships_details = args[:memberships_details] if args.key?(:memberships_details)
end