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