Class TroubleTicketContact
java.lang.Object
com.eqixiac.equinix.customerportal.model.json.creators.TroubleTicketContact
A contact on a trouble ticket order (
contactInfo). 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. A request must include exactly one
ordering contact and one or more notification contacts; a technical contact is optional.-
Method Summary
Modifier and TypeMethodDescriptionmobilePhone(String mobilePhoneCountryCode, String mobilePhone, PhonePreferenceToCall mobilePhonePrefToCall) mobilePhoneTimeZone(String mobilePhoneTimeZone) static TroubleTicketContactregistered(SmartHandsContactType contactType, String userName) Builds a registered-user contact (ORDERINGorNOTIFICATION), referenced by user name.static TroubleTicketContacttechnical(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 (ORDERINGorNOTIFICATION), referenced by user name.- Parameters:
contactType- the contact typeuserName- the registered customer-portal user name- Returns:
- the contact
-
technical
public static TroubleTicketContact 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 TroubleTicketContact mobilePhone(String mobilePhoneCountryCode, String mobilePhone, PhonePreferenceToCall mobilePhonePrefToCall) -
workPhoneTimeZone
-
mobilePhoneTimeZone
-