Constructor
-
new Contact(contactSource)
-
Constructor function for Contact Model
Parameters:
Name Type Description contactSource
Object
Members
-
alias :string
-
Alias of the contact
Type:
- string
-
city :string
-
Returns the city
Type:
- string
-
company :string
-
Returns the company
Type:
- string
-
country :string
-
Returns the country
Type:
- string
-
department :string
-
Returns the department
Type:
- string
-
displayName :string
-
Returns the display name of the contact
Type:
- string
-
emailAddresses :Array
-
Type:
- Array
-
firstName :string
-
Returns the first name of the contact
Type:
- string
-
id :string
-
Returns the unique ID of the contact
Type:
- string
-
isFavorite :boolean
-
Returns the favorite flag
Type:
- boolean
-
language :string
-
Returns the preferred locale of the contact (for example, 'en_US')
Type:
- string
-
lastName :string
-
Returns the last name of the contact
Type:
- string
-
location :string
-
Returns the location of the contact
Type:
- string
-
manager :string
-
Returns the manager of the contact
Type:
- string
-
phoneNumbers :Array
-
Type:
- Array
-
postalCode :string
-
Returns the postal code of the contact
Type:
- string
-
rank :number
-
Returns the rank of the contact.
This value may be used for sorting the contacts list.Type:
- number
-
state :string
-
Returns the state of the contact.
Type:
- string
-
streetAddress :string
-
Returns the street address of the contact
Type:
- string
-
workRoomNumber :string
-
Returns the work room number of the contact
Type:
- string