Class CustomerProfilesChannelEndpointAssignmentReader
- java.lang.Object
-
- com.twilio.base.Reader<CustomerProfilesChannelEndpointAssignment>
-
- com.twilio.rest.trusthub.v1.customerprofiles.CustomerProfilesChannelEndpointAssignmentReader
-
public class CustomerProfilesChannelEndpointAssignmentReader extends Reader<CustomerProfilesChannelEndpointAssignment>
-
-
Constructor Summary
Constructors Constructor Description CustomerProfilesChannelEndpointAssignmentReader(String pathCustomerProfileSid)
-
Method Summary
-
-
-
Constructor Detail
-
CustomerProfilesChannelEndpointAssignmentReader
public CustomerProfilesChannelEndpointAssignmentReader(String pathCustomerProfileSid)
-
-
Method Detail
-
setChannelEndpointSid
public CustomerProfilesChannelEndpointAssignmentReader setChannelEndpointSid(String channelEndpointSid)
-
setChannelEndpointSids
public CustomerProfilesChannelEndpointAssignmentReader setChannelEndpointSids(String channelEndpointSids)
-
setPageSize
public CustomerProfilesChannelEndpointAssignmentReader setPageSize(Integer pageSize)
-
read
public ResourceSet<CustomerProfilesChannelEndpointAssignment> read(TwilioRestClient client)
Description copied from class:ReaderExecute a request using specified client.- Specified by:
readin classReader<CustomerProfilesChannelEndpointAssignment>- Parameters:
client- client used to make request- Returns:
- ResourceSet of objects
-
firstPage
public Page<CustomerProfilesChannelEndpointAssignment> firstPage(TwilioRestClient client)
Description copied from class:ReaderFetch the first page of resources using specified client.- Specified by:
firstPagein classReader<CustomerProfilesChannelEndpointAssignment>- Parameters:
client- client used to fetch- Returns:
- Page containing the first pageSize of resources
-
previousPage
public Page<CustomerProfilesChannelEndpointAssignment> previousPage(Page<CustomerProfilesChannelEndpointAssignment> page, TwilioRestClient client)
Description copied from class:ReaderFetch the prior page of resources using specified client.- Specified by:
previousPagein classReader<CustomerProfilesChannelEndpointAssignment>- Parameters:
page- current page of resourcesclient- client used to fetch- Returns:
- Page containing the previous pageSize of resources
-
nextPage
public Page<CustomerProfilesChannelEndpointAssignment> nextPage(Page<CustomerProfilesChannelEndpointAssignment> page, TwilioRestClient client)
Description copied from class:ReaderFetch the following page of resources using specified client.- Specified by:
nextPagein classReader<CustomerProfilesChannelEndpointAssignment>- Parameters:
page- current page of resourcesclient- client used to fetch- Returns:
- Page containing the next pageSize of resources
-
getPage
public Page<CustomerProfilesChannelEndpointAssignment> getPage(String targetUrl, TwilioRestClient client)
Description copied from class:ReaderRetrieve the target page of resources.- Specified by:
getPagein classReader<CustomerProfilesChannelEndpointAssignment>- Parameters:
targetUrl- API-generated URL for the requested results pageclient- client used to fetch- Returns:
- Page containing the target pageSize of resources
-
-