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.



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

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



1200
1201
1202
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1200

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



1207
1208
1209
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1207

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



1212
1213
1214
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1212

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



1218
1219
1220
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1218

def feed_item_user_mention
  @feed_item_user_mention
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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