Class: Google::Apis::CloudsearchV1::ReactionInfo
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ReactionInfo
- 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
-
#emoji ⇒ String
Unicode string representing a single emoji.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReactionInfo
constructor
A new instance of ReactionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#emoji ⇒ String
Unicode string representing a single emoji.
Corresponds to the JSON property emoji
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 |