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