Package com.affinda.api.client.models
Class ResthookSubscriptionUpdate
- java.lang.Object
-
- com.affinda.api.client.models.ResthookSubscriptionUpdate
-
public final class ResthookSubscriptionUpdate extends Object
The ResthookSubscriptionUpdate model.
-
-
Constructor Summary
Constructors Constructor Description ResthookSubscriptionUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResthookEventgetEvent()Get the event property: The event name to subscribe to.StringgetOrganization()Get the organization property: Uniquely identify an organization.VersiongetVersion()Get the version property: Version of the resthook subscription.ResthookSubscriptionUpdatesetEvent(ResthookEvent event)Set the event property: The event name to subscribe to.ResthookSubscriptionUpdatesetOrganization(String organization)Set the organization property: Uniquely identify an organization.ResthookSubscriptionUpdatesetVersion(Version version)Set the version property: Version of the resthook subscription.
-
-
-
Method Detail
-
getEvent
public ResthookEvent getEvent()
Get the event property: The event name to subscribe to.- Returns:
- the event value.
-
setEvent
public ResthookSubscriptionUpdate setEvent(ResthookEvent event)
Set the event property: The event name to subscribe to.- Parameters:
event- the event value to set.- Returns:
- the ResthookSubscriptionUpdate object itself.
-
getOrganization
public String getOrganization()
Get the organization property: Uniquely identify an organization.- Returns:
- the organization value.
-
setOrganization
public ResthookSubscriptionUpdate setOrganization(String organization)
Set the organization property: Uniquely identify an organization.- Parameters:
organization- the organization value to set.- Returns:
- the ResthookSubscriptionUpdate object itself.
-
getVersion
public Version getVersion()
Get the version property: Version of the resthook subscription. Determines the resthook body being fired.- Returns:
- the version value.
-
setVersion
public ResthookSubscriptionUpdate setVersion(Version version)
Set the version property: Version of the resthook subscription. Determines the resthook body being fired.- Parameters:
version- the version value to set.- Returns:
- the ResthookSubscriptionUpdate object itself.
-
-