Class: Google::Apis::CloudsearchV1::ReactionInfo

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb

Overview

Contains information about an emoji reaction.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReactionInfo

Returns a new instance of ReactionInfo.



16978
16979
16980
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16978

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

Instance Attribute Details

#emojiString

Unicode string representing a single emoji. Corresponds to the JSON property emoji

Returns:

  • (String)


16976
16977
16978
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16976

def emoji
  @emoji
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16983
16984
16985
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16983

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