Class Provider
-
- All Implemented Interfaces:
public final class ProviderA configured provider in the workspace.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classProvider.BuilderA builder for Provider.
public final classProvider.SettingsProvider-specific settings (snake_case keys on the wire).
-
Method Summary
Modifier and Type Method Description final Stringid()A unique identifier for the provider configuration. final Longcreated()Unix timestamp (ms) of when the provider was created. final Stringprovider()The provider key (e.g. final Provider.Settingssettings()Provider-specific settings (snake_case keys on the wire). final Stringtitle()Display title. final Optional<String>alias()Optional alias for this configuration. final Optional<Long>updated()Unix timestamp (ms) of when the provider was last updated. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_created()Returns the raw JSON value of created. final JsonField<String>_provider()Returns the raw JSON value of provider. final JsonField<Provider.Settings>_settings()Returns the raw JSON value of settings. final JsonField<String>_title()Returns the raw JSON value of title. final JsonField<String>_alias()Returns the raw JSON value of alias. final JsonField<Long>_updated()Returns the raw JSON value of updated. final Map<String, JsonValue>_additionalProperties()final Provider.BuildertoBuilder()final Providervalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Provider.Builderbuilder()Returns a mutable builder for constructing an instance of Provider. -
-
Method Detail
-
settings
final Provider.Settings settings()
Provider-specific settings (snake_case keys on the wire).
-
title
final String title()
Display title. Defaults to "Default Configuration" when not explicitly set.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_created
final JsonField<Long> _created()
Returns the raw JSON value of created.
Unlike created, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_settings
final JsonField<Provider.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.
-
_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.
-
_updated
final JsonField<Long> _updated()
Returns the raw JSON value of updated.
Unlike updated, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Provider.Builder toBuilder()
-
builder
final static Provider.Builder builder()
Returns a mutable builder for constructing an instance of Provider.
The following fields are required:
.id() .created() .provider() .settings() .title()
-
-
-
-