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.
16978 16979 16980 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16978 def initialize(**args) update!(**args) end |
Instance Attribute Details
#emoji ⇒ String
Unicode string representing a single emoji.
Corresponds to the JSON property emoji
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 |