public class WebhookTest extends Object implements ModelInterface
| Modifier and Type | Field and Description |
|---|---|
String |
action
action for test body
|
Map<String,String> |
body
Additional body parameters.
|
Long |
code
Status HTTP code
|
Auto |
data
Additional data
|
String |
encoding
HTTP encoding method.
|
Boolean |
fileAsBody
Send the file data as the request body?
|
String |
fileFormField
Send the file data as a named parameter in the request POST body
|
Map<String,String> |
headers
Additional request headers.
|
String |
message
Error message
|
String |
method
HTTP method(GET or POST).
|
String |
rawBody
raw body text
|
String |
status
Status message
|
Boolean |
success
The success status of the webhook test
|
String |
url
URL for testing the webhook.
|
Boolean |
useDedicatedIps
Use dedicated IPs for sending the webhook?
|
| Constructor and Description |
|---|
WebhookTest() |
WebhookTest(HashMap<String,Object> parameters) |
WebhookTest(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
static WebhookTest |
create(HashMap<String,Object> parameters)
Parameters:
url (required) - string - URL for testing the webhook.
|
static WebhookTest |
create(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
void |
save() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOptionspublic Long code
public String message
public String status
public Auto data
public Boolean success
public String url
public String method
public String encoding
public String rawBody
public Boolean fileAsBody
public String fileFormField
public String action
public Boolean useDedicatedIps
public void save()
throws IOException
IOExceptionpublic static WebhookTest create(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static WebhookTest create(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionCopyright © 2024 com.github.files-com. All rights reserved.