Class DependentHostedNumberOrderReader
- java.lang.Object
-
- com.twilio.base.Reader<DependentHostedNumberOrder>
-
- com.twilio.rest.preview.hostedNumbers.authorizationdocument.DependentHostedNumberOrderReader
-
public class DependentHostedNumberOrderReader extends Reader<DependentHostedNumberOrder>
-
-
Constructor Summary
Constructors Constructor Description DependentHostedNumberOrderReader(String pathSigningDocumentSid)
-
Method Summary
-
-
-
Constructor Detail
-
DependentHostedNumberOrderReader
public DependentHostedNumberOrderReader(String pathSigningDocumentSid)
-
-
Method Detail
-
setStatus
public DependentHostedNumberOrderReader setStatus(DependentHostedNumberOrder.Status status)
-
setPhoneNumber
public DependentHostedNumberOrderReader setPhoneNumber(PhoneNumber phoneNumber)
-
setPhoneNumber
public DependentHostedNumberOrderReader setPhoneNumber(String phoneNumber)
-
setIncomingPhoneNumberSid
public DependentHostedNumberOrderReader setIncomingPhoneNumberSid(String incomingPhoneNumberSid)
-
setFriendlyName
public DependentHostedNumberOrderReader setFriendlyName(String friendlyName)
-
setUniqueName
public DependentHostedNumberOrderReader setUniqueName(String uniqueName)
-
setPageSize
public DependentHostedNumberOrderReader setPageSize(Integer pageSize)
-
read
public ResourceSet<DependentHostedNumberOrder> read(TwilioRestClient client)
Description copied from class:Reader
Execute a request using specified client.- Specified by:
read
in classReader<DependentHostedNumberOrder>
- Parameters:
client
- client used to make request- Returns:
- ResourceSet of objects
-
firstPage
public Page<DependentHostedNumberOrder> firstPage(TwilioRestClient client)
Description copied from class:Reader
Fetch the first page of resources using specified client.- Specified by:
firstPage
in classReader<DependentHostedNumberOrder>
- Parameters:
client
- client used to fetch- Returns:
- Page containing the first pageSize of resources
-
previousPage
public Page<DependentHostedNumberOrder> previousPage(Page<DependentHostedNumberOrder> page, TwilioRestClient client)
Description copied from class:Reader
Fetch the prior page of resources using specified client.- Specified by:
previousPage
in classReader<DependentHostedNumberOrder>
- Parameters:
page
- current page of resourcesclient
- client used to fetch- Returns:
- Page containing the previous pageSize of resources
-
nextPage
public Page<DependentHostedNumberOrder> nextPage(Page<DependentHostedNumberOrder> page, TwilioRestClient client)
Description copied from class:Reader
Fetch the following page of resources using specified client.- Specified by:
nextPage
in classReader<DependentHostedNumberOrder>
- Parameters:
page
- current page of resourcesclient
- client used to fetch- Returns:
- Page containing the next pageSize of resources
-
getPage
public Page<DependentHostedNumberOrder> getPage(String targetUrl, TwilioRestClient client)
Description copied from class:Reader
Retrieve the target page of resources.- Specified by:
getPage
in classReader<DependentHostedNumberOrder>
- Parameters:
targetUrl
- API-generated URL for the requested results pageclient
- client used to fetch- Returns:
- Page containing the target pageSize of resources
-
-