public class InsightClient extends java.lang.Object
NexmoClient.getInsightClient().| Modifier and Type | Field and Description |
|---|---|
protected AdvancedInsightEndpoint |
advanced |
protected BasicInsightEndpoint |
basic |
protected StandardInsightEndpoint |
standard |
| Constructor and Description |
|---|
InsightClient(HttpWrapper httpWrapper)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AdvancedInsightResponse |
getAdvancedNumberInsight(java.lang.String number) |
AdvancedInsightResponse |
getAdvancedNumberInsight(java.lang.String number,
java.lang.String country) |
AdvancedInsightResponse |
getAdvancedNumberInsight(java.lang.String number,
java.lang.String country,
java.lang.String ipAddress) |
AdvancedInsightResponse |
getAdvancedNumberInsight(java.lang.String number,
java.lang.String country,
java.lang.String ipAddress,
boolean cnam) |
BasicInsightResponse |
getBasicNumberInsight(java.lang.String number) |
BasicInsightResponse |
getBasicNumberInsight(java.lang.String number,
java.lang.String country) |
StandardInsightResponse |
getStandardNumberInsight(java.lang.String number) |
StandardInsightResponse |
getStandardNumberInsight(java.lang.String number,
java.lang.String country) |
StandardInsightResponse |
getStandardNumberInsight(java.lang.String number,
java.lang.String country,
boolean cnam) |
protected BasicInsightEndpoint basic
protected StandardInsightEndpoint standard
protected AdvancedInsightEndpoint advanced
public InsightClient(HttpWrapper httpWrapper)
httpWrapper - (required) shared HTTP wrapper object used for making REST calls.public BasicInsightResponse getBasicNumberInsight(java.lang.String number) throws java.io.IOException, NexmoClientException
java.io.IOExceptionNexmoClientExceptionpublic BasicInsightResponse getBasicNumberInsight(java.lang.String number, java.lang.String country) throws java.io.IOException, NexmoClientException
java.io.IOExceptionNexmoClientExceptionpublic StandardInsightResponse getStandardNumberInsight(java.lang.String number) throws java.io.IOException, NexmoClientException
java.io.IOExceptionNexmoClientExceptionpublic StandardInsightResponse getStandardNumberInsight(java.lang.String number, java.lang.String country) throws java.io.IOException, NexmoClientException
java.io.IOExceptionNexmoClientExceptionpublic StandardInsightResponse getStandardNumberInsight(java.lang.String number, java.lang.String country, boolean cnam) throws java.io.IOException, NexmoClientException
java.io.IOExceptionNexmoClientExceptionpublic AdvancedInsightResponse getAdvancedNumberInsight(java.lang.String number) throws java.io.IOException, NexmoClientException
java.io.IOExceptionNexmoClientExceptionpublic AdvancedInsightResponse getAdvancedNumberInsight(java.lang.String number, java.lang.String country) throws java.io.IOException, NexmoClientException
java.io.IOExceptionNexmoClientExceptionpublic AdvancedInsightResponse getAdvancedNumberInsight(java.lang.String number, java.lang.String country, java.lang.String ipAddress) throws java.io.IOException, NexmoClientException
java.io.IOExceptionNexmoClientExceptionpublic AdvancedInsightResponse getAdvancedNumberInsight(java.lang.String number, java.lang.String country, java.lang.String ipAddress, boolean cnam) throws java.io.IOException, NexmoClientException
java.io.IOExceptionNexmoClientException