Class: Google::Apis::YoutubeV3::LiveChatPollEditedDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::LiveChatPollEditedDetails
- 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
Instance Attribute Summary collapse
-
#id ⇒ String
Corresponds to the JSON property
id
. -
#items ⇒ Array<Google::Apis::YoutubeV3::LiveChatPollItem>
Corresponds to the JSON property
items
. -
#prompt ⇒ String
Corresponds to the JSON property
prompt
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiveChatPollEditedDetails
constructor
A new instance of LiveChatPollEditedDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LiveChatPollEditedDetails
Returns a new instance of LiveChatPollEditedDetails
4613 4614 4615 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4613 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Corresponds to the JSON property id
4601 4602 4603 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4601 def id @id end |
#items ⇒ Array<Google::Apis::YoutubeV3::LiveChatPollItem>
Corresponds to the JSON property items
4606 4607 4608 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4606 def items @items end |
#prompt ⇒ String
Corresponds to the JSON property prompt
4611 4612 4613 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4611 def prompt @prompt end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4618 4619 4620 4621 4622 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4618 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 |