Class finesse.restservices.Contact
Extends
finesse.restservices.RestBase.
A Contact is a single entry in a PhoneBook, consisting of a First and Last Name,
a Phone Number, and a Description.
Defined in: finesse.js.
Constructor Attributes | Constructor Name and Description |
---|---|
- Fields borrowed from class finesse.restservices.RestBase:
- ajaxRequestTimeout, restResponseStatus
Method Attributes | Method Name and Description |
---|---|
Method to get the description of the contact.
|
|
Method to get the firstName of the contact.
|
|
Method to get the lastName of the contact.
|
|
Method to get the phone numnber of the contact.
|
- Methods borrowed from class finesse.restservices.RestBase:
- addHandler, getBaseRestUrl, getData, getId, getProperty, getRestUrlAdditionalParameters, hasProperty, isLoaded, refresh, removeHandler
Method Detail
{String}
getDescription()
Method to get the description of the contact.
restContact.getDescription();
- Returns:
- {String} The description of the contact.
{String}
getFirstName()
Method to get the firstName of the contact.
restContact.getFirstName();
- Returns:
- {String} The firstName of the contact.
{String}
getLastName()
Method to get the lastName of the contact.
restContact.getLastName();
- Returns:
- {String} The lastName of the contact.
{String}
getPhoneNumber()
Method to get the phone numnber of the contact.
restContact.getPhoneNumber();
- Returns:
- {String} The phoneNumber of the contact.