Interface ProviderService
-
- All Implemented Interfaces:
public interface ProviderService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceProviderService.WithRawResponseA view of ProviderService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract ProviderService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract ProviderService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
catalog
abstract CatalogService catalog()
-
create
Provider create(ProviderCreateParams params)
Create a new provider configuration. The
providerfield must be a known Courier provider key (see catalog).
-
create
abstract Provider create(ProviderCreateParams params, RequestOptions requestOptions)
-
retrieve
Provider retrieve(String id, ProviderRetrieveParams params, RequestOptions requestOptions)
-
retrieve
Provider retrieve(String id, ProviderRetrieveParams params)
-
retrieve
abstract Provider retrieve(ProviderRetrieveParams params, RequestOptions requestOptions)
-
retrieve
Provider retrieve(ProviderRetrieveParams params)
-
retrieve
Provider retrieve(String id, RequestOptions requestOptions)
-
update
Provider update(String id, ProviderUpdateParams params)
Replace an existing provider configuration. The
providerkey is required and determines which provider-specific settings schema is applied. All other fields are optional — omitted fields are cleared from the stored configuration (this is a full replacement, not a partial merge). Changing the provider type for an existing configuration is not supported.
-
update
Provider update(String id, ProviderUpdateParams params, RequestOptions requestOptions)
-
update
Provider update(ProviderUpdateParams params)
-
update
abstract Provider update(ProviderUpdateParams params, RequestOptions requestOptions)
-
list
ProviderListResponse list()
List configured provider integrations for the current workspace. Supports cursor-based pagination.
-
list
abstract ProviderListResponse list(ProviderListParams params, RequestOptions requestOptions)
-
list
ProviderListResponse list(ProviderListParams params)
-
list
ProviderListResponse list(RequestOptions requestOptions)
-
delete
Unit delete(String id)
Delete a provider configuration. Returns 409 if the provider is still referenced by routing or notifications.
-
delete
Unit delete(String id, ProviderDeleteParams params, RequestOptions requestOptions)
-
delete
Unit delete(String id, ProviderDeleteParams params)
-
delete
abstract Unit delete(ProviderDeleteParams params, RequestOptions requestOptions)
-
delete
Unit delete(ProviderDeleteParams params)
-
delete
Unit delete(String id, RequestOptions requestOptions)
-
-
-
-