Class: Google::Apis::YoutubeV3::LiveChatPollClosedDetails

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

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) ⇒ LiveChatPollClosedDetails

Returns a new instance of LiveChatPollClosedDetails



4553
4554
4555
# File 'generated/google/apis/youtube_v3/classes.rb', line 4553

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

Instance Attribute Details

#poll_idString

The id of the poll that was closed. Corresponds to the JSON property pollId

Returns:

  • (String)


4551
4552
4553
# File 'generated/google/apis/youtube_v3/classes.rb', line 4551

def poll_id
  @poll_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4558
4559
4560
# File 'generated/google/apis/youtube_v3/classes.rb', line 4558

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