new module:models/ContactsunlinkContact(value, type)
This class subject to change without prior notice, Please dont use this class directly.
Constructs a newContactsunlinkContact
.
Parameters:
Name | Type | Description |
---|---|---|
value |
String | The customer's contact information that need to be unlinked. If the |
type |
module:models/ContactsunlinkContact.TypeEnum | The type of contact information. |
Members
-
static, readonly TypeEnum :String
-
Allowed values for the
type
property.Properties:
Name Type Description sms
String value: "sms"
email
String value: "email"
-
inner type :module:models/ContactsunlinkContact.TypeEnum
-
The type of contact information.
-
inner value :String
-
The customer's contact information that need to be unlinked. If the
type
field is set toemail
, thevalue
field should be a valid email address. If thetype
field is set tosms
, thevalue
field should be a mobile number in E.164 format with the appropriate country code.
Methods
-
static constructFromObject(data, obj) → {module:models/ContactsunlinkContact}
-
Constructs a
ContactsunlinkContact
from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties fromdata
toobj
if supplied or a new instance if not.Parameters:
Name Type Description data
Object The plain JavaScript object bearing properties of interest.
obj
module:models/ContactsunlinkContact Optional instance to populate.