public abstract class AvailablePhoneNumbersEndpoint extends SecuredEndpoint
SecuredEndpoint.SecuredType| Modifier and Type | Field and Description |
|---|---|
protected javax.servlet.ServletContext |
context |
protected com.google.gson.Gson |
gson |
protected PhoneNumberProvisioningManager |
phoneNumberProvisioningManager |
accountsDao, extensions, identityContext, logger, userIdentityContextbaseRecordingsPath, configuration| Constructor and Description |
|---|
AvailablePhoneNumbersEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.ws.rs.core.Response |
getAvailablePhoneNumbers(String accountSid,
String isoCountryCode,
PhoneNumberSearchFilters listFilters,
String filterPattern,
javax.ws.rs.core.MediaType responseType) |
static String |
getNumber(char letter) |
void |
init() |
allowOnlySuperAdmin, checkAuthenticatedAccount, checkPermission, executePostApiAction, executePreApiAction, getAdministratorRole, hasAccountRole, init, isSecuredByPermission, isSuperAdmin, secure, secure, securegetApiVersion, getBigInteger, getBoolean, getDateTime, getHasVoiceCallerIdLookup, getInteger, getLong, getMethod, getPhoneNumber, getSid, getUrl, isEmpty@Context protected javax.servlet.ServletContext context
protected PhoneNumberProvisioningManager phoneNumberProvisioningManager
protected com.google.gson.Gson gson
@PostConstruct public void init() throws ObjectInstantiationException
ObjectInstantiationExceptionprotected javax.ws.rs.core.Response getAvailablePhoneNumbers(String accountSid, String isoCountryCode, PhoneNumberSearchFilters listFilters, String filterPattern, javax.ws.rs.core.MediaType responseType)
public static String getNumber(char letter)
Copyright © 2017. All Rights Reserved.