@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2015-12-03T18:48:57.986-05:00") public class Webhook extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Webhook.DomainEnum |
static class |
Webhook.TypeEnum |
| Constructor and Description |
|---|
Webhook() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBlockedReason()
The reason why the webhook was blocked.
|
Date |
getBlockedTime()
If this field is present, it indicates that the webhook was blocked at this time.\n The blockedReason will indicate the reason for the block.
|
Webhook.DomainEnum |
getDomain()
What type of object this webhook applies to
|
String |
getId()
[read-only]
|
Webhook.TypeEnum |
getType()
What type of operation triggers this webhook
|
String |
getUrl()
The URL that Bookeo will request when an event triggers the webhook.\n The protocol must be https
|
void |
setBlockedReason(String blockedReason) |
void |
setBlockedTime(Date blockedTime) |
void |
setDomain(Webhook.DomainEnum domain) |
void |
setId(String id) |
void |
setType(Webhook.TypeEnum type) |
void |
setUrl(String url) |
String |
toString() |
public String getId()
public void setId(String id)
public String getUrl()
public void setUrl(String url)
public Webhook.DomainEnum getDomain()
public void setDomain(Webhook.DomainEnum domain)
public Webhook.TypeEnum getType()
public void setType(Webhook.TypeEnum type)
public Date getBlockedTime()
public void setBlockedTime(Date blockedTime)
public String getBlockedReason()
public void setBlockedReason(String blockedReason)
Copyright © 2015. All rights reserved.