|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ImageApi
Provides access to the Image management features.
| Method Summary | |
|---|---|
void |
delete(int id)
Deletes an existing image. |
void |
delete(String slug)
Deletes an existing image. |
Image |
get(int id)
Gets the details of the given image. |
Image |
get(String slug)
Gets the details of the given image. |
List<Image> |
list()
Lists all available images. |
int |
transfer(int id,
int regionId)
Transfers the image to the given region. |
int |
transfer(String slug,
int regionId)
Transfers the image to the given region. |
| Methods inherited from interface java.io.Closeable |
|---|
close |
| Method Detail |
|---|
List<Image> list()
@Nullable Image get(int id)
Note that Image IDs can change. The recommended way to get an image is using the get(String) method.
id - The id of the image to get.
null if no image exists with the given id.get(String)@Nullable Image get(String slug)
slug - The slug of the image to get.
null if no image exists with the given slug.get(int)void delete(int id)
id - The id of the key pair.void delete(String slug)
slug - The slug of the key pair.
int transfer(int id,
int regionId)
id - The id of the image to transfer.regionId - The id of the region to which the image will be transferred.
transfer(String, int)
int transfer(String slug,
int regionId)
slug - The slug of the image to transfer.regionId - The id of the region to which the image will be transferred.
transfer(int, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||