public class VerificationCreator extends Creator<Verification>
| Constructor and Description |
|---|
VerificationCreator(String pathServiceSid,
String to,
String channel)
Construct a new VerificationCreator.
|
| Modifier and Type | Method and Description |
|---|---|
Verification |
create(TwilioRestClient client)
Make the request to the Twilio API to perform the create.
|
VerificationCreator |
setCustomMessage(String customMessage)
A character string containing a custom message for this verification.
|
create, createAsync, createAsyncpublic VerificationCreator setCustomMessage(String customMessage)
customMessage - A custom message for this verificationpublic Verification create(TwilioRestClient client)
create in class Creator<Verification>client - TwilioRestClient with which to make the requestCopyright © 2016 Twilio, Inc. All Rights Reserved.