Package io.imagekit.models
Class ExtensionItem.SavedExtension
-
- All Implemented Interfaces:
public final class ExtensionItem.SavedExtension
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classExtensionItem.SavedExtension.BuilderA builder for SavedExtension.
-
Method Summary
Modifier and Type Method Description final Stringid()The unique ID of the saved extension to apply. final JsonValue_name()Indicates this is a reference to a saved extension. final JsonField<String>_id()Returns the raw JSON value of id. final Map<String, JsonValue>_additionalProperties()final ExtensionItem.SavedExtension.BuildertoBuilder()final ExtensionItem.SavedExtensionvalidate()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.SavedExtension.Builderbuilder()Returns a mutable builder for constructing an instance of SavedExtension. -
-
Method Detail
-
_name
final JsonValue _name()
Indicates this is a reference to a saved extension.
Expected to always return the following:
JsonValue.from("saved-extension")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ExtensionItem.SavedExtension.Builder toBuilder()
-
validate
final ExtensionItem.SavedExtension 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.SavedExtension.Builder builder()
Returns a mutable builder for constructing an instance of SavedExtension.
The following fields are required:
.id()
-
-
-
-