org.gbanga.api
Class WebHookSubscription

java.lang.Object
  extended by org.gbanga.api.WebHookSubscription

public class WebHookSubscription
extends java.lang.Object

Author:
Zlatko

Field Summary
 int event
          The event for which the web hook was registered for
 java.lang.String filter
          The filter which the web hook was registered with
 java.lang.String url
          The callback URL of the web hook
 
Constructor Summary
WebHookSubscription()
          The non-argument constructor
WebHookSubscription(java.lang.String url, int event, java.lang.String filter)
          Creates a new WebHookSubscription with all required parameters.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

event

public int event
The event for which the web hook was registered for


filter

@HideIfNull
public java.lang.String filter
The filter which the web hook was registered with


url

@HideIfNull
public java.lang.String url
The callback URL of the web hook

Constructor Detail

WebHookSubscription

public WebHookSubscription()
The non-argument constructor


WebHookSubscription

public WebHookSubscription(java.lang.String url,
                           int event,
                           java.lang.String filter)
Creates a new WebHookSubscription with all required parameters.

Parameters:
url - see url
event - see event
filter - see filter