public class AvailableNumberSummary
extends java.lang.Object
implements java.io.Serializable
Information about available phone numbers.
| Constructor and Description |
|---|
AvailableNumberSummary() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPhoneNumber()
The phone number.
|
java.lang.String |
getPhoneNumberCountryCode()
The ISO country code.
|
java.lang.String |
getPhoneNumberType()
The type of phone number.
|
int |
hashCode() |
void |
setPhoneNumber(java.lang.String phoneNumber)
The phone number.
|
void |
setPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
|
void |
setPhoneNumberCountryCode(java.lang.String phoneNumberCountryCode)
The ISO country code.
|
void |
setPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
|
void |
setPhoneNumberType(java.lang.String phoneNumberType)
The type of phone number.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AvailableNumberSummary |
withPhoneNumber(java.lang.String phoneNumber)
The phone number.
|
AvailableNumberSummary |
withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
|
AvailableNumberSummary |
withPhoneNumberCountryCode(java.lang.String phoneNumberCountryCode)
The ISO country code.
|
AvailableNumberSummary |
withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
|
AvailableNumberSummary |
withPhoneNumberType(java.lang.String phoneNumberType)
The type of phone number.
|
public java.lang.String getPhoneNumber()
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code].
Constraints:
Pattern: \\+[1-9]\\d{1,14}$
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
.
public void setPhoneNumber(java.lang.String phoneNumber)
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code].
Constraints:
Pattern: \\+[1-9]\\d{1,14}$
phoneNumber -
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
.
public AvailableNumberSummary withPhoneNumber(java.lang.String phoneNumber)
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code].
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \\+[1-9]\\d{1,14}$
phoneNumber -
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
.
public java.lang.String getPhoneNumberCountryCode()
The ISO country code.
Constraints:
Allowed Values: AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW,
AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, IO,
VG, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM,
CK, CR, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, TL, EC, EG, SV, GQ, ER,
EE, ET, FK, FO, FJ, FI, FR, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GU,
GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT,
CI, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT,
LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MR, MU, YT, MX, FM, MD, MC, MN,
ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, KP, MP,
NO, OM, PK, PW, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, CG, RE, RO, RU,
RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX,
SK, SI, SB, SO, ZA, KR, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ,
TH, TG, TK, TO, TT, TN, TR, TM, TC, TV, VI, UG, UA, AE, GB, US, UY, UZ,
VU, VA, VE, VN, WF, EH, YE, ZM, ZW
The ISO country code.
PhoneNumberCountryCodepublic void setPhoneNumberCountryCode(java.lang.String phoneNumberCountryCode)
The ISO country code.
Constraints:
Allowed Values: AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW,
AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, IO,
VG, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM,
CK, CR, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, TL, EC, EG, SV, GQ, ER,
EE, ET, FK, FO, FJ, FI, FR, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GU,
GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT,
CI, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT,
LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MR, MU, YT, MX, FM, MD, MC, MN,
ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, KP, MP,
NO, OM, PK, PW, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, CG, RE, RO, RU,
RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX,
SK, SI, SB, SO, ZA, KR, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ,
TH, TG, TK, TO, TT, TN, TR, TM, TC, TV, VI, UG, UA, AE, GB, US, UY, UZ,
VU, VA, VE, VN, WF, EH, YE, ZM, ZW
phoneNumberCountryCode - The ISO country code.
PhoneNumberCountryCodepublic AvailableNumberSummary withPhoneNumberCountryCode(java.lang.String phoneNumberCountryCode)
The ISO country code.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW,
AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, IO,
VG, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM,
CK, CR, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, TL, EC, EG, SV, GQ, ER,
EE, ET, FK, FO, FJ, FI, FR, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GU,
GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT,
CI, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT,
LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MR, MU, YT, MX, FM, MD, MC, MN,
ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, KP, MP,
NO, OM, PK, PW, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, CG, RE, RO, RU,
RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX,
SK, SI, SB, SO, ZA, KR, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ,
TH, TG, TK, TO, TT, TN, TR, TM, TC, TV, VI, UG, UA, AE, GB, US, UY, UZ,
VU, VA, VE, VN, WF, EH, YE, ZM, ZW
phoneNumberCountryCode - The ISO country code.
PhoneNumberCountryCodepublic void setPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
Constraints:
Allowed Values: AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW,
AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, IO,
VG, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM,
CK, CR, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, TL, EC, EG, SV, GQ, ER,
EE, ET, FK, FO, FJ, FI, FR, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GU,
GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT,
CI, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT,
LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MR, MU, YT, MX, FM, MD, MC, MN,
ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, KP, MP,
NO, OM, PK, PW, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, CG, RE, RO, RU,
RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX,
SK, SI, SB, SO, ZA, KR, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ,
TH, TG, TK, TO, TT, TN, TR, TM, TC, TV, VI, UG, UA, AE, GB, US, UY, UZ,
VU, VA, VE, VN, WF, EH, YE, ZM, ZW
phoneNumberCountryCode - The ISO country code.
PhoneNumberCountryCodepublic AvailableNumberSummary withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW,
AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, IO,
VG, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM,
CK, CR, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, TL, EC, EG, SV, GQ, ER,
EE, ET, FK, FO, FJ, FI, FR, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GU,
GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT,
CI, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT,
LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MR, MU, YT, MX, FM, MD, MC, MN,
ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, KP, MP,
NO, OM, PK, PW, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, CG, RE, RO, RU,
RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX,
SK, SI, SB, SO, ZA, KR, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ,
TH, TG, TK, TO, TT, TN, TR, TM, TC, TV, VI, UG, UA, AE, GB, US, UY, UZ,
VU, VA, VE, VN, WF, EH, YE, ZM, ZW
phoneNumberCountryCode - The ISO country code.
PhoneNumberCountryCodepublic java.lang.String getPhoneNumberType()
The type of phone number.
Constraints:
Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF,
THIRD_PARTY_DID
The type of phone number.
PhoneNumberTypepublic void setPhoneNumberType(java.lang.String phoneNumberType)
The type of phone number.
Constraints:
Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF,
THIRD_PARTY_DID
phoneNumberType - The type of phone number.
PhoneNumberTypepublic AvailableNumberSummary withPhoneNumberType(java.lang.String phoneNumberType)
The type of phone number.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF,
THIRD_PARTY_DID
phoneNumberType - The type of phone number.
PhoneNumberTypepublic void setPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
Constraints:
Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF,
THIRD_PARTY_DID
phoneNumberType - The type of phone number.
PhoneNumberTypepublic AvailableNumberSummary withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF,
THIRD_PARTY_DID
phoneNumberType - The type of phone number.
PhoneNumberTypepublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object