Class PluginUpdateParams.Body
-
- All Implemented Interfaces:
public final class PluginUpdateParams.BodyServe one of the Plugin's stored versions and pin the served version to it.
served_version_idis required and cannot benull.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPluginUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final StringservedVersionId()Serve this version of the Plugin (prefixed pluginver_) and pin the served version to it;latestis not accepted.final JsonField<String>_servedVersionId()Returns the raw JSON value of servedVersionId. final Map<String, JsonValue>_additionalProperties()final PluginUpdateParams.Body.BuildertoBuilder()final PluginUpdateParams.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 PluginUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. final static PluginUpdateParams.Bodyof(String servedVersionId)Returns an immutable instance of Body with the required servedVersionId set to the given value. -
-
Method Detail
-
servedVersionId
final String servedVersionId()
Serve this version of the Plugin (prefixed
pluginver_) and pin the served version to it;latestis not accepted.
-
_servedVersionId
final JsonField<String> _servedVersionId()
Returns the raw JSON value of servedVersionId.
Unlike servedVersionId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PluginUpdateParams.Body.Builder toBuilder()
-
validate
final PluginUpdateParams.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 PluginUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.servedVersionId()
-
of
final static PluginUpdateParams.Body of(String servedVersionId)
Returns an immutable instance of Body with the required servedVersionId set to the given value.
-
-
-
-