Class LookupLookupResponse
-
- All Implemented Interfaces:
public final class LookupLookupResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
LookupLookupResponse.Builder
A builder for LookupLookupResponse.
public final class
LookupLookupResponse.Flag
public final class
LookupLookupResponse.LineType
The type of phone line.
calling_cards
- Numbers that are associated with providers of pre-paid domestic and international calling cards.fixed_line
- Landline phone numbers.isp
- Numbers reserved for Internet Service Providers.local_rate
- Numbers that can be assigned non-geographically.mobile
- Mobile phone numbers.other
- Other types of services.pager
- Number ranges specifically allocated to paging devices.payphone
- Allocated numbers for payphone kiosks in some countries.premium_rate
- Landline numbers where the calling party pays more than standard.satellite
- Satellite phone numbers.service
- Automated applications.shared_cost
- Specific landline ranges where the cost of making the call is shared between the calling and called party.short_codes_commercial
- Short codes are memorable, easy-to-use numbers, like the UK's NHS 111, often sold to businesses. Not available in all countries.toll_free
- Number where the called party pays for the cost of the call not the calling party.universal_access
- Number ranges reserved for Universal Access initiatives.unknown
- Unknown phone number type.vpn
- Numbers are used exclusively within a private telecommunications network, connecting the operator's terminals internally and not accessible via the public telephone network.voice_mail
- A specific category of Interactive Voice Response (IVR) services.voip
- Specific ranges for providers of VoIP services to allow incoming calls from the regular telephony network.
public final class
LookupLookupResponse.NetworkInfo
The current carrier information.
public final class
LookupLookupResponse.OriginalNetworkInfo
The original carrier information.
-
Method Summary
-
-
Method Detail
-
callerName
final Optional<String> callerName()
The CNAM (Caller ID Name) associated with the phone number. Contact us if you need to use this functionality. Once enabled, put
cnam
option totype
query parameter.
-
countryCode
final Optional<String> countryCode()
The country code of the phone number.
-
flags
final Optional<List<LookupLookupResponse.Flag>> flags()
A list of flags associated with the phone number.
ported
- Indicates the phone number has been transferred from one carrier to another.temporary
- Indicates the phone number is likely a temporary or virtual number, often used for verification services or burner phones.
-
lineType
final Optional<LookupLookupResponse.LineType> lineType()
The type of phone line.
calling_cards
- Numbers that are associated with providers of pre-paid domestic and international calling cards.fixed_line
- Landline phone numbers.isp
- Numbers reserved for Internet Service Providers.local_rate
- Numbers that can be assigned non-geographically.mobile
- Mobile phone numbers.other
- Other types of services.pager
- Number ranges specifically allocated to paging devices.payphone
- Allocated numbers for payphone kiosks in some countries.premium_rate
- Landline numbers where the calling party pays more than standard.satellite
- Satellite phone numbers.service
- Automated applications.shared_cost
- Specific landline ranges where the cost of making the call is shared between the calling and called party.short_codes_commercial
- Short codes are memorable, easy-to-use numbers, like the UK's NHS 111, often sold to businesses. Not available in all countries.toll_free
- Number where the called party pays for the cost of the call not the calling party.universal_access
- Number ranges reserved for Universal Access initiatives.unknown
- Unknown phone number type.vpn
- Numbers are used exclusively within a private telecommunications network, connecting the operator's terminals internally and not accessible via the public telephone network.voice_mail
- A specific category of Interactive Voice Response (IVR) services.voip
- Specific ranges for providers of VoIP services to allow incoming calls from the regular telephony network.
-
networkInfo
final Optional<LookupLookupResponse.NetworkInfo> networkInfo()
The current carrier information.
-
originalNetworkInfo
final Optional<LookupLookupResponse.OriginalNetworkInfo> originalNetworkInfo()
The original carrier information.
-
phoneNumber
final Optional<String> phoneNumber()
The phone number.
-
_callerName
final JsonField<String> _callerName()
Returns the raw JSON value of callerName.
Unlike callerName, this method doesn't throw if the JSON field has an unexpected type.
-
_countryCode
final JsonField<String> _countryCode()
Returns the raw JSON value of countryCode.
Unlike countryCode, this method doesn't throw if the JSON field has an unexpected type.
-
_flags
final JsonField<List<LookupLookupResponse.Flag>> _flags()
Returns the raw JSON value of flags.
Unlike flags, this method doesn't throw if the JSON field has an unexpected type.
-
_lineType
final JsonField<LookupLookupResponse.LineType> _lineType()
Returns the raw JSON value of lineType.
Unlike lineType, this method doesn't throw if the JSON field has an unexpected type.
-
_networkInfo
final JsonField<LookupLookupResponse.NetworkInfo> _networkInfo()
Returns the raw JSON value of networkInfo.
Unlike networkInfo, this method doesn't throw if the JSON field has an unexpected type.
-
_originalNetworkInfo
final JsonField<LookupLookupResponse.OriginalNetworkInfo> _originalNetworkInfo()
Returns the raw JSON value of originalNetworkInfo.
Unlike originalNetworkInfo, this method doesn't throw if the JSON field has an unexpected type.
-
_phoneNumber
final JsonField<String> _phoneNumber()
Returns the raw JSON value of phoneNumber.
Unlike phoneNumber, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final LookupLookupResponse.Builder toBuilder()
-
validate
final LookupLookupResponse validate()
-
builder
final static LookupLookupResponse.Builder builder()
Returns a mutable builder for constructing an instance of LookupLookupResponse.
-
-
-
-