public final class ResthookSubscriptionCreate extends Object
| Constructor and Description |
|---|
ResthookSubscriptionCreate() |
| Modifier and Type | Method and Description |
|---|---|
ResthookEvent |
getEvent()
Get the event property: The event name to subscribe to.
|
String |
getOrganization()
Get the organization property: The organization property.
|
String |
getTargetUrl()
Get the targetUrl property: URL of the resthook's receiver.
|
Version |
getVersion()
Get the version property: Version of the resthook subscription.
|
ResthookSubscriptionCreate |
setEvent(ResthookEvent event)
Set the event property: The event name to subscribe to.
|
ResthookSubscriptionCreate |
setOrganization(String organization)
Set the organization property: The organization property.
|
ResthookSubscriptionCreate |
setTargetUrl(String targetUrl)
Set the targetUrl property: URL of the resthook's receiver.
|
ResthookSubscriptionCreate |
setVersion(Version version)
Set the version property: Version of the resthook subscription.
|
public String getTargetUrl()
public ResthookSubscriptionCreate setTargetUrl(String targetUrl)
targetUrl - the targetUrl value to set.public ResthookEvent getEvent()
public ResthookSubscriptionCreate setEvent(ResthookEvent event)
event - the event value to set.public String getOrganization()
public ResthookSubscriptionCreate setOrganization(String organization)
organization - the organization value to set.public Version getVersion()
public ResthookSubscriptionCreate setVersion(Version version)
version - the version value to set.Copyright © 2023. All rights reserved.