module:models/ContactsunlinkContact(value, type)

new module:models/ContactsunlinkContact(value, type)

This class subject to change without prior notice, Please dont use this class directly.

Constructs a new ContactsunlinkContact.
Parameters:
Name Type Description
value String

The customer's contact information that need to be unlinked. If the type field is set to email, the value field should be a valid email address. If the type field is set to sms, the value field should be a mobile number in E.164 format with the appropriate country code.

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 to email, the value field should be a valid email address. If the type field is set to sms, the value 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 from data to obj 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.

Returns:
module:models/ContactsunlinkContact -

The populated ContactsunlinkContact instance.