Class: Google::Apis::YoutubeV3::LiveChatPollVotedDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::LiveChatPollVotedDetails
- 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
-
#item_id ⇒ String
The poll item the user chose.
-
#poll_id ⇒ String
The poll the user voted on.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiveChatPollVotedDetails
constructor
A new instance of LiveChatPollVotedDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LiveChatPollVotedDetails
Returns a new instance of LiveChatPollVotedDetails
4872 4873 4874 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4872 def initialize(**args) update!(**args) end |
Instance Attribute Details
#item_id ⇒ String
The poll item the user chose.
Corresponds to the JSON property itemId
4865 4866 4867 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4865 def item_id @item_id end |
#poll_id ⇒ String
The poll the user voted on.
Corresponds to the JSON property pollId
4870 4871 4872 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4870 def poll_id @poll_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4877 4878 4879 4880 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4877 def update!(**args) @item_id = args[:item_id] if args.key?(:item_id) @poll_id = args[:poll_id] if args.key?(:poll_id) end |