ContactPoint
@Document(name = "builtin:ContactPoint")
class ContactPoint : Thing
A group of contact information corresponding to a label such as "Home" or "Work".
Summary
Nested types |
|---|
|
Builder for |
Public functions |
|
|---|---|
(Mutable)List<String!> |
Returns a list of flattened postal addresses associated with this contact point. |
(Mutable)List<String!> |
Returns a list of the email addresses of this |
String |
getLabel()Returns the label of this |
(Mutable)List<String!> |
Returns a list of the telephone numbers of this |
Inherited functions |
||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public functions
getAddresses
fun getAddresses(): (Mutable)List<String!>
Returns a list of flattened postal addresses associated with this contact point. For example, "123 Main St, Any town, USA".
getEmails
fun getEmails(): (Mutable)List<String!>
Returns a list of the email addresses of this ContactPoint.
getLabel
fun getLabel(): String
Returns the label of this ContactPoint.
Possible values are "Home", "Work", "Other", or any user defined custom label.
getTelephones
fun getTelephones(): (Mutable)List<String!>
Returns a list of the telephone numbers of this ContactPoint.