Package so.prelude.sdk.models
Class LookupLookupParams
-
- All Implemented Interfaces:
-
so.prelude.sdk.core.Params
public final class LookupLookupParams implements Params
Retrieve detailed information about a phone number including carrier data, line type, and portability status.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
LookupLookupParams.Builder
A builder for LookupLookupParams.
public final class
LookupLookupParams.Type
-
Method Summary
Modifier and Type Method Description final Optional<String>
phoneNumber()
An E.164 formatted phone number to look up. final Optional<List<LookupLookupParams.Type>>
type()
Optional features. final Headers
_additionalHeaders()
final QueryParams
_additionalQueryParams()
final LookupLookupParams.Builder
toBuilder()
final String
_pathParam(Integer index)
Headers
_headers()
The full set of headers in the parameters, including both fixed and additional headers. QueryParams
_queryParams()
The full set of query params in the parameters, including both fixed and additional query params. Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static LookupLookupParams
none()
final static LookupLookupParams.Builder
builder()
Returns a mutable builder for constructing an instance of LookupLookupParams. -
-
Method Detail
-
phoneNumber
final Optional<String> phoneNumber()
An E.164 formatted phone number to look up.
-
type
final Optional<List<LookupLookupParams.Type>> type()
Optional features. Possible values are:
cnam
- Retrieve CNAM (Caller ID Name) along with other information. Contact us if you need to use this functionality.
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final LookupLookupParams.Builder toBuilder()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
none
final static LookupLookupParams none()
-
builder
final static LookupLookupParams.Builder builder()
Returns a mutable builder for constructing an instance of LookupLookupParams.
-
-
-
-