GData JavaScript Client 1.10

Class google.gdata.Email

Object
   |
   +--google.gdata.Email

class google.gdata.Email


Describes an email address. Compatbility note with older releases of the JavaScript library: this class used to represent , but now represents . The class that represents is now at google.gdata.atom.Email.
Defined in gdata.js


Field Summary
 {string|undefined} address
          Email address.
 {string|undefined} label
          Label.
 {string|undefined} primary
          Whether this is the primary email address.
 {string|undefined} rel
          Email type.
<static>  <final> {string} REL_HOME
          Home email address.
<static>  <final> {string} REL_OTHER
          Other email address.
<static>  <final> {string} REL_WORK
          Work email address.
 
Constructor Summary
google.gdata.Email(<Object> opt_params)
            Constructs an email address using an object parameter whose property names match the setter method to use for each property.
 
Method Summary
 string|undefined getAddress()
           Returns the email address.
 string|undefined getLabel()
           Returns the label.
 boolean|undefined getPrimary()
           Returns whether this is the primary email address.
 string|undefined getRel()
           Returns the email type.
 void setAddress(<string|undefined> address)
           Sets the email address.
 void setLabel(<string|undefined> label)
           Sets the label.
 void setPrimary(<boolean|undefined> primary)
           Sets whether this is the primary email address.
 void setRel(<string|undefined> rel)
           Sets the email type.

Field Detail

address

{string|undefined} address

label

{string|undefined} label

primary

{string|undefined} primary

rel

{string|undefined} rel

REL_HOME

<static> <final> {string} REL_HOME

REL_OTHER

<static> <final> {string} REL_OTHER

REL_WORK

<static> <final> {string} REL_WORK

Constructor Detail

google.gdata.Email

google.gdata.Email(<Object> opt_params)

Method Detail

getAddress

string|undefined getAddress()

getLabel

string|undefined getLabel()

getPrimary

boolean|undefined getPrimary()

getRel

string|undefined getRel()

setAddress

void setAddress(<string|undefined> address)

setLabel

void setLabel(<string|undefined> label)

setPrimary

void setPrimary(<boolean|undefined> primary)

setRel

void setRel(<string|undefined> rel)

GData JavaScript Client 1.10

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