Class ProviderUpdateParams.Body
-
- All Implemented Interfaces:
public final class ProviderUpdateParams.BodyRequest body for replacing an existing provider configuration. The
providerkey is required because it determines which provider-specific settings schema is validated against. Changing the provider type for an existing configuration is not supported. 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.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description 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>_additionalProperties()final ProviderUpdateParams.Body.BuildertoBuilder()final ProviderUpdateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProviderUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
provider
final String provider()
The provider key identifying the type. Required on every request because it selects the provider-specific settings schema for validation.
-
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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ProviderUpdateParams.Body.Builder toBuilder()
-
validate
final ProviderUpdateParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ProviderUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.provider()
-
-
-
-