Package io.imagekit.models.files
Class UpdateFileRequest.UpdateFileDetails.RemoveAiTags
-
- All Implemented Interfaces:
public final class UpdateFileRequest.UpdateFileDetails.RemoveAiTagsAn array of AITags associated with the file that you want to remove, e.g.
["car", "vehicle", "motorsports"].If you want to remove all AITags associated with the file, send a string - "all".
Note: The remove operation for
AITagsexecutes before any of theextensionsare processed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceUpdateFileRequest.UpdateFileDetails.RemoveAiTags.VisitorAn interface that defines how to map each variant of RemoveAiTags to a value of type T.
-
Method Summary
Modifier and Type Method Description final Optional<List<String>>strings()final Optional<JsonValue>all()final BooleanisStrings()final BooleanisAll()final List<String>asStrings()final JsonValueasAll()final Optional<JsonValue>_json()final <T extends Any> Taccept(UpdateFileRequest.UpdateFileDetails.RemoveAiTags.Visitor<T> visitor)final UpdateFileRequest.UpdateFileDetails.RemoveAiTagsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UpdateFileRequest.UpdateFileDetails.RemoveAiTagsofStrings(List<String> strings)final static UpdateFileRequest.UpdateFileDetails.RemoveAiTagsofAll()-
-
Method Detail
-
accept
final <T extends Any> T accept(UpdateFileRequest.UpdateFileDetails.RemoveAiTags.Visitor<T> visitor)
-
validate
final UpdateFileRequest.UpdateFileDetails.RemoveAiTags validate()
-
ofStrings
final static UpdateFileRequest.UpdateFileDetails.RemoveAiTags ofStrings(List<String> strings)
-
ofAll
final static UpdateFileRequest.UpdateFileDetails.RemoveAiTags ofAll()
-
-
-
-