Class: Google::Apis::YoutubeV3::LiveChatPollDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::LiveChatPollDetails
- 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
-
#metadata ⇒ Google::Apis::YoutubeV3::LiveChatPollDetailsPollMetadata
Corresponds to the JSON property
metadata. -
#status ⇒ String
Corresponds to the JSON property
status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiveChatPollDetails
constructor
A new instance of LiveChatPollDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LiveChatPollDetails
Returns a new instance of LiveChatPollDetails.
5216 5217 5218 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5216 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Google::Apis::YoutubeV3::LiveChatPollDetailsPollMetadata
Corresponds to the JSON property metadata
5209 5210 5211 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5209 def @metadata end |
#status ⇒ String
Corresponds to the JSON property status
5214 5215 5216 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5214 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5221 5222 5223 5224 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 5221 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @status = args[:status] if args.key?(:status) end |