@Generated public class NotificationDestinationsAPI extends Object
| Constructor and Description |
|---|
NotificationDestinationsAPI(ApiClient apiClient)
Regular-use constructor
|
NotificationDestinationsAPI(NotificationDestinationsService mock)
Constructor for mocks
|
| Modifier and Type | Method and Description |
|---|---|
NotificationDestination |
create(CreateNotificationDestinationRequest request)
Create a notification destination.
|
void |
delete(DeleteNotificationDestinationRequest request)
Delete a notification destination.
|
void |
delete(String id) |
NotificationDestination |
get(GetNotificationDestinationRequest request)
Get a notification destination.
|
NotificationDestination |
get(String id) |
NotificationDestinationsService |
impl() |
Iterable<ListNotificationDestinationsResult> |
list(ListNotificationDestinationsRequest request)
List notification destinations.
|
NotificationDestination |
update(String id) |
NotificationDestination |
update(UpdateNotificationDestinationRequest request)
Update a notification destination.
|
public NotificationDestinationsAPI(ApiClient apiClient)
public NotificationDestinationsAPI(NotificationDestinationsService mock)
public NotificationDestination create(CreateNotificationDestinationRequest request)
Creates a notification destination. Requires workspace admin permissions.
public void delete(String id)
public void delete(DeleteNotificationDestinationRequest request)
Deletes a notification destination. Requires workspace admin permissions.
public NotificationDestination get(String id)
public NotificationDestination get(GetNotificationDestinationRequest request)
Gets a notification destination.
public Iterable<ListNotificationDestinationsResult> list(ListNotificationDestinationsRequest request)
Lists notification destinations.
public NotificationDestination update(String id)
public NotificationDestination update(UpdateNotificationDestinationRequest request)
Updates a notification destination. Requires workspace admin permissions. At least one field is required in the request body.
public NotificationDestinationsService impl()
Copyright © 2025. All rights reserved.