Package com.vonage.client.insight
Class AdvancedInsightRequest
java.lang.Object
com.vonage.client.insight.BaseInsightRequest
com.vonage.client.insight.AdvancedInsightRequest
public class AdvancedInsightRequest extends BaseInsightRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdvancedInsightRequest.Builder -
Field Summary
Fields inherited from class com.vonage.client.insight.BaseInsightRequest
cnam, country, ipAddress, number -
Method Summary
Modifier and Type Method Description static AdvancedInsightRequest.Builderbuilder(java.lang.String number)java.lang.StringgetCallback()java.lang.BooleangetCnam()java.lang.StringgetIpAddress()booleanisAsync()static AdvancedInsightRequestwithNumber(java.lang.String number)Construct a AdvancedInsightRequest with a number.static AdvancedInsightRequestwithNumberAndCountry(java.lang.String number, java.lang.String country)Construct a AdvancedInsightRequest with a number and country.
-
Method Details
-
builder
-
getCnam
-
getIpAddress
-
isAsync
-
getCallback
-
withNumber
Construct a AdvancedInsightRequest with a number.- Parameters:
number- A single phone number that you need insight about in national or international format.- Returns:
- A new
AdvancedInsightRequestobject.
-
withNumberAndCountry
public static AdvancedInsightRequest withNumberAndCountry(java.lang.String number, java.lang.String country)Construct a AdvancedInsightRequest with a number and country.- Parameters:
number- A single phone number that you need insight about in national or international format.country- If a number does not have a country code or it is uncertain, set the two-character country code.- Returns:
- A new
AdvancedInsightRequestobject.
-