Class PluginMarketplaceUpdateParams.Body
-
- All Implemented Interfaces:
public final class PluginMarketplaceUpdateParams.BodyThe plugin marketplace's default installation setting: its one settable field. Once a marketplace has a default it keeps one, so
nullis refused.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPluginMarketplaceUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final PluginMarketplaceUpdateParams.DefaultInstallationPreferencedefaultInstallationPreference()The organization-wide installation setting every Plugin in the marketplace without one of its own gets: one of required,auto_install,available,not_available.final JsonField<PluginMarketplaceUpdateParams.DefaultInstallationPreference>_defaultInstallationPreference()Returns the raw JSON value of defaultInstallationPreference. final Map<String, JsonValue>_additionalProperties()final PluginMarketplaceUpdateParams.Body.BuildertoBuilder()final PluginMarketplaceUpdateParams.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 PluginMarketplaceUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. final static PluginMarketplaceUpdateParams.Bodyof(PluginMarketplaceUpdateParams.DefaultInstallationPreference defaultInstallationPreference)Returns an immutable instance of Body with the required defaultInstallationPreference set to the given value. -
-
Method Detail
-
defaultInstallationPreference
final PluginMarketplaceUpdateParams.DefaultInstallationPreference defaultInstallationPreference()
The organization-wide installation setting every Plugin in the marketplace without one of its own gets: one of
required,auto_install,available,not_available. Once set it can be changed but not removed.
-
_defaultInstallationPreference
final JsonField<PluginMarketplaceUpdateParams.DefaultInstallationPreference> _defaultInstallationPreference()
Returns the raw JSON value of defaultInstallationPreference.
Unlike defaultInstallationPreference, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PluginMarketplaceUpdateParams.Body.Builder toBuilder()
-
validate
final PluginMarketplaceUpdateParams.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 PluginMarketplaceUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.defaultInstallationPreference()
-
of
final static PluginMarketplaceUpdateParams.Body of(PluginMarketplaceUpdateParams.DefaultInstallationPreference defaultInstallationPreference)
Returns an immutable instance of Body with the required defaultInstallationPreference set to the given value.
-
-
-
-