Class: Google::Apis::ChatV1::ListReactionsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::ListReactionsResponse
- 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
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Continuation token to retrieve the next page of results.
-
#reactions ⇒ Array<Google::Apis::ChatV1::Reaction>
List of reactions in the requested (or first) page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListReactionsResponse
constructor
A new instance of ListReactionsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListReactionsResponse
Returns a new instance of ListReactionsResponse.
3156 3157 3158 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3156 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Continuation token to retrieve the next page of results. It's empty for the
last page of results.
Corresponds to the JSON property nextPageToken
3149 3150 3151 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3149 def next_page_token @next_page_token end |
#reactions ⇒ Array<Google::Apis::ChatV1::Reaction>
List of reactions in the requested (or first) page.
Corresponds to the JSON property reactions
3154 3155 3156 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3154 def reactions @reactions end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3161 3162 3163 3164 |
# File 'lib/google/apis/chat_v1/classes.rb', line 3161 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @reactions = args[:reactions] if args.key?(:reactions) end |