GData JavaScript Client 1.5

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 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

$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.5

Documentation generated by JSDoc on Thu Oct 2 17:38:03 2008