Class: Google::Apis::YoutubeV3::LiveChatPollOpenedDetails

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ LiveChatPollOpenedDetails

Returns a new instance of LiveChatPollOpenedDetails

[View source]

4638
4639
4640
# File 'generated/google/apis/youtube_v3/classes.rb', line 4638

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

Instance Attribute Details

#idString

Corresponds to the JSON property id

Returns:

  • (String)

4626
4627
4628
# File 'generated/google/apis/youtube_v3/classes.rb', line 4626

def id
  @id
end

#itemsArray<Google::Apis::YoutubeV3::LiveChatPollItem>

Corresponds to the JSON property items


4631
4632
4633
# File 'generated/google/apis/youtube_v3/classes.rb', line 4631

def items
  @items
end

#promptString

Corresponds to the JSON property prompt

Returns:

  • (String)

4636
4637
4638
# File 'generated/google/apis/youtube_v3/classes.rb', line 4636

def prompt
  @prompt
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

4643
4644
4645
4646
4647
# File 'generated/google/apis/youtube_v3/classes.rb', line 4643

def update!(**args)
  @id = args[:id] if args.key?(:id)
  @items = args[:items] if args.key?(:items)
  @prompt = args[:prompt] if args.key?(:prompt)
end
x

Warning: This is not the latest release.



Privacy · Terms