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.
13919 13920 13921 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13919 def initialize(**args) update!(**args) end |
Instance Attribute Details
#emoji ⇒ String
Unicode string representing a single emoji.
Corresponds to the JSON property emoji
13917 13918 13919 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13917 def emoji @emoji end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13924 13925 13926 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 13924 def update!(**args) @emoji = args[:emoji] if args.key?(:emoji) end |