Constructor and Description |
---|
ShortCodeReader()
Construct a new ShortCodeReader.
|
ShortCodeReader(String accountSid)
Construct a new ShortCodeReader.
|
Modifier and Type | Method and Description |
---|---|
ShortCodeReader |
byFriendlyName(String friendlyName)
Only show the ShortCode resources with friendly names that exactly match this
name.
|
ShortCodeReader |
byShortCode(String shortCode)
Only show the ShortCode resources that match this pattern.
|
ResourceSet<ShortCode> |
execute(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<ShortCode> |
firstPage(TwilioRestClient client)
Make the request to the Twilio API to perform the read.
|
Page<ShortCode> |
nextPage(Page<ShortCode> page,
TwilioRestClient client)
Retrieve the next page from the Twilio API.
|
public ShortCodeReader()
public ShortCodeReader(String accountSid)
accountSid
- The account_sidpublic ShortCodeReader byFriendlyName(String friendlyName)
friendlyName
- Filter by friendly namepublic ShortCodeReader byShortCode(String shortCode)
shortCode
- Filter by ShortCodepublic ResourceSet<ShortCode> execute(TwilioRestClient client)
public Page<ShortCode> firstPage(TwilioRestClient client)
Copyright © 2011 Twilio, Inc. All Rights Reserved.