Package org.openstack4j.api.senlin
Interface SenlinReceiverService
-
- All Known Implementing Classes:
SenlinReceiverServiceImpl
public interface SenlinReceiverService
This interface defines all methods for the manipulation of Receiver- Author:
- lion
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Receiver
create(ReceiverCreate newReceiver)
POST /v1/receivers
ActionResponse
delete(String receiverID)
Deletes the specifiedReceiver
from the server.Receiver
get(String receiverID)
returns details of aReceiver
.List<? extends Receiver>
list()
Gets a list of currently existingReceiver
s.
-
-
-
Method Detail
-
list
List<? extends Receiver> list()
Gets a list of currently existingReceiver
s.- Returns:
- the list of
Receiver
s
-
create
Receiver create(ReceiverCreate newReceiver)
- Parameters:
newReceiver
-ReceiverCreate
object out of which Receiver is to be created- Returns:
- new
Receiver
as returned from the server
-
get
Receiver get(String receiverID)
returns details of aReceiver
.- Parameters:
receiverID
- Id ofReceiver
-
delete
ActionResponse delete(String receiverID)
Deletes the specifiedReceiver
from the server.- Parameters:
receiverID
- Id ofReceiver
- Returns:
- the action response
-
-