Class: Google::Apis::CesV1::ListConversationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::ListConversationsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Response message for AgentService.ListConversations.
Instance Attribute Summary collapse
-
#conversations ⇒ Array<Google::Apis::CesV1::Conversation>
The list of conversations.
-
#next_page_token ⇒ String
A token that can be sent as ListConversationsRequest.page_token to retrieve the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListConversationsResponse
constructor
A new instance of ListConversationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListConversationsResponse
Returns a new instance of ListConversationsResponse.
4315 4316 4317 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4315 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conversations ⇒ Array<Google::Apis::CesV1::Conversation>
The list of conversations.
Corresponds to the JSON property conversations
4307 4308 4309 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4307 def conversations @conversations end |
#next_page_token ⇒ String
A token that can be sent as ListConversationsRequest.page_token to retrieve
the next page. Absence of this field indicates there are no subsequent pages.
Corresponds to the JSON property nextPageToken
4313 4314 4315 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4313 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4320 4321 4322 4323 |
# File 'lib/google/apis/ces_v1/classes.rb', line 4320 def update!(**args) @conversations = args[:conversations] if args.key?(:conversations) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |