Class ProviderUpdateParams.Body
-
- All Implemented Interfaces:
public final class ProviderUpdateParams.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).
-
-
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()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ProviderUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ProviderUpdateParams.Body.Builder toBuilder()
-
validate
final ProviderUpdateParams.Body validate()
-
builder
final static ProviderUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.provider()
-
-
-
-