public class NumberValidateResponse extends Object implements Serializable
Constructor and Description |
---|
NumberValidateResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCarrier()
The carrier or servive provider that the phone number is currently
registered with.
|
String |
getCity()
The city where the phone number was originally registered.
|
String |
getCleansedPhoneNumberE164()
The cleansed phone number, shown in E.164 format.
|
String |
getCleansedPhoneNumberNational()
The cleansed phone number, shown in the local phone number format.
|
String |
getCountry()
The country or region where the phone number was originally registered.
|
String |
getCountryCodeIso2()
The two-character ISO code for the country or region where the phone
number was originally registered.
|
String |
getCountryCodeNumeric()
The numeric code for the country or region where the phone number was
originally registered.
|
String |
getCounty()
The county where the phone number was originally registered.
|
String |
getOriginalCountryCodeIso2()
The two-character ISO code for the country or region that you included in
the request body.
|
String |
getOriginalPhoneNumber()
The phone number that you included in the request body.
|
String |
getPhoneType()
A description of the phone type.
|
Integer |
getPhoneTypeCode()
The phone type, represented by an integer.
|
String |
getTimezone()
The time zone for the location where the phone number was originally
registered.
|
String |
getZipCode()
The postal code for the location where the phone number was originally
registered.
|
int |
hashCode() |
void |
setCarrier(String carrier)
The carrier or servive provider that the phone number is currently
registered with.
|
void |
setCity(String city)
The city where the phone number was originally registered.
|
void |
setCleansedPhoneNumberE164(String cleansedPhoneNumberE164)
The cleansed phone number, shown in E.164 format.
|
void |
setCleansedPhoneNumberNational(String cleansedPhoneNumberNational)
The cleansed phone number, shown in the local phone number format.
|
void |
setCountry(String country)
The country or region where the phone number was originally registered.
|
void |
setCountryCodeIso2(String countryCodeIso2)
The two-character ISO code for the country or region where the phone
number was originally registered.
|
void |
setCountryCodeNumeric(String countryCodeNumeric)
The numeric code for the country or region where the phone number was
originally registered.
|
void |
setCounty(String county)
The county where the phone number was originally registered.
|
void |
setOriginalCountryCodeIso2(String originalCountryCodeIso2)
The two-character ISO code for the country or region that you included in
the request body.
|
void |
setOriginalPhoneNumber(String originalPhoneNumber)
The phone number that you included in the request body.
|
void |
setPhoneType(String phoneType)
A description of the phone type.
|
void |
setPhoneTypeCode(Integer phoneTypeCode)
The phone type, represented by an integer.
|
void |
setTimezone(String timezone)
The time zone for the location where the phone number was originally
registered.
|
void |
setZipCode(String zipCode)
The postal code for the location where the phone number was originally
registered.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NumberValidateResponse |
withCarrier(String carrier)
The carrier or servive provider that the phone number is currently
registered with.
|
NumberValidateResponse |
withCity(String city)
The city where the phone number was originally registered.
|
NumberValidateResponse |
withCleansedPhoneNumberE164(String cleansedPhoneNumberE164)
The cleansed phone number, shown in E.164 format.
|
NumberValidateResponse |
withCleansedPhoneNumberNational(String cleansedPhoneNumberNational)
The cleansed phone number, shown in the local phone number format.
|
NumberValidateResponse |
withCountry(String country)
The country or region where the phone number was originally registered.
|
NumberValidateResponse |
withCountryCodeIso2(String countryCodeIso2)
The two-character ISO code for the country or region where the phone
number was originally registered.
|
NumberValidateResponse |
withCountryCodeNumeric(String countryCodeNumeric)
The numeric code for the country or region where the phone number was
originally registered.
|
NumberValidateResponse |
withCounty(String county)
The county where the phone number was originally registered.
|
NumberValidateResponse |
withOriginalCountryCodeIso2(String originalCountryCodeIso2)
The two-character ISO code for the country or region that you included in
the request body.
|
NumberValidateResponse |
withOriginalPhoneNumber(String originalPhoneNumber)
The phone number that you included in the request body.
|
NumberValidateResponse |
withPhoneType(String phoneType)
A description of the phone type.
|
NumberValidateResponse |
withPhoneTypeCode(Integer phoneTypeCode)
The phone type, represented by an integer.
|
NumberValidateResponse |
withTimezone(String timezone)
The time zone for the location where the phone number was originally
registered.
|
NumberValidateResponse |
withZipCode(String zipCode)
The postal code for the location where the phone number was originally
registered.
|
public String getCarrier()
public void setCarrier(String carrier)
carrier
- The carrier or servive provider that the phone number is
currently registered with.public NumberValidateResponse withCarrier(String carrier)
Returns a reference to this object so that method calls can be chained together.
carrier
- The carrier or servive provider that the phone number is
currently registered with.public String getCity()
public void setCity(String city)
city
- The city where the phone number was originally registered.public NumberValidateResponse withCity(String city)
Returns a reference to this object so that method calls can be chained together.
city
- The city where the phone number was originally registered.public String getCleansedPhoneNumberE164()
public void setCleansedPhoneNumberE164(String cleansedPhoneNumberE164)
cleansedPhoneNumberE164
- The cleansed phone number, shown in E.164
format.public NumberValidateResponse withCleansedPhoneNumberE164(String cleansedPhoneNumberE164)
Returns a reference to this object so that method calls can be chained together.
cleansedPhoneNumberE164
- The cleansed phone number, shown in E.164
format.public String getCleansedPhoneNumberNational()
public void setCleansedPhoneNumberNational(String cleansedPhoneNumberNational)
cleansedPhoneNumberNational
- The cleansed phone number, shown in
the local phone number format.public NumberValidateResponse withCleansedPhoneNumberNational(String cleansedPhoneNumberNational)
Returns a reference to this object so that method calls can be chained together.
cleansedPhoneNumberNational
- The cleansed phone number, shown in
the local phone number format.public String getCountry()
public void setCountry(String country)
country
- The country or region where the phone number was
originally registered.public NumberValidateResponse withCountry(String country)
Returns a reference to this object so that method calls can be chained together.
country
- The country or region where the phone number was
originally registered.public String getCountryCodeIso2()
public void setCountryCodeIso2(String countryCodeIso2)
countryCodeIso2
- The two-character ISO code for the country or
region where the phone number was originally registered.public NumberValidateResponse withCountryCodeIso2(String countryCodeIso2)
Returns a reference to this object so that method calls can be chained together.
countryCodeIso2
- The two-character ISO code for the country or
region where the phone number was originally registered.public String getCountryCodeNumeric()
public void setCountryCodeNumeric(String countryCodeNumeric)
countryCodeNumeric
- The numeric code for the country or region
where the phone number was originally registered.public NumberValidateResponse withCountryCodeNumeric(String countryCodeNumeric)
Returns a reference to this object so that method calls can be chained together.
countryCodeNumeric
- The numeric code for the country or region
where the phone number was originally registered.public String getCounty()
public void setCounty(String county)
county
- The county where the phone number was originally
registered.public NumberValidateResponse withCounty(String county)
Returns a reference to this object so that method calls can be chained together.
county
- The county where the phone number was originally
registered.public String getOriginalCountryCodeIso2()
public void setOriginalCountryCodeIso2(String originalCountryCodeIso2)
originalCountryCodeIso2
- The two-character ISO code for the country
or region that you included in the request body.public NumberValidateResponse withOriginalCountryCodeIso2(String originalCountryCodeIso2)
Returns a reference to this object so that method calls can be chained together.
originalCountryCodeIso2
- The two-character ISO code for the country
or region that you included in the request body.public String getOriginalPhoneNumber()
public void setOriginalPhoneNumber(String originalPhoneNumber)
originalPhoneNumber
- The phone number that you included in the
request body.public NumberValidateResponse withOriginalPhoneNumber(String originalPhoneNumber)
Returns a reference to this object so that method calls can be chained together.
originalPhoneNumber
- The phone number that you included in the
request body.public String getPhoneType()
public void setPhoneType(String phoneType)
phoneType
- A description of the phone type. Possible values are
MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.public NumberValidateResponse withPhoneType(String phoneType)
Returns a reference to this object so that method calls can be chained together.
phoneType
- A description of the phone type. Possible values are
MOBILE, LANDLINE, VOIP, INVALID, PREPAID, and OTHER.public Integer getPhoneTypeCode()
public void setPhoneTypeCode(Integer phoneTypeCode)
phoneTypeCode
- The phone type, represented by an integer. Possible
values include 0 (MOBILE), 1 (LANDLINE), 2 (VOIP), 3
(INVALID), 4 (OTHER), and 5 (PREPAID).public NumberValidateResponse withPhoneTypeCode(Integer phoneTypeCode)
Returns a reference to this object so that method calls can be chained together.
phoneTypeCode
- The phone type, represented by an integer. Possible
values include 0 (MOBILE), 1 (LANDLINE), 2 (VOIP), 3
(INVALID), 4 (OTHER), and 5 (PREPAID).public String getTimezone()
public void setTimezone(String timezone)
timezone
- The time zone for the location where the phone number was
originally registered.public NumberValidateResponse withTimezone(String timezone)
Returns a reference to this object so that method calls can be chained together.
timezone
- The time zone for the location where the phone number was
originally registered.public String getZipCode()
public void setZipCode(String zipCode)
zipCode
- The postal code for the location where the phone number
was originally registered.public NumberValidateResponse withZipCode(String zipCode)
Returns a reference to this object so that method calls can be chained together.
zipCode
- The postal code for the location where the phone number
was originally registered.public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.