public class SendGrid extends BaseInterface
| Constructor and Description |
|---|
SendGrid(String apiKey)
Construct a new Twilio SendGrid API wrapper.
|
SendGrid(String apiKey,
Boolean test)
Construct a new Twilio SendGrid API wrapper.
|
SendGrid(String apiKey,
com.sendgrid.Client client)
Construct a new Twilio SendGrid API wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initializeSendGrid(String apiKey)
Initialize the client.
|
addImpersonateSubuser, addRequestHeader, api, attempt, attempt, getHost, getImpersonateSubuser, getLibraryVersion, getRateLimitRetry, getRateLimitSleep, getRequestHeaders, getVersion, initialize, makeCall, removeImpersonateSubuser, removeRequestHeader, setHost, setRateLimitRetry, setRateLimitSleep, setVersionpublic SendGrid(String apiKey)
apiKey - is your Twilio SendGrid API Key: https://app.sendgrid.com/settings/api_keyspublic SendGrid(String apiKey, Boolean test)
apiKey - is your Twilio SendGrid API Key: https://app.sendgrid.com/settings/api_keystest - is true if you are unit testingpublic SendGrid(String apiKey, com.sendgrid.Client client)
apiKey - is your Twilio SendGrid API Key: https://app.sendgrid.com/settings/api_keysclient - the Client to use (allows to customize its configuration)public void initializeSendGrid(String apiKey)
apiKey - the user's API keyCopyright © 2022. All rights reserved.