Package io.imagekit.models.assets
Class AssetListResponse
-
- All Implemented Interfaces:
public final class AssetListResponseObject containing details of a file or file version.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceAssetListResponse.VisitorAn interface that defines how to map each variant of AssetListResponse to a value of type T.
-
Method Summary
Modifier and Type Method Description final Optional<File>file()Object containing details of a file or file version. final Optional<Folder>folder()final BooleanisFile()final BooleanisFolder()final FileasFile()Object containing details of a file or file version. final FolderasFolder()final Optional<JsonValue>_json()final <T extends Any> Taccept(AssetListResponse.Visitor<T> visitor)final AssetListResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AssetListResponseofFile(File file)Object containing details of a file or file version. final static AssetListResponseofFolder(Folder folder)-
-
Method Detail
-
accept
final <T extends Any> T accept(AssetListResponse.Visitor<T> visitor)
-
validate
final AssetListResponse validate()
-
ofFile
final static AssetListResponse ofFile(File file)
Object containing details of a file or file version.
-
ofFolder
final static AssetListResponse ofFolder(Folder folder)
-
-
-
-