public class CreateWebhookRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateWebhookRequest.Builder
Builder to make request construction easier.
|
| Constructor and Description |
|---|
CreateWebhookRequest()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static CreateWebhookRequest.Builder |
builder()
Returns a builder for the request.
|
String |
getEvent()
Returns the event of the webhook.
|
String |
getGroupGuid()
Returns the group GUID of the webhook.
|
String |
getName()
Returns the name of the webhook.
|
String |
getOrganizationGuid()
Returns the organization GUID of the webhook.
|
String |
getUrl()
Returns the url of the webhook.
|
boolean |
isActive()
Returns
true if the webhook is active. |
void |
setActive(boolean isActive)
Set to
true if the webhook is active. |
void |
setEvent(String event)
Sets the event of the webhook.
|
void |
setGroupGuid(String groupGuid)
Sets the group GUID of the webhook.
|
void |
setName(String name)
Sets the name of the webhook.
|
void |
setOrganizationGuid(String organizationGuid)
Sets the organization GUID of the webhook.
|
void |
setUrl(String url)
Sets the url of the webhook.
|
String |
toString()
Returns a string representation of the object.
|
public String getName()
public void setName(String name)
name - The name of the webhookpublic String getUrl()
public void setUrl(String url)
url - The url of the webhookpublic String getEvent()
public void setEvent(String event)
event - The event of the webhookpublic String getGroupGuid()
public void setGroupGuid(String groupGuid)
groupGuid - The group GUID of the webhookpublic String getOrganizationGuid()
public void setOrganizationGuid(String organizationGuid)
organizationGuid - The organization GUID of the webhookpublic boolean isActive()
true if the webhook is active.true if the webhook is activepublic void setActive(boolean isActive)
true if the webhook is active.isActive - true if the webhook is activepublic String toString()
public static CreateWebhookRequest.Builder builder()
Copyright © 2020. All rights reserved.