Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedChatItemActivityInfo

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteSharedChatItemActivityInfo

Returns a new instance of AppsDynamiteSharedChatItemActivityInfo.



1234
1235
1236
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1234

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

Instance Attribute Details

#feed_item_nudgeGoogle::Apis::CloudsearchV1::AppsDynamiteSharedChatItemActivityInfoFeedItemNudge

Existence of this attribute indicates that the AF item is for a message nudge item. Corresponds to the JSON property feedItemNudge



1214
1215
1216
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1214

def feed_item_nudge
  @feed_item_nudge
end

#feed_item_reactionsGoogle::Apis::CloudsearchV1::AppsDynamiteSharedChatItemActivityInfoFeedItemReactions

Existence of this attribute indicates that the AF item is for message reactions, but it is intentionally left empty since the list of reactions can be found in the top-level Message.Reactions. Corresponds to the JSON property feedItemReactions



1221
1222
1223
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1221

def feed_item_reactions
  @feed_item_reactions
end

#feed_item_thread_replyGoogle::Apis::CloudsearchV1::AppsDynamiteSharedChatItemActivityInfoFeedItemThreadReply

Existence of this attribute indicates that the AF item is for thread reply. Corresponds to the JSON property feedItemThreadReply



1226
1227
1228
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1226

def feed_item_thread_reply
  @feed_item_thread_reply
end

#feed_item_user_mentionGoogle::Apis::CloudsearchV1::AppsDynamiteSharedChatItemActivityInfoFeedItemUserMention

Existence of this attribute indicates that the AF item is for a user mention item. Corresponds to the JSON property feedItemUserMention



1232
1233
1234
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1232

def feed_item_user_mention
  @feed_item_user_mention
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1239
1240
1241
1242
1243
1244
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1239

def update!(**args)
  @feed_item_nudge = args[:feed_item_nudge] if args.key?(:feed_item_nudge)
  @feed_item_reactions = args[:feed_item_reactions] if args.key?(:feed_item_reactions)
  @feed_item_thread_reply = args[:feed_item_thread_reply] if args.key?(:feed_item_thread_reply)
  @feed_item_user_mention = args[:feed_item_user_mention] if args.key?(:feed_item_user_mention)
end