Class: Google::Apis::ChatV1::ListSectionItemsResponse

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 message for listing section items.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSectionItemsResponse

Returns a new instance of ListSectionItemsResponse.



4789
4790
4791
# File 'lib/google/apis/chat_v1/classes.rb', line 4789

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

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


4782
4783
4784
# File 'lib/google/apis/chat_v1/classes.rb', line 4782

def next_page_token
  @next_page_token
end

#section_itemsArray<Google::Apis::ChatV1::SectionItem>

The section items from the specified section. Corresponds to the JSON property sectionItems



4787
4788
4789
# File 'lib/google/apis/chat_v1/classes.rb', line 4787

def section_items
  @section_items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4794
4795
4796
4797
# File 'lib/google/apis/chat_v1/classes.rb', line 4794

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