Class: Google::Apis::YoutubeV3::LiveChatPollOpenedDetails
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::YoutubeV3::LiveChatPollOpenedDetails
 
- 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)  ⇒ LiveChatPollOpenedDetails 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of LiveChatPollOpenedDetails. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LiveChatPollOpenedDetails
Returns a new instance of LiveChatPollOpenedDetails
| 4642 4643 4644 | # File 'generated/google/apis/youtube_v3/classes.rb', line 4642 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#id ⇒ String
Corresponds to the JSON property id
| 4630 4631 4632 | # File 'generated/google/apis/youtube_v3/classes.rb', line 4630 def id @id end | 
#items ⇒ Array<Google::Apis::YoutubeV3::LiveChatPollItem>
Corresponds to the JSON property items
| 4635 4636 4637 | # File 'generated/google/apis/youtube_v3/classes.rb', line 4635 def items @items end | 
#prompt ⇒ String
Corresponds to the JSON property prompt
| 4640 4641 4642 | # File 'generated/google/apis/youtube_v3/classes.rb', line 4640 def prompt @prompt end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4647 4648 4649 4650 4651 | # File 'generated/google/apis/youtube_v3/classes.rb', line 4647 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 |