Class: Google::Apis::CesV1::ListConversationsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListConversationsResponse

Returns a new instance of ListConversationsResponse.



5740
5741
5742
# File 'lib/google/apis/ces_v1/classes.rb', line 5740

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

Instance Attribute Details

#conversationsArray<Google::Apis::CesV1::Conversation>

The list of conversations. Corresponds to the JSON property conversations



5732
5733
5734
# File 'lib/google/apis/ces_v1/classes.rb', line 5732

def conversations
  @conversations
end

#next_page_tokenString

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

Returns:

  • (String)


5738
5739
5740
# File 'lib/google/apis/ces_v1/classes.rb', line 5738

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5745
5746
5747
5748
# File 'lib/google/apis/ces_v1/classes.rb', line 5745

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