new module:models/ContactsverificationContact(value, type)
This class subject to change without prior notice, Please dont use this class directly.
Constructs a newContactsverificationContact
.
Parameters:
Name | Type | Description |
---|---|---|
value |
String | The contact value to which the verification code is sent to initiate the contact verification. If the |
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 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/ContactsverificationContact}
-
Constructs a
ContactsverificationContact
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/ContactsverificationContact Optional instance to populate.
Returns:
module:models/ContactsverificationContact -The populated
ContactsverificationContact
instance.