Class ProviderUpdateParams
-
- All Implemented Interfaces:
-
com.courier.core.Params
public final class ProviderUpdateParams implements Params
Update an existing provider configuration. The
providerkey is required. All other fields are optional — omitted fields are cleared from the stored configuration (this is a full replacement, not a partial merge).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProviderUpdateParams.BuilderA builder for ProviderUpdateParams.
public final classProviderUpdateParams.BodyRequest body for updating an existing provider configuration. The
providerkey is required. All other fields are optional — omitted fields are cleared from the stored configuration (this is a full replacement, not a partial merge).public final classProviderUpdateParams.SettingsProvider-specific settings (snake_case keys). Replaces the full settings object — omitted settings fields are removed. Use the catalog endpoint to check required fields.
-
Method Summary
Modifier and Type Method Description final Optional<String>id()final Stringprovider()The provider key identifying the type. final Optional<String>alias()Updated alias. final Optional<ProviderUpdateParams.Settings>settings()Provider-specific settings (snake_case keys). final Optional<String>title()Updated display title. final JsonField<String>_provider()Returns the raw JSON value of provider. final JsonField<String>_alias()Returns the raw JSON value of alias. final JsonField<ProviderUpdateParams.Settings>_settings()Returns the raw JSON value of settings. final JsonField<String>_title()Returns the raw JSON value of title. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final ProviderUpdateParams.BuildertoBuilder()final ProviderUpdateParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProviderUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of ProviderUpdateParams. -
-
Method Detail
-
settings
final Optional<ProviderUpdateParams.Settings> settings()
Provider-specific settings (snake_case keys). Replaces the full settings object — omitted settings fields are removed. Use the catalog endpoint to check required fields.
-
_provider
final JsonField<String> _provider()
Returns the raw JSON value of provider.
Unlike provider, this method doesn't throw if the JSON field has an unexpected type.
-
_alias
final JsonField<String> _alias()
Returns the raw JSON value of alias.
Unlike alias, this method doesn't throw if the JSON field has an unexpected type.
-
_settings
final JsonField<ProviderUpdateParams.Settings> _settings()
Returns the raw JSON value of settings.
Unlike settings, this method doesn't throw if the JSON field has an unexpected type.
-
_title
final JsonField<String> _title()
Returns the raw JSON value of title.
Unlike title, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final ProviderUpdateParams.Builder toBuilder()
-
_body
final ProviderUpdateParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static ProviderUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of ProviderUpdateParams.
The following fields are required:
.provider()
-
-
-
-