Class: Google::Apis::YoutubeV3::LiveChatPollDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LiveChatPollDetails

Returns a new instance of LiveChatPollDetails.



4939
4940
4941
# File 'lib/google/apis/youtube_v3/classes.rb', line 4939

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

Instance Attribute Details

#metadataGoogle::Apis::YoutubeV3::LiveChatPollDetailsPollMetadata

Corresponds to the JSON property metadata



4932
4933
4934
# File 'lib/google/apis/youtube_v3/classes.rb', line 4932

def 
  @metadata
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


4937
4938
4939
# File 'lib/google/apis/youtube_v3/classes.rb', line 4937

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4944
4945
4946
4947
# File 'lib/google/apis/youtube_v3/classes.rb', line 4944

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