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