module:models/ContactsverificationContact(value, type)

new module:models/ContactsverificationContact(value, type)

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

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

The contact value to which the verification code is sent to initiate the contact verification. 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/ContactsverificationContact.TypeEnum

The type of contact.

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/ContactsverificationContact.TypeEnum

The type of contact.

inner value :String

The contact value to which the verification code is sent to initiate the contact verification. 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/ContactsverificationContact}

Constructs a ContactsverificationContact 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/ContactsverificationContact

Optional instance to populate.

Returns:
module:models/ContactsverificationContact -

The populated ContactsverificationContact instance.