Class: Google::Apis::ChatV1::ListReactionsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb

Overview

Response to a list reactions request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListReactionsResponse

Returns a new instance of ListReactionsResponse.



3506
3507
3508
# File 'lib/google/apis/chat_v1/classes.rb', line 3506

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

Instance Attribute Details

#next_page_tokenString

Continuation token to retrieve the next page of results. It's empty for the last page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3499
3500
3501
# File 'lib/google/apis/chat_v1/classes.rb', line 3499

def next_page_token
  @next_page_token
end

#reactionsArray<Google::Apis::ChatV1::Reaction>

List of reactions in the requested (or first) page. Corresponds to the JSON property reactions

Returns:



3504
3505
3506
# File 'lib/google/apis/chat_v1/classes.rb', line 3504

def reactions
  @reactions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3511
3512
3513
3514
# File 'lib/google/apis/chat_v1/classes.rb', line 3511

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @reactions = args[:reactions] if args.key?(:reactions)
end