|
GData JavaScript Client 1.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--google.gdata.PhoneNumber
Describes a phone number.
Defined in gdata.js
Field Summary | |
{string|undefined} |
$t
Human-readable phone number. |
{string|undefined} |
label
Simple string value used to name this phone number. |
{string|undefined} |
primary
Whether this is the primary phone number. |
{string|undefined} |
rel
Programmatic value that identifies the type of phone number. |
<static> <final> {string} |
REL_FAX
Fax number. |
<static> <final> {string} |
REL_HOME
Home phone number. |
<static> <final> {string} |
REL_HOME_FAX
Home fax number. |
<static> <final> {string} |
REL_MOBILE
Cell phone number. |
<static> <final> {string} |
REL_OTHER
Special type of number for which no other rel value makes sense. |
<static> <final> {string} |
REL_PAGER
Pager number. |
<static> <final> {string} |
REL_WORK
Work phone number. |
<static> <final> {string} |
REL_WORK_FAX
Work fax number. |
Constructor Summary | |
google.gdata.PhoneNumber(<Object> opt_params)
Constructs a phone number using an object parameter whose property names match the setter method to use for each property. |
Method Summary | |
string|undefined
|
getLabel()
Returns the simple string value used to name this phone number. |
boolean|undefined
|
getPrimary()
Returns whether this is the primary phone number. |
string|undefined
|
getRel()
Returns the programmatic value that identifies the type of phone number. |
string|undefined
|
getValue()
Returns the human-readable phone number. |
void
|
setLabel(<string|undefined> label)
Sets the simple string value used to name this phone number. |
void
|
setPrimary(<boolean|undefined> primary)
Sets whether this is the primary phone number. |
void
|
setRel(<string|undefined> rel)
Sets the programmatic value that identifies the type of phone number. |
void
|
setValue(<string|undefined> value)
Sets the human-readable phone number. |
Field Detail |
{string|undefined} $t
{string|undefined} label
{string|undefined} primary
{string|undefined} rel
<static> <final> {string} REL_FAX
<static> <final> {string} REL_HOME
<static> <final> {string} REL_HOME_FAX
<static> <final> {string} REL_MOBILE
<static> <final> {string} REL_OTHER
<static> <final> {string} REL_PAGER
<static> <final> {string} REL_WORK
<static> <final> {string} REL_WORK_FAX
Constructor Detail |
google.gdata.PhoneNumber(<Object> opt_params)
opt_params
- Optional parameters, each of which is used as the sole parameter to the associated setter method: label, primary, rel, and value.
Method Detail |
string|undefined getLabel()
boolean|undefined getPrimary()
string|undefined getRel()
string|undefined getValue()
void setLabel(<string|undefined> label)
label
- Simple string value used to name this phone number or undefined for none.
void setPrimary(<boolean|undefined> primary)
primary
- Whether this is the primary phone number or undefined for none.
void setRel(<string|undefined> rel)
rel
- Programmatic value that identifies the type of phone number or undefined for none.
void setValue(<string|undefined> value)
value
- Human-readable phone number or undefined for none.
|
GData JavaScript Client 1.9 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |