Class: Google::Apis::ChatV1::ListSectionItemsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::ListSectionItemsResponse
- 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 message for listing section items.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token, which can be sent as
page_tokento retrieve the next page. -
#section_items ⇒ Array<Google::Apis::ChatV1::SectionItem>
The section items from the specified section.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSectionItemsResponse
constructor
A new instance of ListSectionItemsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListSectionItemsResponse
Returns a new instance of ListSectionItemsResponse.
4974 4975 4976 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4974 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token, which can be sent as page_token to retrieve the next page. If this
field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
4967 4968 4969 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4967 def next_page_token @next_page_token end |
#section_items ⇒ Array<Google::Apis::ChatV1::SectionItem>
The section items from the specified section.
Corresponds to the JSON property sectionItems
4972 4973 4974 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4972 def section_items @section_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4979 4980 4981 4982 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4979 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @section_items = args[:section_items] if args.key?(:section_items) end |