Package com.ngrok.services
Class EventSubscriptions
java.lang.Object
com.ngrok.services.EventSubscriptions
An API client for
EventSubscriptions
.
See also https://ngrok.com/docs/api#api-event-subscriptions.-
Nested Class Summary
Modifier and TypeClassDescriptionclass
A builder object encapsulating state for an unsent Create API call.class
A builder object encapsulating state for an unsent Delete API call.class
A builder object encapsulating state for an unsent Get API call.class
A builder object encapsulating state for an unsent List API call.class
A builder object encapsulating state for an unsent Update API call. -
Constructor Summary
ConstructorDescriptionEventSubscriptions
(NgrokApiClient apiClient) Creates a new sub-client for EventSubscriptions. -
Method Summary
-
Constructor Details
-
EventSubscriptions
Creates a new sub-client for EventSubscriptions.- Parameters:
apiClient
- an instance ofNgrokApiClient
-
-
Method Details
-
create
Create an Event Subscription. See also https://ngrok.com/docs/api#api-event-subscriptions-create.- Returns:
- a call builder for this API call
-
delete
Delete an Event Subscription. See also https://ngrok.com/docs/api#api-event-subscriptions-delete.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-
get
Get an Event Subscription by ID. See also https://ngrok.com/docs/api#api-event-subscriptions-get.- Parameters:
id
- a resource identifier- Returns:
- a call builder for this API call
-
list
List this Account's Event Subscriptions. See also https://ngrok.com/docs/api#api-event-subscriptions-list.- Returns:
- a call builder for this API call
-
update
Update an Event Subscription. See also https://ngrok.com/docs/api#api-event-subscriptions-update.- Parameters:
id
- Unique identifier for this Event Subscription.- Returns:
- a call builder for this API call
-