public class AskFastRestClient extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ASKFAST_KEYSERVER |
static String |
ASKFAST_REST_API |
| Constructor and Description |
|---|
AskFastRestClient(String accountId) |
AskFastRestClient(String accountId,
String refreshToken) |
AskFastRestClient(String accountId,
String refreshToken,
String accessToken) |
| Modifier and Type | Method and Description |
|---|---|
void |
buyAdapter(String adapterId) |
Dialog |
createDialog(Dialog dialog) |
String |
getAccessToken() |
Set<Adapter> |
getAdapters(String type) |
List<DDRRecord> |
getDDRRecords(String adapterId,
String fromAddress,
String typeId,
String status,
Long startTime,
Long endTime,
String delimitedSessionKeys,
Integer offset,
Integer limit,
Boolean shouldGenerateCosts,
Boolean shouldIncludeServiceCosts) |
Dialog |
getDialog(String dialogId) |
Set<Dialog> |
getDialogs() |
Set<Adapter> |
getFreeAdapters(String adapterType,
String address) |
String |
getRefreshToken() |
void |
removeAdapter(String adapterId) |
void |
removeDialog(String dialogId) |
String |
startPhoneDialog(String fromAddress,
String toAddress,
String url) |
Dialog |
updateDialog(String dialogId,
Dialog dialog) |
public static final String ASKFAST_REST_API
public static final String ASKFAST_KEYSERVER
public AskFastRestClient(String accountId)
public void buyAdapter(String adapterId)
public void removeAdapter(String adapterId)
public void removeDialog(String dialogId)
public List<DDRRecord> getDDRRecords(String adapterId, String fromAddress, String typeId, String status, Long startTime, Long endTime, String delimitedSessionKeys, Integer offset, Integer limit, Boolean shouldGenerateCosts, Boolean shouldIncludeServiceCosts)
public String getRefreshToken()
Copyright © 2015 AskFast BV. All rights reserved.