public interface TimePoliciesResource
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
create(TimePolicyRepresentation representation) |
TimePolicyResource |
findById(String id) |
TimePolicyRepresentation |
findByName(String name) |
@POST @Consumes(value="application/json") @Produces(value="application/json") javax.ws.rs.core.Response create(TimePolicyRepresentation representation)
@Path(value="{id}") TimePolicyResource findById(@PathParam(value="id") String id)
@Path(value="/search") @GET @Produces(value="application/json") TimePolicyRepresentation findByName(@QueryParam(value="name") String name)
Copyright © 2021 JBoss by Red Hat. All rights reserved.