Class ContactInfo
java.lang.Object
com.eqixiac.equinix.customerportal.model.json.creators.ContactInfo
A contact on a smart hands order. Ordering and notification contacts are always registered
Equinix customer-portal users referenced by
userName; when a userName is supplied
all other attributes apart from contactType are ignored. Technical contacts are
specified inline with name and phone details.-
Method Summary
Modifier and TypeMethodDescriptionmobilePhone(String mobilePhoneCountryCode, String mobilePhone, PhonePreferenceToCall mobilePhonePrefToCall) mobilePhoneTimeZone(String mobilePhoneTimeZone) static ContactInforegistered(SmartHandsContactType contactType, String userName) Builds a registered-user contact (ORDERING or NOTIFICATION), referenced by user name.static ContactInfotechnical(String name, String workPhone, PhonePreferenceToCall workPhonePrefToCall) Builds a technical contact specified inline with name and work phone details.workPhoneCountryCode(String workPhoneCountryCode) workPhoneTimeZone(String workPhoneTimeZone)
-
Method Details
-
registered
Builds a registered-user contact (ORDERING or NOTIFICATION), referenced by user name.- Parameters:
contactType- the contact typeuserName- the registered customer-portal user name- Returns:
- the contact
-
technical
public static ContactInfo technical(String name, String workPhone, PhonePreferenceToCall workPhonePrefToCall) Builds a technical contact specified inline with name and work phone details.- Parameters:
name- full name of the contactworkPhone- primary phone of the contactworkPhonePrefToCall- preferred time window to call- Returns:
- the contact
-
email
-
workPhoneCountryCode
-
mobilePhone
public ContactInfo mobilePhone(String mobilePhoneCountryCode, String mobilePhone, PhonePreferenceToCall mobilePhonePrefToCall) -
workPhoneTimeZone
-
mobilePhoneTimeZone
-