class Google::Apis::YoutubeV3::FanFundingEventSnippet

Attributes

amount_micros[RW]

The amount of funding in micros of fund_currency. e.g., 1 is represented Corresponds to the JSON property `amountMicros` @return [String]

channel_id[RW]

Channel id where the funding event occurred. Corresponds to the JSON property `channelId` @return [String]

comment_text[RW]

The text contents of the comment left by the user. Corresponds to the JSON property `commentText` @return [String]

created_at[RW]

The date and time when the funding occurred. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. Corresponds to the JSON property `createdAt` @return [DateTime]

currency[RW]

The currency in which the fund was made. ISO 4217. Corresponds to the JSON property `currency` @return [String]

display_string[RW]

A rendered string that displays the fund amount and currency (e.g., “$1.00”). The string is rendered for the given language. Corresponds to the JSON property `displayString` @return [String]

supporter_details[RW]

Details about the supporter. Only filled if the event was made public by the user. Corresponds to the JSON property `supporterDetails` @return [Google::Apis::YoutubeV3::ChannelProfileDetails]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 2873
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtube_v3/classes.rb, line 2878
def update!(**args)
  @amount_micros = args[:amount_micros] if args.key?(:amount_micros)
  @channel_id = args[:channel_id] if args.key?(:channel_id)
  @comment_text = args[:comment_text] if args.key?(:comment_text)
  @created_at = args[:created_at] if args.key?(:created_at)
  @currency = args[:currency] if args.key?(:currency)
  @display_string = args[:display_string] if args.key?(:display_string)
  @supporter_details = args[:supporter_details] if args.key?(:supporter_details)
end