Class: Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::YoutubeV3::LiveChatFanFundingEventDetails
 
 
- 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
- 
  
    
      #amount_display_string  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A rendered string that displays the fund amount and currency to the user.
 - 
  
    
      #amount_micros  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The amount of the fund.
 - 
  
    
      #currency  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The currency in which the fund was made.
 - 
  
    
      #user_comment  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The comment added by the user to this fan funding event.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ LiveChatFanFundingEventDetails 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of LiveChatFanFundingEventDetails.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ LiveChatFanFundingEventDetails
Returns a new instance of LiveChatFanFundingEventDetails.
      4197 4198 4199  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4197 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#amount_display_string ⇒ String
A rendered string that displays the fund amount and currency to the user.
Corresponds to the JSON property amountDisplayString
      4180 4181 4182  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4180 def amount_display_string @amount_display_string end  | 
  
#amount_micros ⇒ Fixnum
The amount of the fund.
Corresponds to the JSON property amountMicros
      4185 4186 4187  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4185 def amount_micros @amount_micros end  | 
  
#currency ⇒ String
The currency in which the fund was made.
Corresponds to the JSON property currency
      4190 4191 4192  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4190 def currency @currency end  | 
  
#user_comment ⇒ String
The comment added by the user to this fan funding event.
Corresponds to the JSON property userComment
      4195 4196 4197  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4195 def user_comment @user_comment end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4202 4203 4204 4205 4206 4207  | 
    
      # File 'lib/google/apis/youtube_v3/classes.rb', line 4202 def update!(**args) @amount_display_string = args[:amount_display_string] if args.key?(:amount_display_string) @amount_micros = args[:amount_micros] if args.key?(:amount_micros) @currency = args[:currency] if args.key?(:currency) @user_comment = args[:user_comment] if args.key?(:user_comment) end  |