|
GData JavaScript Client 1.5 | ||||||||
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 phone number. |
<static> <final> String |
REL_HOME
Home phone number. |
<static> <final> String |
REL_HOME_FAX
Home fax phone 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 (e.g. |
<static> <final> String |
REL_PAGER
Pager phone number. |
<static> <final> String |
REL_WORK
Work phone number. |
<static> <final> String |
REL_WORK_FAX
Work fax phone 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.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |