public interface FlavorApi
Flavor
Modifier and Type | Method and Description |
---|---|
Flavor |
get(int flavorId)
Returns a Flavor by id.
|
com.google.common.collect.FluentIterable<Flavor> |
list()
Returns a summary list of Flavors.
|
com.google.common.collect.FluentIterable<Flavor> |
list(String accountId)
Returns a list of Flavors by Account ID (Tenant Id).
|
@Named(value="flavor:list") @GET @Path(value="/flavors") @Consumes(value="application/json") com.google.common.collect.FluentIterable<Flavor> list()
@Named(value="flavors:get/{id}") @GET @Path(value="/flavors/{id}") @Consumes(value="application/json") Flavor get(@PathParam(value="id") int flavorId)
flavorId
- The id of the Flavor.@Named(value="flavors:get/{id}") @GET @Path(value="/flavors/{id}") @Consumes(value="application/json") com.google.common.collect.FluentIterable<Flavor> list(@PathParam(value="id") String accountId)
flavorId
- The id of the tenant.Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.