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.



16882
16883
16884
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16882

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

Instance Attribute Details

#emojiString

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

Returns:

  • (String)


16880
16881
16882
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16880

def emoji
  @emoji
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16887
16888
16889
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16887

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