GData JavaScript Client 1.10

Class google.gdata.PhoneNumber

Object
   |
   +--google.gdata.PhoneNumber

class 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

$t

{string|undefined} $t

label

{string|undefined} label

primary

{string|undefined} primary

rel

{string|undefined} rel

REL_FAX

<static> <final> {string} REL_FAX

REL_HOME

<static> <final> {string} REL_HOME

REL_HOME_FAX

<static> <final> {string} REL_HOME_FAX

REL_MOBILE

<static> <final> {string} REL_MOBILE

REL_OTHER

<static> <final> {string} REL_OTHER

REL_PAGER

<static> <final> {string} REL_PAGER

REL_WORK

<static> <final> {string} REL_WORK

REL_WORK_FAX

<static> <final> {string} REL_WORK_FAX

Constructor Detail

google.gdata.PhoneNumber

google.gdata.PhoneNumber(<Object> opt_params)

Method Detail

getLabel

string|undefined getLabel()

getPrimary

boolean|undefined getPrimary()

getRel

string|undefined getRel()

getValue

string|undefined getValue()

setLabel

void setLabel(<string|undefined> label)

setPrimary

void setPrimary(<boolean|undefined> primary)

setRel

void setRel(<string|undefined> rel)

setValue

void setValue(<string|undefined> value)

GData JavaScript Client 1.10

Documentation generated by JSDoc on Thu May 21 13:07:57 2009