Package com.ngrok.services
Class EventSources
java.lang.Object
com.ngrok.services.EventSources
An API client for
EventSources.
See also https://ngrok.com/docs/api#api-event-sources.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassA builder object encapsulating state for an unsent Create API call.classA builder object encapsulating state for an unsent Delete API call.classA builder object encapsulating state for an unsent Get API call.classA builder object encapsulating state for an unsent List API call.classA builder object encapsulating state for an unsent Update API call. -
Constructor Summary
ConstructorsConstructorDescriptionEventSources(NgrokApiClient apiClient) Creates a new sub-client for EventSources. -
Method Summary
Modifier and TypeMethodDescriptionAdd an additional type for which this event subscription will trigger See also https://ngrok.com/docs/api#api-event-sources-create.Remove a type for which this event subscription will trigger See also https://ngrok.com/docs/api#api-event-sources-delete.Get the details for a given type that triggers for the given event subscription See also https://ngrok.com/docs/api#api-event-sources-get.List the types for which this event subscription will trigger See also https://ngrok.com/docs/api#api-event-sources-list.Update the type for which this event subscription will trigger See also https://ngrok.com/docs/api#api-event-sources-update.
-
Constructor Details
-
EventSources
Creates a new sub-client for EventSources.- Parameters:
apiClient- an instance ofNgrokApiClient
-
-
Method Details
-
create
Add an additional type for which this event subscription will trigger See also https://ngrok.com/docs/api#api-event-sources-create.- Parameters:
subscriptionId- The unique identifier for the Event Subscription that this Event Source is attached to.- Returns:
- a call builder for this API call
-
delete
Remove a type for which this event subscription will trigger See also https://ngrok.com/docs/api#api-event-sources-delete.- Parameters:
subscriptionId- The unique identifier for the Event Subscription that this Event Source is attached to.type- Type of event for which an event subscription will trigger- Returns:
- a call builder for this API call
-
get
Get the details for a given type that triggers for the given event subscription See also https://ngrok.com/docs/api#api-event-sources-get.- Parameters:
subscriptionId- The unique identifier for the Event Subscription that this Event Source is attached to.type- Type of event for which an event subscription will trigger- Returns:
- a call builder for this API call
-
list
List the types for which this event subscription will trigger See also https://ngrok.com/docs/api#api-event-sources-list.- Parameters:
subscriptionId- The unique identifier for the Event Subscription that this Event Source is attached to.- Returns:
- a call builder for this API call
-
update
Update the type for which this event subscription will trigger See also https://ngrok.com/docs/api#api-event-sources-update.- Parameters:
subscriptionId- The unique identifier for the Event Subscription that this Event Source is attached to.type- Type of event for which an event subscription will trigger- Returns:
- a call builder for this API call
-