Package io.imagekit.models
Class ExtensionItem.RemoveBg
-
- All Implemented Interfaces:
public final class ExtensionItem.RemoveBg
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classExtensionItem.RemoveBg.BuilderA builder for RemoveBg.
public final classExtensionItem.RemoveBg.Options
-
Method Summary
Modifier and Type Method Description final JsonValue_name()Specifies the background removal extension. final Optional<ExtensionItem.RemoveBg.Options>options()final JsonField<ExtensionItem.RemoveBg.Options>_options()Returns the raw JSON value of options. final Map<String, JsonValue>_additionalProperties()final ExtensionItem.RemoveBg.BuildertoBuilder()final ExtensionItem.RemoveBgvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ExtensionItem.RemoveBg.Builderbuilder()Returns a mutable builder for constructing an instance of RemoveBg. -
-
Method Detail
-
_name
final JsonValue _name()
Specifies the background removal extension.
Expected to always return the following:
JsonValue.from("remove-bg")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
options
final Optional<ExtensionItem.RemoveBg.Options> options()
-
_options
final JsonField<ExtensionItem.RemoveBg.Options> _options()
Returns the raw JSON value of options.
Unlike options, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ExtensionItem.RemoveBg.Builder toBuilder()
-
validate
final ExtensionItem.RemoveBg 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 ExtensionItem.RemoveBg.Builder builder()
Returns a mutable builder for constructing an instance of RemoveBg.
-
-
-
-