Class CredentialListReader
- java.lang.Object
-
- com.twilio.base.Reader<CredentialList>
-
- com.twilio.rest.api.v2010.account.sip.CredentialListReader
-
public class CredentialListReader extends Reader<CredentialList>
-
-
Constructor Summary
Constructors Constructor Description CredentialListReader()
CredentialListReader(String pathAccountSid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page<CredentialList>
firstPage(TwilioRestClient client)
Fetch the first page of resources using specified client.Page<CredentialList>
getPage(String targetUrl, TwilioRestClient client)
Retrieve the target page of resources.Page<CredentialList>
nextPage(Page<CredentialList> page, TwilioRestClient client)
Fetch the following page of resources using specified client.Page<CredentialList>
previousPage(Page<CredentialList> page, TwilioRestClient client)
Fetch the prior page of resources using specified client.ResourceSet<CredentialList>
read(TwilioRestClient client)
Execute a request using specified client.CredentialListReader
setPageSize(Integer pageSize)
-
-
-
Constructor Detail
-
CredentialListReader
public CredentialListReader()
-
CredentialListReader
public CredentialListReader(String pathAccountSid)
-
-
Method Detail
-
setPageSize
public CredentialListReader setPageSize(Integer pageSize)
-
read
public ResourceSet<CredentialList> read(TwilioRestClient client)
Description copied from class:Reader
Execute a request using specified client.- Specified by:
read
in classReader<CredentialList>
- Parameters:
client
- client used to make request- Returns:
- ResourceSet of objects
-
firstPage
public Page<CredentialList> firstPage(TwilioRestClient client)
Description copied from class:Reader
Fetch the first page of resources using specified client.- Specified by:
firstPage
in classReader<CredentialList>
- Parameters:
client
- client used to fetch- Returns:
- Page containing the first pageSize of resources
-
previousPage
public Page<CredentialList> previousPage(Page<CredentialList> page, TwilioRestClient client)
Description copied from class:Reader
Fetch the prior page of resources using specified client.- Specified by:
previousPage
in classReader<CredentialList>
- Parameters:
page
- current page of resourcesclient
- client used to fetch- Returns:
- Page containing the previous pageSize of resources
-
nextPage
public Page<CredentialList> nextPage(Page<CredentialList> page, TwilioRestClient client)
Description copied from class:Reader
Fetch the following page of resources using specified client.- Specified by:
nextPage
in classReader<CredentialList>
- Parameters:
page
- current page of resourcesclient
- client used to fetch- Returns:
- Page containing the next pageSize of resources
-
getPage
public Page<CredentialList> getPage(String targetUrl, TwilioRestClient client)
Description copied from class:Reader
Retrieve the target page of resources.- Specified by:
getPage
in classReader<CredentialList>
- Parameters:
targetUrl
- API-generated URL for the requested results pageclient
- client used to fetch- Returns:
- Page containing the target pageSize of resources
-
-