public interface FlavorApi
| Modifier and Type | Method and Description | 
|---|---|
| Flavor | create(Flavor flavor)Create flavor according to the provided object | 
| void | delete(String id)Delete flavor with a given id | 
| Flavor | get(String id)List details of the specified flavor | 
| PagedIterable<Resource> | list()List all flavors (IDs, names, links) | 
| PaginatedCollection<Resource> | list(PaginationOptions options) | 
| PagedIterable<Flavor> | listInDetail()List all flavors (all details) | 
| PaginatedCollection<Flavor> | listInDetail(PaginationOptions options) | 
@Named(value="flavor:list") PagedIterable<Resource> list()
@Named(value="flavor:list") PaginatedCollection<Resource> list(PaginationOptions options)
@Named(value="flavor:list") PagedIterable<Flavor> listInDetail()
@Named(value="flavor:list") PaginatedCollection<Flavor> listInDetail(PaginationOptions options)
@Named(value="flavor:get") @Nullable Flavor get(String id)
id - id of the flavor@Named(value="flavor:create") Flavor create(Flavor flavor)
flavor - - flavor object@Named(value="flavor:delete") void delete(String id)
id - - flavor idCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.